Summary: | =media-libs/libwmf-0.2.8.4-r4 with =sys-devel/automake-1.13 - configure.ac:59: error: 'AM_CONFIG_HEADER': this macro is obsolete. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lee Trager <lee> |
Component: | [OLD] Library | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | che, dklann, grozin, jackhill, mail, manschwetus, r3pek |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 451744 | ||
Attachments: |
Patched ebuild
The actual patched ebuild |
Description
Lee Trager
2013-04-27 09:26:33 UTC
Also, the libwmf-0.2.8.4-intoverflow.patch fails when the AM->AC problem is fixed. Created attachment 346952 [details, diff]
Patched ebuild
Adding the following to the ebuild prep section fixes this
# AM_PROG_CC_STDC is obsolete and causes build failure with
# >=sys-devel/automake-1.13.1
sed -i -e 's/AM_PROG_CC_STDC/AM_PROG_CC/g' aclocal.m4 || die
sed -i -e '/AM_PROG_CC_STDC/d' configure.ac || die
Whoop's sorry put this in the wrong bug. Created attachment 346958 [details]
The actual patched ebuild
But adding the following in the prep section after patching is done fixes the issue for me.
# AM_CONFIG_HEADER is obsolete and causes build failure with
# >=sys-devel/automake-1.13.1
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
Lee's patched ebuild (comment #4) works for me on amd64. Oh, I see the automake-1.13 bug now too... Thanks! *libwmf-0.2.8.4-r5 (04 May 2013) 04 May 2013; Justin Lecher <jlec@gentoo.org> +libwmf-0.2.8.4-r5.ebuild, metadata.xml: Fix obsolete macros to work with automake-1.13, #467462; move to autotools-utils.eclass Still fails for me. /var/tmp/portage/media-libs/libwmf-0.2.8.4-r4/temp/aclocal.out is now slightly different: ***** aclocal ***** ***** PWD: /var/tmp/portage/media-libs/libwmf-0.2.8.4-r4/work/libwmf-0.2.8.4 ***** aclocal aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal-1.13: warning: 'configure.ac' and 'configure.in' both present. aclocal-1.13: proceeding with 'configure.ac' /usr/share/aclocal/gtkglextmm-1.2.m4:225: warning: underquoted definition of AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD /usr/share/aclocal/gtkglextmm-1.2.m4:225: run info Automake 'Extending aclocal' /usr/share/aclocal/gtkglextmm-1.2.m4:225: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal configure.ac:59: 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.ac:59: the top level autom4te-2.69: /usr/bin/m4 failed with exit status: 1 aclocal-1.13: error: echo failed with exit status: 1 *libwmf-0.2.8.4-r5 (04 May 2013) 04 May 2013; Justin Lecher <jlec@gentoo.org> +libwmf-0.2.8.4-r5.ebuild, metadata.xml: Fix obsolete macros to work with automake-1.13, #467462; move to autotools-utils.eclass |