Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 880879

Summary: x11-drivers/nvidia-drivers-525.53: Makefile:373: *** Neither GTK2 nor GTK3 build dependencies found; please check `pkg-config --exists gtk+-3.0`. Stop.
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Ionen Wolkens <ionen>
Status: RESOLVED FIXED    
Severity: normal CC: soap
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

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(-)