I want to install media-gfx/feh-1.3.4, so I run emerge -av feh. Emerge starts and runs the precompile scripts, but dies with an error stating that /usr/bin/aclocal-1.9 cannot be found. I check, and indeed, there's a aclocal-1.7 and aclocal-1.10. So I run "ln -s aclocal-1.10 aclocal-1.9" and re-emerge. This time it's automake-1.9. Same drill: "ln -s /usr/bin/automake-1.10 /usr/bin/automake-1.9" and re-emerge. This time it works perfectly. So I guess version 1.9 of those tools is hardcoded in the ebuild or something. Can someone look at that? Thanks! Reproducible: Always Steps to Reproduce: 1. emerge -av media-gfx/feh Actual Results: feh won't start compiling Expected Results: feh compiles My portage tree is about 2 weeks old.
Post/attach some errors instead of describing them, thanks.
Sorry, I thought that the problem was clear enough. Here goes: >>> Emerging (1 of 1) media-gfx/feh-1.3.4 to / ... >>> Unpacking source... >>> Unpacking feh-1.3.4.tar.gz to /var/tmp/portage/media-gfx/feh-1.3.4/work * Applying feh-1.3.4-xinerama.patch ... [ ok ] * Applying feh-1.3.4-headers.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-gfx/feh-1.3.4/work/feh-1.3.4' ... * Running aclocal ... [ !! ] * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /var/tmp/portage/media-gfx/feh-1.3.4/temp/aclocal-10072.out !!! ERROR: media-gfx/feh-1.3.4 failed. Call stack: ebuild.sh, line 1638: Called dyn_unpack ebuild.sh, line 763: Called qa_call 'src_unpack' ebuild.sh, line 44: Called src_unpack feh-1.3.4.ebuild, line 38: Called eautoreconf autotools.eclass, line 93: Called eaclocal autotools.eclass, line 130: Called autotools_run_tool 'aclocal' autotools.eclass, line 218: Called die !!! Failed Running aclocal ! and the output of cat /var/tmp/portage/media-gfx/feh-1.3.4/temp/aclocal-10072.out ***** aclocal ***** am-wrapper: /usr/bin/aclocal-1.9 is missing or not executable. Please try emerging the correct version of automake. ------------------------------- So I ln -s aclocal-1.10 to aclocal-1.9 and re-emerge --> >>> Unpacking source... >>> Unpacking feh-1.3.4.tar.gz to /var/tmp/portage/media-gfx/feh-1.3.4/work * Applying feh-1.3.4-xinerama.patch ... [ ok ] * Applying feh-1.3.4-headers.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-gfx/feh-1.3.4/work/feh-1.3.4' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign ... [ !! ] * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/portage/media-gfx/feh-1.3.4/temp/automake-10455.out !!! ERROR: media-gfx/feh-1.3.4 failed. Call stack: ebuild.sh, line 1638: Called dyn_unpack ebuild.sh, line 763: Called qa_call 'src_unpack' ebuild.sh, line 44: Called src_unpack feh-1.3.4.ebuild, line 38: Called eautoreconf autotools.eclass, line 97: Called eautomake autotools.eclass, line 194: Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign' autotools.eclass, line 218: Called die !!! Failed Running automake ! and the output of cat /var/tmp/portage/media-gfx/feh-1.3.4/temp/automake-10455.out ***** automake ***** am-wrapper: /usr/bin/automake-1.9 is missing or not executable. Please try emerging the correct version of automake. So I ln-s automake-1.10 to automake-1.9 and after that the emerge works...
--- feh-1.3.4.ebuild 2007-07-22 12:05:55.000000000 +0200 +++ feh-1.3.4.ebuild 2007-09-05 20:14:02.000000000 +0200 @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.3.4.ebuild,v 1.10 2007/07/22 10:03:08 dberkholz Exp $ +WANT_AUTOMAKE=1.9 inherit eutils autotools DESCRIPTION="A fast, lightweight imageviewer using imlib2" @@ -34,7 +35,6 @@ sed -i -e "/^docsdir =/s:doc/feh:share/doc/${PF}:" Makefile.am || die # the bundled autotool code was generated with automake-1.4 # but there's no reason to restrict to that version #141427 - export WANT_AUTOMAKE=1.9 eautoreconf }
WANT_AUTOMAKE shouldnt be set at all anymore