Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469126 - =sys-devel/prelink-20120628 fails with automake-1.13 - error: 'AM_CONFIG_HEADER': this macro is obsolete
Summary: =sys-devel/prelink-20120628 fails with automake-1.13 - error: 'AM_CONFIG_HEAD...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PATCH
: 469464 (view as bug list)
Depends on:
Blocks: automake-1.13
  Show dependency tree
 
Reported: 2013-05-08 23:47 UTC by ablepharus
Modified: 2013-05-11 17:09 UTC (History)
4 users (show)

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


Attachments
prelink-20120628.ebuild (prelink-20120628.ebuild,2.62 KB, text/plain)
2013-05-08 23:47 UTC, ablepharus
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***