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

Bug 469126

Summary: =sys-devel/prelink-20120628 fails with automake-1.13 - error: 'AM_CONFIG_HEADER': this macro is obsolete
Product: Gentoo Linux Reporter: ablepharus <ablepharus>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: ablepharus, carlphilippreh, gentoo, pvdabeel
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 451744    
Attachments: prelink-20120628.ebuild

Description ablepharus 2013-05-08 23:47:50 UTC
Created attachment 347788 [details]
prelink-20120628.ebuild

***** aclocal *****
***** PWD: /var/tmp/portage/sys-devel/prelink-20120628/work/prelink
***** aclocal -I m4

aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
m4/libelf.m4:8: warning: underquoted definition of AC_LIBELF_SXWORD
m4/libelf.m4:8:   run info Automake 'Extending aclocal'
m4/libelf.m4:8:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.in:3: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:3: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-09 01:20:48 UTC
Comment on attachment 347788 [details]
prelink-20120628.ebuild

--- prelink-20120628.ebuild     2012-12-31 00:14:30.377793075 +0100
+++ -   2013-05-09 03:20:36.978468404 +0200
@@ -33,6 +33,8 @@
 src_prepare() {
        epatch "${FILESDIR}"/${PN}-20061201-prelink-conf.patch

+       sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
+
        sed -i -e '/^CC=/s: : -Wl,--disable-new-dtags :' testsuite/functions.sh #100147
        # >=binutils-2.22 --no-copy-dt-needed-entries is the default
        # --copy-dt-needed-entries was renamed from --add-needed in 2.21, use the
Comment 2 jospezial 2013-05-11 12:29:20 UTC
With that added line it compiles and installs. Thanks.
Comment 3 SpanKY gentoo-dev 2013-05-11 16:34:06 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix building w/automake-1.13
http://sources.gentoo.org/sys-devel/prelink/prelink-20120628.ebuild?r1=1.2&r2=1.3
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-11 17:09:11 UTC
*** Bug 469464 has been marked as a duplicate of this bug. ***