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

Bug 218208

Summary: media-libs/allegro-4.2.2 fails in eautoreconf
Product: Gentoo Linux Reporter: Erik Zeek <zeekec>
Component: New packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: andoni.zubimendi, drwook, hawking, hind, james.ausmus, jgrimbert, rolipong
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 217647    
Attachments: autoconf output
emerge --info
configure
aclocal.m4

Description Erik Zeek 2008-04-18 04:00:49 UTC
Not sure what the problem is.

>>> Emerging (1 of 3) media-libs/allegro-4.2.2 to /
 * allegro-4.2.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking allegro-4.2.2.tar.gz ;-) ...                                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking allegro-4.2.2.tar.gz to /gentoo/tmp/portage/media-libs/allegro-4.2.2/work
 * Applying allegro-4.2.2-exec-stack.patch ...                                                                                                                               [ ok ]
 * Applying allegro-4.2.2-flags.patch ...                                                                                                                                    [ ok ]
 * Running eautoreconf in '/gentoo/tmp/portage/media-libs/allegro-4.2.2/work/allegro-4.2.2' ...
 * Running autoconf ...                                                                                                                                                      [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /gentoo/tmp/portage/media-libs/allegro-4.2.2/temp/autoconf-22221.out

 *
 * ERROR: media-libs/allegro-4.2.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2569:  Called eautoreconf
 *             environment, line  876:  Called eautoconf
 *             environment, line  819:  Called autotools_run_tool 'autoconf'
 *             environment, line  372:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running autoconf !
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-libs:allegro-4.2.2:20080418-035658.log'.
 * The ebuild environment file is located at '/gentoo/tmp/portage/media-libs/allegro-4.2.2/temp/environment'.
 *
Comment 1 Erik Zeek 2008-04-18 04:01:23 UTC
Created attachment 150126 [details]
autoconf output
Comment 2 Erik Zeek 2008-04-18 04:01:55 UTC
Created attachment 150127 [details]
emerge --info
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2008-04-29 20:23:48 UTC
*** Bug 219724 has been marked as a duplicate of this bug. ***
Comment 4 James Ausmus 2008-05-06 14:32:54 UTC
I'm hitting this one as well, amd64 system, exact same autoconf-xxxx.out file contents.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2008-05-22 18:23:05 UTC
Please attach the configure file from the build directory so I can see where it went off the rails.
Comment 6 Erik Zeek 2008-05-22 18:50:34 UTC
Created attachment 153967 [details]
configure

As requested: configure
Comment 7 Erik Zeek 2008-05-22 18:56:03 UTC
Created attachment 153973 [details]
aclocal.m4

Line 196 is:
AC_MSG_CHECKING(for System V sys/procfs)

It's not inside a function.  Is that allowed?
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2008-05-22 19:14:04 UTC
try replacing that line with:

AC_MSG_CHECKING([for System V sys/procfs])

and see if it works better.
Comment 9 hind 2008-05-31 18:47:30 UTC
WORKAROUND: Since this probably won't be fixed until autoconf-2.62 goes stable, those having problems (like I did) with this package may just mask autoconf-2.62, then allegro compiles just fine with the previous version.
(for reference, I'm on amd64 too)
Comment 10 Tristan Heaven (RETIRED) gentoo-dev 2008-06-01 15:55:37 UTC
Fixed in allegro-4.2.2-r1, thanks.