Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191410 - media-gfx/feh-1.3.4 broken autotools handling
Summary: media-gfx/feh-1.3.4 broken autotools handling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autotools-deps
  Show dependency tree
 
Reported: 2007-09-05 17:47 UTC by Jeroen Zwarts
Modified: 2007-09-05 20:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Zwarts 2007-09-05 17:47:47 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-05 17:59:08 UTC
Post/attach some errors instead of describing them, thanks.
Comment 2 Jeroen Zwarts 2007-09-05 18:10:41 UTC
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...



Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-05 18:15:51 UTC
--- 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
 }
 
Comment 4 SpanKY gentoo-dev 2007-09-05 20:17:09 UTC
WANT_AUTOMAKE shouldnt be set at all anymore