qt - bitbake meta-toolchain-qt5 failed, cannot satisfy x11 although feature was removed -
building qt5 toolchain raspberry pi2 qt apps using yocto fido
see tutorial. build machine nuc debian 7.8.
succeeded build image perfectly, getting error while building toolchain.
my local.conf
, removed x11
feature
machine = "raspberrypi2" license_flags_whitelist="commercial license" distro = "poky" dl_dir = "${topdir}/../dl" package_classes = "package_ipk" distro_features_remove = "x11 wayland" <========= # set rpi gpu memory 128mb gpu_mem = "128"
my bblayers.conf
# layer_conf_version increased each time build/conf/bblayers.conf # changes incompatibly lconf_version = "6" bbpath = "${topdir}" bbfiles ?= "" bblayers ?= " \ ${topdir}/../poky/meta-embarcados \ ${topdir}/../poky/meta-embarcados/meta-rpi \ ${topdir}/../poky/meta-qt5 \ ${topdir}/../poky/meta-raspberrypi \ ${topdir}/../poky/meta-openembedded/meta-oe \ ${topdir}/../poky/meta-openembedded/meta-ruby \ ${topdir}/../poky/meta \ ${topdir}/../poky/meta-yocto \ "
i have tried scratch removing build/tmp
folder no avail, still getting x11
dependency issue although it's removed feature in local.conf
.
error: unable install packages. command '/home/otto/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -f /home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/opkg.conf -o /home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/sdk/image/opt/poky/1.8/sysroots/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi --force_postinstall --prefer-arch-to-version install packagegroup-core-standalone-sdk-target-dbg packagegroup-core-standalone-sdk-target packagegroup-qt5-toolchain-target' returned 255: installing packagegroup-core-standalone-sdk-target-dbg (1.0-r8) on root. downloading file:/home/otto/yocto/build/tmp/deploy/ipk/all/packagegroup-core-standalone-sdk-target-dbg_1.0-r8_all.ipk.
and
configuring glibc-gconv-cp1252. configuring libsegfault. configuring libgcov-dev. configuring glibc-gconv-iso8859-15. configuring glibc-gconv-iso8859-1. configuring packagegroup-core-standalone-sdk-target. collected errors: * satisfy_dependencies_for: cannot satisfy following dependencies packagegroup-qt5-toolchain-target: * libx11-6 (>= 1.6.2) * libxcb1 (>= 1.11) * libxau6 (>= 1.0.8) * libxdmcp6 (>= 1.1.1) * * opkg_install_cmd: cannot install package packagegroup-qt5-toolchain-target. error: function failed: do_populate_sdk error: logfile of failure stored in: /home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/temp/log.do_populate_sdk.26687 error: task 7 (/home/otto/yocto/build/../poky/meta-qt5/recipes-qt/meta/meta-toolchain-qt5.bb, do_populate_sdk) failed exit code '1' note: tasks summary: attempted 3419 tasks of 3418 didn't need rerun , 1 failed. no running tasks (3418 of 3420) summary: 1 task failed: /home/otto/yocto/build/../poky/meta-qt5/recipes-qt/meta/meta-toolchain-qt5.bb, do_populate_sdk summary: there 2 error messages shown, returning non-zero exit code.
any pointers on how resolve this? why still try compile x11
feature when removed?
(votes down ok, comment explaining why voting down better. it's not not trying hard on side resolve critical issue on sunday! there trolls in stackexchange community)
libraries on build machine
this problem, installed version 1.5.0-1+deb7u2
requires >=1.6.2
. doesn't answer question, that's hint.
otto@marvin:~/yocto/build$ apt-cache policy libx11-6 libx11-6: installed: 2:1.5.0-1+deb7u2 candidate: 2:1.5.0-1+deb7u2 version table: *** 2:1.5.0-1+deb7u2 0 500 http://security.debian.org/ wheezy/updates/main amd64 packages 100 /var/lib/dpkg/status 2:1.5.0-1+deb7u1 0 500 http://ftp.us.debian.org/debian/ wheezy/main amd64 packages 500 http://http.debian.net/debian/ wheezy/main amd64 packages otto@marvin:~/yocto/build$ apt-cache policy libxcb1 libxcb1: installed: 1.8.1-2+deb7u1 candidate: 1.8.1-2+deb7u1 version table: 1.10-3~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main amd64 packages *** 1.8.1-2+deb7u1 0 500 http://ftp.us.debian.org/debian/ wheezy/main amd64 packages 500 http://security.debian.org/ wheezy/updates/main amd64 packages 500 http://http.debian.net/debian/ wheezy/main amd64 packages 100 /var/lib/dpkg/status otto@marvin:~/yocto/build$ apt-cache policy libxau6 libxau6: installed: 1:1.0.7-1 candidate: 1:1.0.7-1 version table: *** 1:1.0.7-1 0 500 http://ftp.us.debian.org/debian/ wheezy/main amd64 packages 500 http://http.debian.net/debian/ wheezy/main amd64 packages 100 /var/lib/dpkg/status otto@marvin:~/yocto/build$ apt-cache policy libxdmcp6 libxdmcp6: installed: 1:1.1.1-1 candidate: 1:1.1.1-1 version table: *** 1:1.1.1-1 0 500 http://ftp.us.debian.org/debian/ wheezy/main amd64 packages 500 http://http.debian.net/debian/ wheezy/main amd64 packages 100 /var/lib/dpkg/status
upgraded debian 8.1 problem persists
although libx11-6
, libxau6
, libxdmcp6
satisfy version requirements, 1 library doesn't, , can't install >=1.11
(i think), latest libxcb1
on jessie can get.
otto@marvin:~/yocto$ sudo apt-cache policy libxcb1 libxcb1: installed: 1.10-3+b1 candidate: 1.10-3+b1 version table: *** 1.10-3+b1 0 500 http://ftp.us.debian.org/debian/ jessie/main amd64 packages 500 http://http.debian.net/debian/ jessie/main amd64 packages 100 /var/lib/dpkg/status
the message
configuring packagegroup-core-standalone-sdk-target. collected errors: * satisfy_dependencies_for: cannot satisfy following dependencies packagegroup-qt5-toolchain-target: * libx11-6 (>= 1.6.2) * libxcb1 (>= 1.11) * libxau6 (>= 1.0.8) * libxdmcp6 (>= 1.1.1) * * opkg_install_cmd: cannot install package packagegroup-qt5-toolchain-target. error: function failed: do_populate_sdk error: logfile of failure stored in: /home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/temp/log.do_populate_sdk.12273 error: task 7 (/home/otto/yocto/build/../poky/meta-qt5/recipes-qt/meta/meta-toolchain-qt5.bb, do_populate_sdk) failed exit code '1' note: tasks summary: attempted 3419 tasks of 3418 didn't need rerun , 1 failed. no running tasks (3418 of 3420) summary: 1 task failed: /home/otto/yocto/build/../poky/meta-qt5/recipes-qt/meta/meta-toolchain-qt5.bb, do_populate_sdk summary: there 2 error messages shown, returning non-zero exit code.
identified failing command
/home/otto/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -f /home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/opkg.conf -o /home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/meta-toolchain-qt5/1.0-r0/sdk/image/opt/poky/1.8/sysroots/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi --force_postinstall --prefer-arch-to-version install packagegroup-qt5-toolchain-target
definitely in packagegroup-qt5-toolchain-target
this sounds similar experience had built x11 subsequently turned off distro_features_remove = "x11"
.
as far see there still dependency on x11 somewhere in license manifest, recall there header file used xauth
in pango/cairo
that's stubbed out without x11.
the problem went away when built different machine
, suggest launching fresh build without x11 after clearing sstate_cache
.
Comments
Post a Comment