Hello Experts,
I'm currently working on a Yocto project for the RZ/G2M board, specifically preparing the core-image-weston.Using VLP v3.0.6
core-image-weston
I have also added the RZ MPU HTML5 (Gecko) Package for Verified Linux Packages [5.10-CIP] as per the user guide. During the build, I encountered the following error:
ERROR: Nothing PROVIDES 'virtual/libgl' (but /home/rzg-v3.0.6/build/../poky/meta/recipes-graphics/clutter/clutter-1.0_1.26.2.bb, /home/rzg-v3.0.6/build/../poky/meta/recipes-graphics/cairo/cairo_1.16.0.bb, /home/rzg-v3.0.6/build/../poky/meta/recipes-graphics/libepoxy/libepoxy_1.5.4.bb DEPENDS on or otherwise requires it) mesa PROVIDES virtual/libgl but was skipped: PREFERRED_PROVIDER_virtual/libgbm set to libgbm, not mesa ERROR: Nothing RPROVIDES 'libgl' (but /home/rzg-v3.0.6/build/../poky/meta/recipes-gnome/gtk+/gtk+3_3.24.14.bb, /home/rzg-v3.0.6/build/../poky/meta/recipes-graphics/cogl/cogl-1.0_1.22.4.bb RDEPENDS on or otherwise requires it) ERROR: Required build target 'core-image-weston' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-weston', 'clutter-1.0-examples', 'gtk+3', 'libgl']
Here are the relevant parts of my local.conf:
local.conf
# Enable Wayland and disable X11 DISTRO_FEATURES_append = " wayland x11" #DISTRO_FEATURES_remove = " x11" #IMAGE_FEATURES_append = " x11" DISTRO_FEATURES_append = " virtualization" # For Wayland/Weston DISTRO_FEATURES_NATIVESDK_append = " wayland" DISTRO_FEATURES_append = " pam" PREFERRED_PROVIDER_virtual/libgles1 = "" PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module" PREFERRED_PROVIDER_virtual/egl = "libegl" PREFERRED_PROVIDER_virtual/libgl = "" PREFERRED_PROVIDER_virtual/mesa = "" PREFERRED_PROVIDER_libgbm = "libgbm" PREFERRED_PROVIDER_libgbm-dev = "libgbm" BBMASK .= "|mesa-gl"
I've tried configuring the provider settings as shown above, but the build still fails with the errors.
Could anyone provide insights or suggestions on how to resolve this issue?
Specifically, I'm unsure if the PREFERRED_PROVIDER settings are correctly configured or if there's another step I should take to ensure the dependencies are properly met.
PREFERRED_PROVIDER
Hi Sid,
Look like you have used a wrong version of HTML5 Gecko package.You should use the correct version that matches with VLP 3.0.6 (or wait for that package if not available yet).
The error you met above is that virtual/libgl is not available, thus causes issue in some software dependency chain.This happens because G2M GPU library does not provide OpenGL function, only support OpenGLES.
Hi Thanks for the quick response.
Here, I'm sharing the packages that are currently in use.
VLP package: RTK0EF0045Z0021AZJ-v3.0.6-update3.zip
Multimedia package (Unrestricted version) : RTK0EF0045Z0023AZJ-v1.0.2_EN.zip
HTML (Gecko) package: RTK0EF0045Z40001ZJ_v2.1.1.zip