-
Bug
-
Resolution: Fixed
-
Critical
-
Icefish 9.0.0
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.