Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467520 - x11-libs/gtk+ with automake-1.13 - error: 'AM_CONFIG_HEADER': this macro is obsolete
Summary: x11-libs/gtk+ with automake-1.13 - error: 'AM_CONFIG_HEADER': this macro is o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: automake-1.13
  Show dependency tree
 
Reported: 2013-04-27 17:34 UTC by Ted Tanberry
Modified: 2013-05-01 03:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ted Tanberry 2013-04-27 17:34:43 UTC
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
Comment 1 Ted Tanberry 2013-04-27 17:36:36 UTC
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
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-05-01 03:23:20 UTC
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.