Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880879 - x11-drivers/nvidia-drivers-525.53: Makefile:373: *** Neither GTK2 nor GTK3 build dependencies found; please check `pkg-config --exists gtk+-3.0`. Stop.
Summary: x11-drivers/nvidia-drivers-525.53: Makefile:373: *** Neither GTK2 nor GTK3 bu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-11 08:02 UTC by Michał Górny
Modified: 2022-11-11 08:27 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,573.64 KB, text/plain)
2022-11-11 08:02 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-11 08:02:54 UTC
Created attachment 830715 [details]
build.log

When testing new kernel against random modules, I get the following error (on top of stage3 with only explicit deps installed):

make -j12 PREFIX=/usr HOST_CC=x86_64-pc-linux-gnu-gcc HOST_LD=x86_64-pc-linux-gnu-ld BUILD_GTK2LIB= NV_USE_BUNDLED_LIBJANSSON=0 NV_VER 
make: Entering directory '/var/tmp/portage/x11-drivers/nvidia-drivers-525.53/work/nvidia-settings/src'
Makefile:373: *** Neither GTK2 nor GTK3 build dependencies found; please check `pkg-config --exists gtk+-3.0`.  Stop.
make: Leaving directory '/var/tmp/portage/x11-drivers/nvidia-drivers-525.53/work/nvidia-settings/src'
Comment 1 Ionen Wolkens gentoo-dev 2022-11-11 08:08:47 UTC
The new logic probably broke USE="static-libs -tools" when gtk+:3 is missing, I'll have a look (disabling static-libs should let it build without gtk+:3 meanwhile).
Comment 2 Larry the Git Cow gentoo-dev 2022-11-11 08:27:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e56b1a9c4d6e692ae1e1be6b7e994c68b1d6c90

commit 4e56b1a9c4d6e692ae1e1be6b7e994c68b1d6c90
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-11 08:22:47 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-11 08:26:31 +0000

    x11-drivers/nvidia-drivers: fix static-libs build without gtk+:3
    
    Closes: https://bugs.gentoo.org/880879
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-drivers/nvidia-drivers/nvidia-drivers-525.53.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)