Summary: | dev-libs/glib-2.34.3 with automake-1.13 - configure.ac:294: error: 'AM_PROG_CC_STDC': this macro is obsolete. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paramonov Valeriy <asm64> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | james05+gentoo, Wizzleby |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 451744 |
Description
Paramonov Valeriy
2013-04-24 16:41:45 UTC
I can confirm this bug. Removing automake-1.13.1 allows me to build glib again. This also affects glib-1.2.10-r5 and glib-2.32.4-r1. I've fixed all glib ebuilds (including some minor append-ldflags warning in glib-1.2.10-r5): diff -u /usr/portage/dev-libs/glib/glib-1.2.10-r5.ebuild /usr/local/portage/dev-libs/glib/glib-1.2.10-r5.ebuild --- /usr/portage/dev-libs/glib/glib-1.2.10-r5.ebuild 2012-09-25 14:01:09.000000000 +0200 +++ /usr/local/portage/dev-libs/glib/glib-1.2.10-r5.ebuild 2013-04-27 13:36:22.730793232 +0200 @@ -33,7 +33,12 @@ epatch "${DISTDIR}"/glib-1.2.10-r1-as-needed.patch.bz2 use ppc64 && use hardened && replace-flags -O[2-3] -O1 - append-ldflags $(dlopen_lib) + sed -i "/libglib_la_LDFLAGS/i libglib_la_LIBADD = $(dlopen_lib)" Makefile.am || die + + sed -i \ + -e '/AM_PROG_CC_STDC/d' \ + -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \ + configure.in || die rm -f acinclude.m4 #168198 eautoreconf diff -u /usr/portage/dev-libs/glib/glib-2.32.4-r1.ebuild /usr/local/portage/dev-libs/glib/glib-2.32.4-r1.ebuild --- /usr/portage/dev-libs/glib/glib-2.32.4-r1.ebuild 2013-02-19 01:31:08.000000000 +0100 +++ /usr/local/portage/dev-libs/glib/glib-2.32.4-r1.ebuild 2013-04-27 13:40:31.597741697 +0200 @@ -112,6 +112,11 @@ epatch_user + # automake-1.13 fix + sed -i \ + -e '/AM_PROG_CC_STDC/d' \ + configure.ac || die + # disable pyc compiling use test && python_clean_py-compile_files diff -u /usr/portage/dev-libs/glib/glib-2.34.3.ebuild /usr/local/portage/dev-libs/glib/glib-2.34.3.ebuild --- /usr/portage/dev-libs/glib/glib-2.34.3.ebuild 2013-02-19 01:31:08.000000000 +0100 +++ /usr/local/portage/dev-libs/glib/glib-2.34.3.ebuild 2013-04-27 13:54:26.901195068 +0200 @@ -107,6 +107,11 @@ epatch_user + # automake-1.13 fix + sed -i \ + -e '/AM_PROG_CC_STDC/d' \ + configure.ac || die + # disable pyc compiling use test && python_clean_py-compile_files Fixed by requiring automake-1.12.x to be used when building glib-1.2, 2.32 or 2.34. The glib-2.36 ebuilds seem to work fine with automake-1.13. Thanks for reporting! + 29 Apr 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + glib-1.2.10-r5.ebuild, glib-2.32.4-r1.ebuild, glib-2.34.3.ebuild: + Require automake-1.12, since building with 1.13 fails (bug #467086, thanks to + Paramonov Valeriy et al.) (And we probably would be able to remove this restriction when automake-1.13.2 after is in portage, see http://www.flameeyes.eu/autotools-mythbuster/forwardporting/automake.html) + 30 Apr 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + glib-1.2.10-r5.ebuild, glib-2.32.4-r1.ebuild, glib-2.34.3.ebuild, + +files/glib-1.2.10-automake-1.13.patch, + +files/glib-2.34.3-automake-1.13.patch: + On second thought, fix automake-1.13 compatibility properly, with patches. |