Tried to build x11-apps/mesa-progs-9.0.0 USE="X vulkan wayland -gles2" and failed: meson setup -Db_lto=false --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/x11-apps/mesa-progs-9.0.0/temp/meson.i686-pc-linux-gnu.x86.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dlibdrm=disabled -Degl=enabled -Dgles1=disabled -Dgles2=disabled -Dglut=disabled -Dosmesa=disabled -Dvulkan=enabled -Dwayland=enabled -Dx11=enabled /var/tmp/portage/x11-apps/mesa-progs-9.0.0/work/mesa-demos-9.0.0 /var/tmp/portage/x11-apps/mesa-progs-9.0.0/work/mesa-demos-9.0.0-abi_x86_32.x86 [some output omitted] Run-time dependency glu found: NO (tried pkgconfig and cmake) ../mesa-demos-9.0.0/meson.build:97:15: ERROR: C header 'GL/glu.h' not found Installing media-libs/glu fixes the build. Reproducible: Always
fwiw it does not seem to actually be using GLU because of: 9.0.0-Disable-things-we-don-t-want.patch (it removes the line that includes glu.h as well) So it's more that it needs to stop checking for it than depend on it.
Please can you attach a full build.log and an emerge --info
Created attachment 891260 [details] build.log mesa-progs-9.0.0
Created attachment 891261 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c7d400cda7e81d361764954da2b872201ec07b commit 36c7d400cda7e81d361764954da2b872201ec07b Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2024-04-21 17:44:25 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2024-04-21 17:46:39 +0000 x11-apps/mesa-progs: Fix disabling dep on libGLU Closes: https://bugs.gentoo.org/930356 Signed-off-by: Matt Turner <mattst88@gentoo.org> .../files/9.0.0-Disable-things-we-don-t-want.patch | 26 ++++++++++++++------- .../files/9999-Disable-things-we-don-t-want.patch | 27 +++++++++++++++------- 2 files changed, 37 insertions(+), 16 deletions(-)