From 47bcf0d9df8be47453e3a95e04e97da19c1885a3 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 10 Mar 2026 11:15:44 +0100 Subject: [PATCH] freeglut: return x11 to REQUIRED_DISTRO_FEATURES * depends on libxi causing: ERROR: Nothing PROVIDES 'libxi' (but /OE/build/luneos-nanbield/meta-openembedded/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb DEPENDS on or otherwise requires it) libxi was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'freeglut', 'libxi'] for distros with opengl but without x11 in DISTRO_FEATURES Signed-off-by: Martin Jansa Signed-off-by: Khem Raj Signed-off-by: Gyorgy Sarvari --- meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb b/meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb index 2f4f16589d..e8eccd2c9d 100644 --- a/meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb +++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb @@ -9,8 +9,8 @@ SRC_URI[sha256sum] = "d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f468413 inherit cmake features_check pkgconfig -# depends on virtual/libgl -REQUIRED_DISTRO_FEATURES = "opengl" +# depends on virtual/libgl and libxi +REQUIRED_DISTRO_FEATURES = "opengl x11" PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" PACKAGECONFIG[gles] = "-DFREEGLUT_GLES=ON,-DFREEGLUT_GLES=OFF,"