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

Bug 913872

Summary: gui-libs/gtk-4.10.5 fails build, wayland-scanner not found
Product: Gentoo Linux Reporter: shawnbon206
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info '=gui-libs/gtk-4.10.5::gentoo'
emerge -pqv '=gui-libs/gtk-4.10.5::gentoo'

Description shawnbon206 2023-09-08 16:44:56 UTC
Created attachment 870136 [details]
build.log

When attempting to build gui-libs/gtk-4.10.5 meson says Program wayland-scanner found: NO

This is a system that was brought up with the new official binhost. I was using FEATURES=getbinpkg without --with-bdeps and I didn't get wayland-scanner from any other packages earlier in the dependency tree.

The reason my system chose to compile gtk4 is I used cpuid2cpuflags, which enabled CPU_FLAGS_X86=f16c, and !!! The following binary packages have been ignored due to non matching USE: =gui-libs/gtk-4.10.5 -

Below in my steps to reproduce I just used --usepkg-exclude gtk to force it to build.




Steps to reproduce, start with a fresh systemd stage3:

cat << EOF > /etc/portage/binrepos.conf
[gentoobinhost]
priority = 1
sync-uri = https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64
EOF

ACCEPT_KEYWORDS=~amd64 emerge getuto

getuto

eselect profile set default/linux/amd64/17.1/desktop/gnome/systemd

FEATURES=getbinpkg emerge -a --autounmask{,-write,-continue} --usepkg-exclude gtk gtk
Comment 1 shawnbon206 2023-09-08 16:45:49 UTC
Created attachment 870137 [details]
emerge --info '=gui-libs/gtk-4.10.5::gentoo'
Comment 2 shawnbon206 2023-09-08 16:46:19 UTC
Created attachment 870138 [details]
emerge -pqv '=gui-libs/gtk-4.10.5::gentoo'
Comment 3 Larry the Git Cow gentoo-dev 2023-12-21 19:19:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc4cbfdc028f15523fac270c2f170fd6c44a503

commit 5cc4cbfdc028f15523fac270c2f170fd6c44a503
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2023-12-21 19:16:15 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2023-12-21 19:18:39 +0000

    gui-libs/gtk: add missing wayland-scanner build dependency
    
    Closes: https://bugs.gentoo.org/913872
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 gui-libs/gtk/gtk-4.12.4.ebuild | 3 +++
 1 file changed, 3 insertions(+)