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

Bug 568284

Summary: >=gnome-base/gnome-desktop-3: fails to build with x11-libs/gtk+:3[-X]
Product: Gentoo Linux Reporter: guileone <guileone>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=739463
See Also: https://bugs.gentoo.org/show_bug.cgi?id=834796
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
maynard.ebuild from repository leio

Description guileone 2015-12-14 22:03:59 UTC
Created attachment 419214 [details]
build.log

raspberry pi 2:
on attempt as dependency of maynard 
emerge -av gnome-desktop fail
Comment 1 guileone 2015-12-14 22:05:16 UTC
Created attachment 419216 [details]
emerge --info
Comment 2 Pacho Ramos gentoo-dev 2015-12-15 10:58:06 UTC
The header is provided by x11-libs/gtk+ package... it's really strange that you don't have that package installed :/, it's properly listed in the dependencies of the package

I wonder if -O3 or -mfloat-abi=hard could cause this kind of issue :|
Comment 3 guileone 2015-12-15 17:24:19 UTC
Created attachment 419284 [details]
maynard.ebuild from repository leio
Comment 4 guileone 2015-12-15 17:25:59 UTC
thanks after installing gtk+ install completed
maybe addition maynard ebuild not correct calculation all
necessary dependency
Comment 5 Pacho Ramos gentoo-dev 2015-12-16 11:10:26 UTC
The deps are properly set in gnome-desktop ebuilds and it should be enough :/
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-12-29 08:30:47 UTC
Actually, that header is only installed with USE=X so maybe you enabled that USE flag after you reported this problem ?
Comment 7 Mart Raudsepp gentoo-dev 2016-01-03 05:48:29 UTC
We should probably then USE dep on gtk+:3[X] for the time being and keep this tracked to solve later on as upstream bug 739463 is handled (might want to poke them there or something).
The issue upstream would be that by disabling it in an easy way would mean changing the API (granted, it's behind its typical UNSTABLE_API define) as all parts of that API are currently implemented only in X, and some of it doesn't even make sense for Wayland.
Theoretically we could do it downstream behind a USE=X on gnome-desktop, which if not present patches out that API or include or aspects of it or whatever, and have things that require that API depend on gnome-desktop[X] and not work under Wayland, but doesn't sound worth the trouble. Though pure wayland only builds with no X libs installed at all is becoming increasingly possible for certain use cases and might be good to look into that, given the manpower - to be a bleeding edge distro once again.
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2016-01-03 14:56:51 UTC
I added the dependency for now, if someone has time for a patch, I'll gladly apply it in a revbump.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae787250876340b07d0bdb0884594ae6827daad