configure.in:64: error: 'AM_CONFIG_HEADER': this macro is obsolete. You should use the 'AC_CONFIG_HEADERS' macro instead. I've tested all gtk+ packages and fixed them. Affected are gtk+-1.2.10-r12 and gtk+-2.24.12. Reproducible: Always
diff -u /usr/portage/x11-libs/gtk+/gtk+-1.2.10-r12.ebuild /usr/local/portage/x11-libs/gtk+/gtk+-1.2.10-r12.ebuild --- /usr/portage/x11-libs/gtk+/gtk+-1.2.10-r12.ebuild 2012-09-25 17:31:32.000000000 +0200 +++ /usr/local/portage/x11-libs/gtk+/gtk+-1.2.10-r12.ebuild 2013-04-27 14:11:33.024523877 +0200 @@ -37,6 +37,9 @@ epatch "${FILESDIR}"/${PN}-1.2-locale_fix.patch epatch "${FILESDIR}"/${P}-as-needed.patch sed -i '/libtool.m4/,/AM_PROG_NM/d' acinclude.m4 #168198 + sed -i \ + -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \ + configure.in || die eautoreconf } diff -u /usr/portage/x11-libs/gtk+/gtk+-2.24.12.ebuild /usr/local/portage/x11-libs/gtk+/gtk+-2.24.12.ebuild --- /usr/portage/x11-libs/gtk+/gtk+-2.24.12.ebuild 2012-12-06 07:31:33.000000000 +0100 +++ /usr/local/portage/x11-libs/gtk+/gtk+-2.24.12.ebuild 2013-04-27 14:17:07.364159460 +0200 @@ -150,6 +150,11 @@ epatch_user + sed -i \ + -e '/AM_PROG_CC_STDC/d' \ + -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \ + configure.in || die + # http://bugs.gentoo.org/show_bug.cgi?id=371907 mkdir -p "${S}/m4" || die mv "${WORKDIR}/introspection.m4" "${S}/m4macros" || die
Fixed (by removal in the case of 2.24.12); thanks for reporting. + 01 May 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + gtk+-1.2.10-r12.ebuild, -gtk+-2.24.12.ebuild, + +files/gtk+-1.2.10-automake-1.13.patch, -files/gtk+-2.24.10-gold.patch: + Fix gtk+-1.2.10-r12's build failure with automake-1.13 (bug #467520, thanks + to Ted Tanberry) and remove obsolete version.