>>> Preparing source in /var/tmp/portage/net-print/cups-filters-1.0.30/work/cups-filters-1.0.30 ... * Applying cups-filters-1.0.29-openrc.patch ... [ ok ] * Applying cups-filters-1.0.30-noavahi.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-print/cups-filters-1.0.30/work/cups-filters-1.0.30' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ !! ] * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /var/tmp/portage/net-print/cups-filters-1.0.30/temp/aclocal.out * ERROR: net-print/cups-filters-1.0.30 failed (prepare phase): * Failed Running aclocal ! $ cat /var/tmp/portage/net-print/cups-filters-1.0.30/temp/aclocal.out ***** aclocal ***** ***** PWD: /var/tmp/portage/net-print/cups-filters-1.0.30/work/cups-filters-1.0.30 ***** aclocal -I m4 /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:23: 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:23: the top level autom4te-2.69: /usr/bin/m4 failed with exit status: 1 aclocal-1.13: error: echo failed with exit status: 1
As a temporary workaround, you can add this to the ebuild to get it to work: WANT_AUTOMAKE=1.12
Better to apply correct fix (already described in comment #0) than a workaround. --- cups-filters-1.0.30.ebuild +++ cups-filters-1.0.30.ebuild @@ -49,6 +49,7 @@ src_prepare() { base_src_prepare + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac eautoreconf }
(In reply to comment #2) > Better to apply correct fix (already described in comment #0) than a > workaround. Good point. I didn't realize that it was a drop-in solution. (But then, automake and m4 are black magic to me.)
Created attachment 346564 [details, diff] Patch to use the new AC_CONFIG_HEADERS function
Created attachment 346566 [details] Apply patch in ebuild
+ 25 Apr 2013; Patrick Lauer <patrick@gentoo.org> cups-filters-1.0.30.ebuild: + Apply automake fix #466412 +