Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930356 - x11-apps/mesa-progs-9.0.0 fails to build without media-libs/glu
Summary: x11-apps/mesa-progs-9.0.0 fails to build without media-libs/glu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-21 07:46 UTC by Märt Bakhoff
Modified: 2024-05-20 06:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log mesa-progs-9.0.0 (build.log,5.49 KB, text/x-log)
2024-04-21 13:35 UTC, Märt Bakhoff
Details
emerge --info (emerge-info.txt,6.04 KB, text/plain)
2024-04-21 13:36 UTC, Märt Bakhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Märt Bakhoff 2024-04-21 07:46:29 UTC
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
Comment 1 Ionen Wolkens gentoo-dev 2024-04-21 08:24:20 UTC
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.
Comment 2 Chris Pritchard 2024-04-21 11:35:01 UTC
Please can you attach a full build.log and an emerge --info
Comment 3 Märt Bakhoff 2024-04-21 13:35:55 UTC
Created attachment 891260 [details]
build.log mesa-progs-9.0.0
Comment 4 Märt Bakhoff 2024-04-21 13:36:19 UTC
Created attachment 891261 [details]
emerge --info
Comment 5 Larry the Git Cow gentoo-dev 2024-04-21 17:46:51 UTC
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(-)