>>> Emerging (2 of 2) app-text/wv-1.2.9-r1 * wv-1.2.9.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: app-text/wv-1.2.9-r1 * Repository: gentoo * Maintainer: gnome@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU wmf * FEATURES: sandbox >>> Unpacking source... >>> Unpacking wv-1.2.9.tar.gz to /var/tmp/portage/app-text/wv-1.2.9-r1/work >>> Source unpacked in /var/tmp/portage/app-text/wv-1.2.9-r1/work >>> Preparing source in /var/tmp/portage/app-text/wv-1.2.9-r1/work/wv-1.2.9 ... * Running eautoreconf in '/var/tmp/portage/app-text/wv-1.2.9-r1/work/wv-1.2.9' ... * Running aclocal ... [ !! ] ############### # cat /var/tmp/portage/app-text/wv-1.2.9-r1/temp/aclocal.out ***** aclocal ***** ***** PWD: /var/tmp/portage/app-text/wv-1.2.9-r1/work/wv-1.2.9 ***** aclocal configure.ac:59: error: m4_defn: undefined macro: _AC_LANG ../../lib/autoconf/lang.m4:108: AC_LANG_POP is expanded from... ../../lib/autoconf/c.m4:448: AC_PROG_CC is expanded from... configure.ac:59: the top level autom4te-2.68: /usr/bin/m4 failed with exit status: 1 aclocal-1.11: autom4te failed with exit status: 1 Reproducible: Always Steps to Reproduce: 1. emerge wv 2. 3. A workaround for me us to run "emerge =wv-1.2.9". It work fine so.
same problem too
(In reply to comment #0) > A workaround for me us to run "emerge =wv-1.2.9". It work fine so. Or enable the tools use flag. Last change was from pacho@gentoo.org who added some sed foo which is broke autotools.
I don't like to be "pushed" CCing me without even waiting for bug wranglers to properly assign this and ask for needed info You will probably also need to provide "emerge --info" output (since it didn't fail for me)
Created attachment 261670 [details] output of emerge --info
I don't know why it's failing for you, it succeeds for me :-|, maybe some other gnome team member knows where could be the problem (from your emerge --info looks like you are running "testing" while my basesystem is "stable" :-/)
# emerge -pqv =app-text/wv-1.2.9-r1 [ebuild U ] app-text/wv-1.2.9-r1 [1.2.9] USE="wmf -tools%" With "USE=tools emerge wv", all is going fine, The ebuild modify configure.ac and run eautoreconf only with USE=-tools. If I comment out the line # sed -i -e '/wv[A-Z]/d' configure.ac || die into the ebuild, emerge is working fine with USE="-tools". Here is a diff of the 2 configure.ac files: # diff configure.ac configure.ac.fail 2d1 < AC_INIT([wv],[1.2.9],[wvware-devel@sourceforge.net]) 24d22 < AC_CONFIG_SRCDIR([wvWare.c]) 420,429d417 < wvAbw < wvDVI < wvPS < wvPDF < wvHtml < wvDocBook < wvLatex < wvCleanLatex < wvText < wvWml
(In reply to comment #5) > I don't know why it's failing for you, it succeeds for me :-| You would think AC_INIT is important.. But as Dominique shows you it gets removed. The below change should do what you want. --- /usr/portage/app-text/wv/wv-1.2.9-r1.ebuild 2011-02-02 19:36:05.000000000 +0100 +++ wv-1.2.9-r1.ebuild 2011-02-09 01:23:03.666385819 +0100 @@ -31,7 +31,8 @@ sed -i -e '/bin_/d' GNUmakefile.am || die sed -i -e '/SUBDIRS/d' GNUmakefile.am || die sed -i -e '/\/GNUmakefile/d' configure.ac || die - sed -i -e '/wv[A-Z]/d' configure.ac || die + sed -i -e '/^[^A]wv[A-Z]/d' configure.ac || die + sed -i -e '/wvWare.c/d' configure.ac || die eautoreconf fi }
LC_ALL=C emerge wv works fine, while LC_ALL=en_US.UTF-8 emerge wv fails. The reason seems to be that 'w' is included in '[A-Z]' in the latter locale (as the ordering is a, A, b, B, ..., z, Z), so the regexp in sed matches and removes the AC_INIT line. The best solution would be probably to replace the '[A-Z]' by '[[:upper:]]'.
(In reply to comment #8) > The best solution would be probably to replace the '[A-Z]' by '[[:upper:]]'. > Done. In bleeding-edge overlay. (I'm not a developer.)
(In reply to comment #7) > (In reply to comment #5) > > I don't know why it's failing for you, it succeeds for me :-| > > You would think AC_INIT is important.. But as Dominique shows you it gets > removed. The below change should do what you want. The problem is that with spanish locale it doesn't drop AC_INIT, please be sure I wouldn't committed it if it would failed for me ;-) + 09 Feb 2011; Pacho Ramos <pacho@gentoo.org> wv-1.2.9-r1.ebuild: + Fix sed command behavior depending on LC_ALL setting (bug #353832 by + Dominique Michel and Sander Sweers). +