[yocto] Raspberrypi2 mesa/libgl conflicts

Karsten von Hornbostel kaback at googlemail.com
Fri Sep 18 07:38:24 PDT 2015


I try to build gnuradio-demo-image from meta-sdr for raspberrypi 2 (the new B+).

First i did the kickstart guide for raspberry pi 2 from here:
    https://github.com/Nuand/bladeRF/wiki/Creating-Linux-based-Embedded-System-Images-with-Yocto
and the "bibbake core-image-minimal" went fine.

Then i tried "bitbake gnuradio-demo-image", but there was an ERROR
after "preparing RunQueue". I considered this Error to be not
critical, since the build process starts:

kaback at ThinkPad-T500:~/builds/build/sdr$ bitbake gnuradio-demo-image
Parsing recipes: 100%
|################################################################################################################################################################|
Time: 00:01:36
Parsing of 1705 .bb files complete (0 cached, 1705 parsed). 2202
targets, 101 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.26.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
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
meta-yocto
meta-yocto-bsp    = "fido:b50596d8f6e858e2e733f2d9913a19c6f3cd5863"
meta-oe
meta-filesystems
meta-networking
meta-python       = "fido:6c5bce759e96bede1678264b68131984188904f6"
meta-sdr          = "master:3ca726d7b5cfb8f76cb2765e245f52f42c525155"
meta-raspberrypi  = "fido:b896a7da70dd7a16ba7ffd664f7747cb37e1d142"

NOTE: Preparing RunQueue
ERROR: Multiple .bb files are due to be built which each provide
virtual/mesa (/home/kaback/builds/poky-fido-1.8/meta/recipes-graphics/mesa/mesa_10.4.4.bb
/home/kaback/builds/poky-fido-1.8/meta/recipes-graphics/mesa/mesa-gl_10.4.4.bb).
 This usually means one provides something the other doesn't and should.
ERROR: Multiple .bb files are due to be built which each provide
virtual/libgl (/home/kaback/builds/poky-fido-1.8/meta/recipes-graphics/mesa/mesa_10.4.4.bb
/home/kaback/builds/poky-fido-1.8/meta/recipes-graphics/mesa/mesa-gl_10.4.4.bb).
 This usually means one provides something the other doesn't and should.
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently 2 running tasks (3025 of 6542):

After some time of compiling, another Error rises and compiling stopped
http://pastebin.ca/3163780

ERROR: If the above message is too much, the simpler version is you're
advised to wipe out tmp and rebuild (reusing sstate is fine). That
will likely fix things in most (but not all) cases.
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in:
/home/kaback/builds/build/sdr/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/mesa/2_10.4.4-r0/temp/log.do_packagedata.21868

Since I am new to openembedded/yocto I have no idea whats going wrong.
>From my understanding there are two *.bb files that write libs/files
into the same file/directory.

I googled a bit, but did not find a solution. Please note, that i try
to build for raspberrypi 2 (the new B+), not for the older pi.

Is there any workaround for this error? What can i do to find out the
cause of the error?

Regards,
Karsten



More information about the yocto mailing list