gnome-control-center fails to build Reproducible: always Way to reproduce: emerge gnome-control-center Actual results: failing ebuild, see attachment for results Expected results: working ebuild
Created attachment 190921 [details] emerge --info
Created attachment 190923 [details] build.log
Debian again came across the very same problem: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524308 Patch1 (fixes above problem): http://patch-tracking.debian.net/patch/series/dl/control-center/1:2.24.0.1-5/02_build_libgnome.patch Patch2 (Gnome 2.26 compatibility problem): http://patch-tracking.debian.net/patch/series/dl/control-center/1:2.24.0.1-5/06_gnomedesktop_api.patch After applying both patches gnome-control-center builds just fine on ~amd64.
(In reply to comment #3) > Debian again came across the very same problem: >... > After applying both patches gnome-control-center builds just fine on ~amd64. > Unfortunatly I can't confirm the solution. The patches apply well but the build still crashes with missing includes: In file included from capplet-util.c:35: capplet-util.h:28:19: error: gnome.h: No such file or directory capplet-util.h:29:25: error: gconf/gconf.h: No such file or directory capplet-util.h:30:35: error: gconf/gconf-changeset.h: No such file or directory Also adding gnome-libs/libgnomeui to the deps won't fix the problem
You also need to modify the ebuild: Add 'autotools' to inherit statement and 'eautoreconf' the the end of src_prepare(). Look at gnome-control-center-2.26.0.ebuild as an example (currently masked).
(In reply to comment #5) > You also need to modify the ebuild: > > Add 'autotools' to inherit statement and 'eautoreconf' the the end of > src_prepare(). Look at gnome-control-center-2.26.0.ebuild as an example > (currently masked). > unmasked. I goofed when writing the gnome-desktop mask. I have now unmasked everything that was waiting for gnome-desktop so the simple upgrade to 2.26 of gnome-control-center will fix this. I'd be happy to know about if the 2.24 fix works though as we might want to integrate it anyway to ease migration.
(In reply to comment #6) > (In reply to comment #5) > > You also need to modify the ebuild: > > > > Add 'autotools' to inherit statement and 'eautoreconf' the the end of > > src_prepare(). Look at gnome-control-center-2.26.0.ebuild as an example > > (currently masked). > > > unmasked. I goofed when writing the gnome-desktop mask. I have now unmasked > everything that was waiting for gnome-desktop so the simple upgrade to 2.26 of > gnome-control-center will fix this. I'd be happy to know about if the 2.24 fix > works though as we might want to integrate it anyway to ease migration. The hint of Marcin in comment #5 worked well for me. See attachment for working ebuild. (I'm not a dev so it might be improved) >
Created attachment 190930 [details] Working ebuild including the patches proposed by Marcin
fixed in 2.14.0.1-r10. Thanks for reporting and pointing to patches.