weston_6.0.0.bb has multiple egl & mesa DEPENDS

Fixed

Description

Our ported weston 6 recipe (meta-agl-bsp/recipes-graphics/wayland/weston_6.0.0.bb)

does use virtual/mesa in

PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa virtual/libgbm mtdev"

but also virtual/egl

PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl"

 

This works if both are set to mesa, bug fails in case virtual/egl is set differently and then

we can see conflicts:

ERROR: weston-6.0.0-r0.agl_arago_23 do_prepare_recipe_sysroot: The file /usr/lib/libglapi.so.0 is installed by both mesa-gl and ti-sgx-ddk-um, aborting ERROR: weston-6.0.0-r0.agl_arago_23 do_prepare_recipe_sysroot: Function failed: extend_recipe_sysro

 

Upstream solved this in later versions of the recipe by not relying on virtual/mesa but the virtual/egl virtual/libgles2 directly.

Thus apply this solution to our recipe as well.

Environment

None

Activity

Show:

Details

Assignee

Reporter

Fix versions

Labels

Affects versions

Priority

Created April 8, 2020 at 11:10 AM
Updated May 7, 2020 at 3:16 PM
Resolved May 5, 2020 at 9:53 PM

Flag notifications