Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269383 - gnome-base/gnome-control-center-2.24.0.1-r1 fails to build due do unspecified libgnomeui dependency
Summary: gnome-base/gnome-control-center-2.24.0.1-r1 fails to build due do unspecified...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 263417
  Show dependency tree
 
Reported: 2009-05-11 09:33 UTC by drhopfen
Modified: 2009-07-27 00:03 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.info,3.98 KB, text/plain)
2009-05-11 09:33 UTC, drhopfen
Details
build.log (build.log,125.88 KB, text/plain)
2009-05-11 09:34 UTC, drhopfen
Details
Working ebuild including the patches proposed by Marcin (gnome-control-center-2.24.0.1-r2.ebuild,2.87 KB, text/plain)
2009-05-11 11:54 UTC, drhopfen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description drhopfen 2009-05-11 09:33:19 UTC
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
Comment 1 drhopfen 2009-05-11 09:33:41 UTC
Created attachment 190921 [details]
emerge --info
Comment 2 drhopfen 2009-05-11 09:34:58 UTC
Created attachment 190923 [details]
build.log
Comment 3 Marcin Deranek 2009-05-11 09:43:36 UTC
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.
Comment 4 drhopfen 2009-05-11 11:27:22 UTC
(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
Comment 5 Marcin Deranek 2009-05-11 11:38:53 UTC
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).
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-11 11:41:56 UTC
(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.

Comment 7 drhopfen 2009-05-11 11:52:50 UTC
(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)
> 

Comment 8 drhopfen 2009-05-11 11:54:47 UTC
Created attachment 190930 [details]
Working ebuild including the patches proposed by Marcin
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-27 00:03:13 UTC
fixed in 2.14.0.1-r10. Thanks for reporting and pointing to patches.