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.
Created attachment 314915 [details] aclocal.out
Created attachment 314917 [details] emerge --info '=www-servers/lighttpd-1.4.31'
Related: https://bugs.gentoo.org/show_bug.cgi?id=420487 https://bugs.gentoo.org/show_bug.cgi?id=420223
I can confirm, exactly the same problem here. the output of aclocal.out is same
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!
patch looks good. in portage.