[yocto] virtual/mesa, virtual/libgl provided by multiple packages

Khem Raj raj.khem at gmail.com
Wed May 28 13:31:36 PDT 2014


On Tue, May 27, 2014 at 3:44 PM, Chris Morgan <chmorgan at gmail.com> wrote:
> Building a custom image with wayland and weston based on core-image,
> seeing issues with virtual/mesa and virtual/libgl being provided by
> multiple packages. Not sure if I'm doing something wrong here, like
> not specifying packages that provide those virtual targets?
>
>

you got to set PREFERRED_PROVIDERS for jpeg and virtual/libgl to be
either mesa or mesa-gl

>
> [cmorgan at localhost build]$ bitbake core-image-cybex
> NOTE: Started PRServer with DBfile:
> /home/cmorgan/projects/yocto_poky/build/cache/prserv.sqlite3, IP:
> 127.0.0.1, PORT: 54426, PID: 13617
> Loading cache: 100%
> |######################################################| ETA:
> 00:00:00
> Loaded 1797 entries from dependency cache.
> Parsing recipes: 100%
> |####################################################| Time: 00:00:00
> Parsing of 1372 .bb files complete (1366 cached, 6 parsed). 1802
> targets, 68 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
> NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
>
> Build Configuration:
> BB_VERSION        = "1.23.1"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Fedora-20"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "beaglebone"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.6+snapshot-20140527"
> TUNE_FEATURES     = "arm armv7a vfp neon"
> TARGET_FPU        = "vfp-neon"
> meta              = "master:f3d62a9eb9c47356e6150fdd55f790c159e620c7"
> meta-bbb          = "master:8318556523a747b7e9c97326bef14922a154e8a2"
> common-bsp        = "master:a070f6898bc354bb4a8ec6c9ce3907452db732b8"
> meta-yocto
> meta-yocto-bsp    = "master:f3d62a9eb9c47356e6150fdd55f790c159e620c7"
> meta-mono         = "master:89fbbf6d6029190f9093b25d6158180607a87ea1"
> meta-oe           = "master:0e7630c31989bec8ac96261b72518f7b505bcdb7"
> meta-cybex        = "master:3d9914ff3252112ab1b5c9cf4d3a1d07344e0e8e"
>
> NOTE: Preparing runqueue
> ERROR: Multiple .bb files are due to be built which each provide
> virtual/mesa (/home/cmorgan/projects/yocto_poky/meta/recipes-graphics/mesa/mesa_9.2.5.bb
> /home/cmorgan/projects/yocto_poky/meta/recipes-graphics/mesa/mesa-gl_9.2.5.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/cmorgan/projects/yocto_poky/meta/recipes-graphics/mesa/mesa_9.2.5.bb
> /home/cmorgan/projects/yocto_poky/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb).
>  This usually means one provides something the other doesn't and should.
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Recipe mesa-gl is trying to create package libegl-mesa which
> was already written by recipe mesa. This will cause corruption, please
> resolve this and only provide the package from one recipe or the other
> or only build one of the recipes.
> ERROR: Function failed: read_subpackage_metadata
> ERROR: Logfile of failure stored in:
> /home/cmorgan/projects/yocto_poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/mesa-gl/2_9.2.5-r0/temp/log.do_package_write_ipk.8631
> ERROR: Task 1194
> (/home/cmorgan/projects/yocto_poky/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb,
> do_package_write_ipk) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2439 tasks of which 2310 didn't need to
> be rerun and 1 failed.
> Waiting for 0 running tasks to finish:
>
> Summary: 1 task failed:
>   /home/cmorgan/projects/yocto_poky/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb,
> do_package_write_ipk
> Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
> [cmorgan at localhost build]$
>
>
> Chris
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list