Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420599 - www-servers/lighttpd-1.4.31 build failure with sys-devel/automake-1.12.1
Summary: www-servers/lighttpd-1.4.31 build failure with sys-devel/automake-1.12.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: automake-1.12
  Show dependency tree
 
Reported: 2012-06-10 23:22 UTC by eroen
Modified: 2012-06-23 08:59 UTC (History)
4 users (show)

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


Attachments
aclocal.out (file_420599.txt,737 bytes, text/plain)
2012-06-10 23:24 UTC, eroen
Details
emerge --info '=www-servers/lighttpd-1.4.31' (file_420599.txt,6.66 KB, text/plain)
2012-06-10 23:26 UTC, eroen
Details
lighttpd automake patch fix (lighttpd-1.4.31-automake.patch,423 bytes, patch)
2012-06-14 09:47 UTC, Yixun Lan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2012-06-10 23:22:20 UTC
Lighttpd fails to build if sys-devel/automake-1.12.1 is present.

Reproducible: Always

Steps to Reproduce:
1. emerge =automake-1.12.1
2. emerge =lighttpd-1.4.31
Actual Results:  
build.log:
 * Package:    www-servers/lighttpd-1.4.31
 * Repository: gentoo
 * Maintainer: wired@gentoo.org hwoarang@gentoo.org
 * USE:        amd64 bzip2 elibc_glibc fam gdbm ipv6 kernel_linux multilib pcre php ssl userland_GNU xattr zlib
 * FEATURES:   preserve-libs sandbox usersandbox
>>> Unpacking source...
>>> Unpacking lighttpd-1.4.31.tar.bz2 to /tmp/portage/www-servers/lighttpd-1.4.31/work
>>> Source unpacked in /tmp/portage/www-servers/lighttpd-1.4.31/work
>>> Preparing source in /tmp/portage/www-servers/lighttpd-1.4.31/work/lighttpd-1.4.31 ...
 * Running eautoreconf in '/tmp/portage/www-servers/lighttpd-1.4.31/work/lighttpd-1.4.31' ...
 * Running libtoolize --install --copy --force --automake ...            [ ok ]
 * Running aclocal -I m4 ...                                             [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /tmp/portage/www-servers/lighttpd-1.4.31/temp/aclocal.out

 * ERROR: www-servers/lighttpd-1.4.31 failed (prepare phase):
 *   Failed Running aclocal !
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 3613:  Called eautoreconf
 *   environment, line  981:  Called eaclocal
 *   environment, line  888:  Called autotools_run_tool '--at-m4flags' 'aclocal' '-I' 'm4'
 *   environment, line  621:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 
 * If you need support, post the output of `emerge --info '=www-servers/lighttpd-1.4.31'`,
 * the complete build log and the output of `emerge -pqv '=www-servers/lighttpd-1.4.31'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 214: wait: `Failed Running aclocal !': not a pid or valid job spec
 * The complete build log is located at '/tmp/portage/www-servers/lighttpd-1.4.31/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/www-servers/lighttpd-1.4.31/temp/environment'.
 * Working directory: '/tmp/portage/www-servers/lighttpd-1.4.31/work/lighttpd-1.4.31'
 * S: '/tmp/portage/www-servers/lighttpd-1.4.31/work/lighttpd-1.4.31'

Expected Results:  
Successful install of lighttpd.

Unmerging automake-1.12.1 (so that highest present automake is 1.11.5) results in a successful build.
Comment 1 eroen 2012-06-10 23:24:35 UTC
Created attachment 314915 [details]
aclocal.out
Comment 2 eroen 2012-06-10 23:26:35 UTC
Created attachment 314917 [details]
emerge --info '=www-servers/lighttpd-1.4.31'
Comment 4 Yixun Lan archtester gentoo-dev 2012-06-14 09:05:01 UTC
I can confirm, exactly the same problem here. the output of aclocal.out is same
Comment 5 Yixun Lan archtester gentoo-dev 2012-06-14 09:47:01 UTC
Created attachment 315257 [details, diff]
lighttpd automake patch fix

see automake 1.12 release note, AM_C_PROTOTYPES is deprecated, will be removed.

http://lists.gnu.org/archive/html/info-gnu/2012-04/msg00011.html

also automake 1.12 require AM_PROG_AR

I cooked a patch, which should make lighttpd compile again.
1) remove  AM_C_PROTOTYPES
2) add AM_PROG_AR

only tested with lighttpd-1.4.31 so far

thanks!
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-06-23 08:59:08 UTC
patch looks good.  in portage.