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

Bug 307775

Summary: =dev-libs/glib-2.20.5-r1 incompatible with >=sys-devel/autoconf-2.64
Product: Gentoo Linux Reporter: Nathan Phillip Brink (binki) (RETIRED) <binki>
Component: [OLD] LibraryAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugzilla.gnome.org/show_bug.cgi?id=591840
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 257596    
Attachments: /tmp/glib-2.20.5-acglib.m4-configure-excerpt.txt

Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-04 15:42:33 UTC
I'm sorry to just post this excerpt of the build log, but I fixed this in my tree and I'm trying to catch my system back up with the portage tree.

``
checking for working do while(0) macros... yes
checking for ISO C99 varargs macros in C... yes
checking for ISO C99 varargs macros in C++... yes
checking for GNUC varargs macros... yes
checking for GNUC visibility attribute... ./configure: line 30513: syntax error: unexpected end of file

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/glib-2.20.5-r1/work/glib-2.20.5/config.log
 * ERROR: dev-libs/glib-2.20.5-r1 failed:
''

The problem is demonstrated in the ./configure excerpt I will attach.

The problem is fixed by http://git.gnome.org/browse/glib/commit/?id=c24f6e55276fac68b08df34b0d350f65afe994d9 . It looks like this problem may only affect people who are selectively unstable rather than completely unstable (glib-2.22* is probably fixed; I checked that glib-2.22.4's acglib.m4 file has the fix). It would be nice if this fix was backported in case if autoconf-2.65 is stablized before glib, I suppose...
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-04 15:45:12 UTC
Created attachment 222039 [details]
/tmp/glib-2.20.5-acglib.m4-configure-excerpt.txt

This ./configure excerpt was post-processed using emac's indentation feature to help me find the problem and to better demonstrate it.

Look for the string ``fiac_compile'' on line 62. That's supposed to be ``fi ac_compile''. There's a newline that's eaten by a ``dnl'' m4 command which is removed in the git commit (linked above).
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-03-22 13:08:41 UTC
glib-2.22 is already stable on amd64/x86, I don't see why we should touch 2.20 versions. See bug 304777
Comment 3 RĂ©mi Cardona (RETIRED) gentoo-dev 2010-03-23 22:23:42 UTC
Closing fixed, please upgrade.

Thanks