<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 7 Oct 2019 at 17:57, Mark Hatle <<a href="mailto:mark.hatle@kernel.crashing.org">mark.hatle@kernel.crashing.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I thought this issue was already fixed:<br>
<br>
<a href="http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?h=warrior&id=bb0c9c3abcb935e4b362eb57985e1ee7fec0bfe0" rel="noreferrer" target="_blank">http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?h=warrior&id=bb0c9c3abcb935e4b362eb57985e1ee7fec0bfe0</a><br>
<br></blockquote><div><br></div><div>From the error log: </div><div>> glib-2.58.3<br></div><div><br></div><div>From the commit changelog</div><div>> In glib 2.60.x, it turns selinux into a meson feature.</div><div><br></div><div>That should explain the issue -- maybe oe-core was older than meta-selinux or glib was older for another reason.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
This patch is what specifically adds the enabled/disabled that the system is<br>
saying (in the logs quoted below) is invalid.<br>
<br>
Can you try changing these to 'true' and 'false' instead?<br>
<br>
In the file: classes/meson-enable-selinux.bbclass<br>
<br>
--Mark<br>
<br>
On 10/1/19 1:39 AM, Oriya, Raxesh wrote:<br>
> Hi,<br>
> <br>
> Â <br>
> <br>
> I am getting the below error when I am trying to integrate 'meta-selinux' into<br>
> our yocto solution. This error also happens when I just build<br>
> 'core-image-selinux' by including the required layers in warrior branch. Can<br>
> anyone provide a fix for this..<br>
> <br>
> Â <br>
> <br>
> local.conf contains the following lines:<br>
> <br>
> ---------<br>
> <br>
> DISTRO_FEATURES_append = " acl xattr pam selinux"<br>
> <br>
> PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-mls"<br>
> <br>
> ---------<br>
> <br>
> Â <br>
> <br>
> ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: meson failed<br>
> <br>
> ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: Function failed: do_configure<br>
> (log file is located at<br>
> /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2.58.3-r0/temp/log.do_configure.34545)<br>
> <br>
> ERROR: Logfile of failure stored in:<br>
> /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2.58.3-r0/temp/log.do_configure.34545<br>
> <br>
> Log data follows:<br>
> <br>
> | DEBUG: Executing shell function do_configure<br>
> <br>
> | NOTE: Executing meson -Ddtrace=false -Dfam=false -Dsystemtap=false<br>
> -Dselinux=false -Dlibmount=true -Dman=false -Dselinux=disabled<br>
> -Dinternal_pcre=false -Dinstalled_tests=false...<br>
> <br>
> | The Meson build system<br>
> <br>
> | Version: 0.49.2<br>
> <br>
> | Source dir:<br>
> <br>
> | /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2<br>
> <br>
> | .58.3-r0/glib-2.58.3 Build dir:<br>
> <br>
> | /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2<br>
> <br>
> | .58.3-r0/build<br>
> <br>
> | Build type: native build<br>
> <br>
> |<br>
> <br>
> | meson.build:1:0: ERROR:  Value disabled is not boolean (true or false).<br>
> <br>
> |<br>
> <br>
> | A full log can be found at<br>
> <br>
> | /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2<br>
> <br>
> | .58.3-r0/build/meson-logs/meson-log.txt<br>
> <br>
> | ERROR: meson failed<br>
> <br>
> Â <br>
> <br>
> Thanks,<br>
> <br>
> Raxesh<br>
> <br>
> Â <br>
> <br>
> <br>
-- <br>
_______________________________________________<br>
yocto mailing list<br>
<a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
</blockquote></div></div>