Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3320

weston_6.0.0.bb has multiple egl & mesa DEPENDS

XMLWordPrintable

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jsmoeller Jan-Simon Moeller
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: