<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>191410</bug_id>
          
          <creation_ts>2007-09-05 17:47 0000</creation_ts>
          <short_desc>media-gfx/feh-1.3.4 broken autotools handling</short_desc>
          <delta_ts>2007-09-05 20:17:09 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>148821</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>jeroenz@gmail.com</reporter>
          <assigned_to>vapier@gentoo.org</assigned_to>
          <cc>graphics@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jeroenz@gmail.com</who>
            <bug_when>2007-09-05 17:47:47 0000</bug_when>
            <thetext>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&apos;s a aclocal-1.7 and aclocal-1.10.

So I run &quot;ln -s aclocal-1.10 aclocal-1.9&quot; and re-emerge. This time it&apos;s automake-1.9. Same drill: &quot;ln -s /usr/bin/automake-1.10 /usr/bin/automake-1.9&quot; 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&apos;t start compiling

Expected Results:  
feh compiles

My portage tree is about 2 weeks old.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-09-05 17:59:08 0000</bug_when>
            <thetext>Post/attach some errors instead of describing them, thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jeroenz@gmail.com</who>
            <bug_when>2007-09-05 18:10:41 0000</bug_when>
            <thetext>Sorry, I thought that the problem was clear enough. Here goes:



&gt;&gt;&gt; Emerging (1 of 1) media-gfx/feh-1.3.4 to /

...

&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; 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 &apos;/var/tmp/portage/media-gfx/feh-1.3.4/work/feh-1.3.4&apos; ...
 * 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 &apos;src_unpack&apos;
  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 &apos;aclocal&apos;
  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 --&gt;

&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; 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 &apos;/var/tmp/portage/media-gfx/feh-1.3.4/work/feh-1.3.4&apos; ...
 * 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 &apos;src_unpack&apos;
  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 &apos;automake&apos; &apos;--add-missing&apos; &apos;--copy&apos; &apos;--foreign&apos;
  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...



</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-09-05 18:15:51 0000</bug_when>
            <thetext>--- 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=&quot;A fast, lightweight imageviewer using imlib2&quot;
@@ -34,7 +35,6 @@
 	sed -i -e &quot;/^docsdir =/s:doc/feh:share/doc/${PF}:&quot; Makefile.am || die
 	# the bundled autotool code was generated with automake-1.4
 	# but there&apos;s no reason to restrict to that version #141427
-	export WANT_AUTOMAKE=1.9
 	eautoreconf
 }
 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-09-05 20:17:09 0000</bug_when>
            <thetext>WANT_AUTOMAKE shouldnt be set at all anymore</thetext>
          </long_desc>
      
    </bug>

</bugzilla>