&引用;介子失败”;在yocto warrior分支中生成核心映像selinux时

&引用;介子失败”;在yocto warrior分支中生成核心映像selinux时,yocto,selinux,meson-build,Yocto,Selinux,Meson Build,在为yocto warrior branch生成核心映像selinux时,我发现以下错误: 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/x

在为yocto warrior branch生成核心映像selinux时,我发现以下错误:

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
| WARNING: exit code 1 from a shell command.
| ERROR: 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)
这就是我所做的:

  • 克隆
    poky
    meta-openembedded
    meta-selinux
    用于warrior branch
  • 运行
    source poky/oe init build env
  • bblayers.conf

    /home/panther2/warrior/meta openembedded/meta python\

    /home/panther2/warrior/meta openembedded/meta oe\

    /home/panther2/warrior/meta selinux\

  • local.conf

    发行版功能\u append=“acl xattr pam selinux” 首选\u提供程序\u虚拟/refpolicy?=“refpolicy mls”

  • 执行了
    比特烘焙核心图像selinux
    并获得上述错误


非常感谢您的帮助,谢谢您抽出时间

它似乎被破坏了,因为它应该包含
PACKAGECONFIG[selinux]=“-Dselinux=true,-Dselinux=false,libselinux,”
bitbake-e核心映像selinux | grep^EXTRA\u oemoson
没有显示任何内容。使用
PACKAGECONFIG[selinux]=“-Dselinux=true,-Dselinux=false,libselinux,
我又遇到了一个错误。i、 e.
ERROR:core-image-selinux-1.0-r0 do_rootfs:Postinstall['busybox']的scriptlet失败。如果打算将它们推迟到第一次启动,请将它们放入pkg_postinst_ontarget_${PN}()。不再支持通过“退出1”延迟到第一次引导。有关失败的详细信息,请参见/home/panther2/warrior/build/tmp glibc/work/qemux86 oe linux/core image selinux/1.0-r0/temp/log.do_rootfs.
新错误,可能与以下修复warrior分支有关。