[yocto] [meta-raspberrypi] mesa & gl problems

Gary Thomas gary at mlbassoc.com
Fri Apr 10 08:11:55 PDT 2015


If I try to use the 'libjpeg-turbo' package from meta-oe
(required to build 'vlc'), I get these errors:

ERROR: Multiple .bb files are due to be built which each provide virtual/libgles2 (/home/local/poky-cutting-edge/meta/recipes-graphics/mesa/mesa_10.4.4.bb 
/home/local/poky-cutting-edge/meta-raspberrypi/recipes-graphics/userland/userland_git.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/mesa (/home/local/poky-cutting-edge/meta/recipes-graphics/mesa/mesa-gl_10.4.4.bb 
/home/local/poky-cutting-edge/meta/recipes-graphics/mesa/mesa_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 jpeg (/home/local/poky-cutting-edge/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.0.bb 
/home/local/poky-cutting-edge/meta/recipes-core/jpeg/jpeg_8d.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/local/poky-cutting-edge/meta/recipes-graphics/mesa/mesa-gl_10.4.4.bb 
/home/local/poky-cutting-edge/meta/recipes-graphics/mesa/mesa_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/egl (/home/local/poky-cutting-edge/meta/recipes-graphics/mesa/mesa_10.4.4.bb 
/home/local/poky-cutting-edge/meta-raspberrypi/recipes-graphics/userland/userland_git.bb).
  This usually means one provides something the other doesn't and should.

This happens when I add these lines to my local.conf:
   PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
   PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"

How do I fix this?

Note: I've successfully done this on many other targets (qemuXXX,
i.MX6) - it's only failing on RaspberryPi

Thanks for any pointers

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list