[yocto] bitbake meta-toolchain-qt5 fails on Debian 8.1

joël maranhão joel.maranhao at gmail.com
Thu Jun 18 14:02:36 PDT 2015


Hello Yocto project friends,

Trying to build my Qt5 toolchain for Raspberry Pi2 on Yocto fido branch
(first timer).

I am getting the dependency error message below, and it looks like I may
have to simply give up on Debian Wheezy or Jessie (just want to make sure
with you guys before I do). Apparently this works on Ubuntu 14.04 which
requires me to get another machine. So any tips or tricks or way around
this would be great. Note that I absolutely do not need X11 for my project,
but it looks like I do need those libraries to build my toolchain.

THE FAILING COMMAND

    bitbake -v meta-toolchain-qt5

MY ERROR MESSAGE

Configuring packagegroup-core-standalone-sdk-target.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for
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.16122
ERROR: Task 7 (/home/otto/yocto/build/../poky/meta-qt5/recipes-qt/meta/
meta-toolchain-qt5.bb, do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3419 tasks of which 3418 didn't need to be
rerun and 1 failed.
No currently 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 were 2 ERROR messages shown, returning a non-zero exit code.

I was able to narrow it down to this 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

packagegroup-qt5-toolchain-target seems to lift the dependency error.

MY BUILD CONFIGURATION

Build Configuration:
BB_VERSION        = "1.26.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Debian-8.1"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "raspberrypi2"
DISTRO            = "poky"
DISTRO_VERSION    = "1.8"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard vfpv4
cortexa7"
TARGET_FPU        = "vfp-vfpv4-neon"
meta-embarcados
meta-rpi          = "fido:3c1f9a1662bdb0f1a546fa87260a01ad547f7db8"
meta-qt5          = "fido:fc026381545650e10fdd488d5b2a3b2d78f87793"
meta-raspberrypi  = "fido:b896a7da70dd7a16ba7ffd664f7747cb37e1d142"
meta-oe
meta-ruby         = "fido:5b0305d9efa4b5692cd942586fb7aa92dba42d59"
meta
meta-yocto        = "fido:eb4a134a60e3ac26a48379675ad6346a44010339"

I have detailed my attempts on Stackoverflow follow this link :
http://stackoverflow.com/questions/30830053/bitbake-meta-toolchain-qt5-failed-cannot-satisfy-x11-although-feature-was-remov


Happy pointers or advise will be greatly appreciated. Cheers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150618/3406fcb2/attachment.html>


More information about the yocto mailing list