| Message ID | 20260311082523.711109-1-changqing.li@windriver.com |
|---|---|
| State | New |
| Headers | show |
| Series | mesa-tools-native: fix do_compile failure | expand |
On Wed, 11 Mar 2026 at 09:25, Changqing Li via lists.openembedded.org <changqing.li=windriver.com@lists.openembedded.org> wrote: > > Fix do_compile failure: > ../sources/mesa-26.0.1/src/panfrost/lib/kmod/pan_kmod.c:7:10: fatal error: xf86drm.h: No such file or directory > -DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native" > +DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native libdrm-native" This is not seen on the autobuilder, so what is the configuration that triggers it? Alex
On 3/11/26 17:15, Alexander Kanavin wrote: > CAUTION: This email comes from a non Wind River email account! > Do not click links or open attachments unless you recognize the sender and know the content is safe. > > On Wed, 11 Mar 2026 at 09:25, Changqing Li via lists.openembedded.org > <changqing.li=windriver.com@lists.openembedded.org> wrote: >> Fix do_compile failure: >> ../sources/mesa-26.0.1/src/panfrost/lib/kmod/pan_kmod.c:7:10: fatal error: xf86drm.h: No such file or directory >> -DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native" >> +DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native libdrm-native" > This is not seen on the autobuilder, so what is the configuration that > triggers it? It is triggered when DISTRO_FEATURES contains opengl, but not contains "x11 wayland". Now, poky enable opengl x11 wayland by default. //Changqing > Alex
diff --git a/meta/recipes-graphics/mesa/mesa-tools-native.bb b/meta/recipes-graphics/mesa/mesa-tools-native.bb index 50d2f5cbb0..743e3391e9 100644 --- a/meta/recipes-graphics/mesa/mesa-tools-native.bb +++ b/meta/recipes-graphics/mesa/mesa-tools-native.bb @@ -11,7 +11,7 @@ PACKAGECONFIG += "gallium-llvm" # to PACKAGECONFIG like in mesa.inc PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}" -DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native" +DEPENDS += "libclc-native spirv-tools-native spirv-llvm-translator-native libdrm-native" EXTRA_OEMESON += " \ -Dmesa-clc=enabled -Dinstall-mesa-clc=true -Dmesa-clc-bundle-headers=enabled \
Fix do_compile failure: ../sources/mesa-26.0.1/src/panfrost/lib/kmod/pan_kmod.c:7:10: fatal error: xf86drm.h: No such file or directory Signed-off-by: Changqing Li <changqing.li@windriver.com> --- meta/recipes-graphics/mesa/mesa-tools-native.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)