[yocto] meta-selinux warrior support

Jussi Kukkonen jku at goto.fi
Tue Oct 8 00:02:34 PDT 2019


On Tue, 8 Oct 2019 at 09:59, Jussi Kukkonen <jku at goto.fi> wrote:

>
>
> On Mon, 7 Oct 2019 at 17:57, Mark Hatle <mark.hatle at kernel.crashing.org>
> wrote:
>
>> I thought this issue was already fixed:
>>
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?h=warrior&id=bb0c9c3abcb935e4b362eb57985e1ee7fec0bfe0
>>
>>
> From the error log:
> > glib-2.58.3
>
> From the commit changelog
> > In glib 2.60.x, it turns selinux into a meson feature.
>
> That should explain the issue -- maybe oe-core was older than meta-selinux
> or glib was older for another reason.
>

Actually, poky warrior only has Glib 2.58.3, right? So the meta-selinux
commit makes no sense in Warrior branch?



>
>
>> This patch is what specifically adds the enabled/disabled that the system
>> is
>> saying (in the logs quoted below) is invalid.
>>
>> Can you try changing these to 'true' and 'false' instead?
>>
>> In the file: classes/meson-enable-selinux.bbclass
>>
>> --Mark
>>
>> On 10/1/19 1:39 AM, Oriya, Raxesh wrote:
>> > Hi,
>> >
>> >
>> >
>> > I am getting the below error when I am trying to integrate
>> 'meta-selinux' into
>> > our yocto solution. This error also happens when I just build
>> > 'core-image-selinux' by including the required layers in warrior
>> branch. Can
>> > anyone provide a fix for this..
>> >
>> >
>> >
>> > local.conf contains the following lines:
>> >
>> > ---------
>> >
>> > DISTRO_FEATURES_append = " acl xattr pam selinux"
>> >
>> > PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-mls"
>> >
>> > ---------
>> >
>> >
>> >
>> > ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: meson failed
>> >
>> > ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: Function failed:
>> do_configure
>> > (log file is located at
>> >
>> /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2.58.3-r0/temp/log.do_configure.34545)
>> >
>> > ERROR: Logfile of failure stored in:
>> >
>> /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2.58.3-r0/temp/log.do_configure.34545
>> >
>> > Log data follows:
>> >
>> > | DEBUG: Executing shell function do_configure
>> >
>> > | NOTE: Executing meson -Ddtrace=false -Dfam=false -Dsystemtap=false
>> > -Dselinux=false -Dlibmount=true -Dman=false -Dselinux=disabled
>> > -Dinternal_pcre=false -Dinstalled_tests=false...
>> >
>> > | The Meson build system
>> >
>> > | Version: 0.49.2
>> >
>> > | Source dir:
>> >
>> > | /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2
>> >
>> > | .58.3-r0/glib-2.58.3 Build dir:
>> >
>> > | /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2
>> >
>> > | .58.3-r0/build
>> >
>> > | Build type: native build
>> >
>> > |
>> >
>> > | meson.build:1:0: ERROR:  Value disabled is not boolean (true or
>> false).
>> >
>> > |
>> >
>> > | A full log can be found at
>> >
>> > | /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2
>> >
>> > | .58.3-r0/build/meson-logs/meson-log.txt
>> >
>> > | ERROR: meson failed
>> >
>> >
>> >
>> > Thanks,
>> >
>> > Raxesh
>> >
>> >
>> >
>> >
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20191008/aed17af8/attachment.html>


More information about the yocto mailing list