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

Bug 270807

Summary: app-cdr/cdrdao-1.2.3_rc2 fails autoconf: error: possibly undefined macro: AM_GCONF_SOURCE_2
Product: Gentoo Linux Reporter: Duncan <1i5t5.duncan>
Component: Current packagesAssignee: Gentoo Optical Media project <media-optical>
Status: RESOLVED FIXED    
Severity: normal CC: easyWiesi, gentoo, giovanni.bobbio
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Duncan 2009-05-22 09:54:28 UTC
cdrdao-1.2.3_rc2 fails autoconf.  I'm running glibc 2.10.1 but I'm not even getting as far as the bugs (which appear to be for earlier cdrdao versions anyway) reporting that, as I'm failing at autoconf.  Also note that this is with gcc-4.4.0, tho I'm going to try with 4.3.3-r2 (and with more conservative flags) in a bit.  AMD64 no-multilb.  Autoconf 2.13 and 2.63-r1.  Full emerge --info to be attached.

 * Running autoconf ...                    [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /tmp/portage/app-cdr/cdrdao-1.2.3_rc2/temp/autoconf.out

And here's the requested file output, as it's all of 8 lines...

***** autoconf *****
***** PWD: /tmp/portage/app-cdr/cdrdao-1.2.3_rc2/work/cdrdao-1.2.3rc2
***** autoconf

configure.ac:11: error: possibly undefined macro: AM_GCONF_SOURCE_2
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Duncan
Comment 1 Duncan 2009-05-22 10:00:14 UTC
Created attachment 192099 [details]
emerge --info
Comment 2 Duncan 2009-05-22 10:09:59 UTC
Neither gcc 4.3 nor conservative C(XX)FLAGS (only -march=opteron-sse3 -pipe -O2) and null LDFLAGS helped at all.
Comment 3 Sebastian Wiesner 2009-05-22 11:01:08 UTC
Same here. Nothing helped yet.
Comment 4 Vadim 2009-05-22 13:22:05 UTC
Same on ~x86, i confirm this.
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-22 16:12:49 UTC
try:
emerge -1 gconf; emerge -1 cdrdrao
Comment 6 Sebastian Günther 2009-05-22 16:31:33 UTC
(In reply to comment #5)
> try:
> emerge -1 gconf; emerge -1 cdrdrao
> 

Since when gconf is necessary for cdrdao?

Does not build for me me and I don't have gconf installed...
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-22 16:45:41 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > try:
> > emerge -1 gconf; emerge -1 cdrdrao
> > 
> 
> Since when gconf is necessary for cdrdao?

If you take a look at the autoconf files you will see that cdrdao uses an autoconf macro from gconf.

> Does not build for me me and I don't have gconf installed...

That's probably why, then.

This will be fixed properly later. But right now, this is the workaround. And the next person with a glib remark about it will be smacked over the head with a smelly red herring. Capisce?
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-22 20:51:02 UTC
+  22 May 2009; Peter Alfredsen <loki_val@gentoo.org>
+  cdrdao-1.2.3_rc2.ebuild, +files/cdrdao-1.2.3-autoconf-update.patch:
+  Fix bug 270807 by Duncan <1i5t5.duncan@cox.net>. autoreconf needs the
+  gconf-2 macro file even with USE=-gcdmaster. Patched into acinclude.m4.
+

Fixed in CVS. All you heretics without gnome, wait a bit and resync, and it should work. :-)