<?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>154975</bug_id>
          
          <creation_ts>2006-11-13 01:31 0000</creation_ts>
          <short_desc>gnome-base/gnome-vfs-2.16.2 misses correct automake-dependency</short_desc>
          <delta_ts>2006-11-19 17:56:55 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>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>148821</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>zzam@gentoo.org</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>zzam@gentoo.org</who>
            <bug_when>2006-11-13 01:31:20 0000</bug_when>
            <thetext>gnome-base/gnome-vfs-2.16.2 does not depend on the correct version of automake.

&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking gnome-vfs-2.16.2.tar.bz2 to /var/tmp/portage/gnome-base/gnome-vfs-2.16.2/work
 * Fixing OMF Makefiles ...                                                                                     [ ok ]
 * Applying gnome-vfs-2.12.0-afs.patch ...                                                                      [ ok ]
 * Applying gnome-vfs-2.15.2-headers-define.patch ...                                                           [ ok ]
 * Applying gnome-vfs-2.16.0-no-dbus-crash.patch ...                                                            [ ok ]
 * Running eautoreconf in &apos;/var/tmp/portage/gnome-base/gnome-vfs-2.16.2/work/gnome-vfs-2.16.2&apos; ...
 * Running aclocal -I . ...                                                                                     [ !! ]

 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gnome-base/gnome-vfs-2.16.2/temp/aclocal-13933.out


!!! ERROR: gnome-base/gnome-vfs-2.16.2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  gnome-vfs-2.16.2.ebuild, line 89:   Called eautoreconf
  autotools.eclass, line 83:   Called eaclocal
  autotools.eclass, line 121:   Called autotools_run_tool &apos;aclocal&apos; &apos;-I&apos; &apos;.&apos;
  autotools.eclass, line 242:   Called die

!!! Failed Running aclocal !
!!! If you need support, post the topmost build error, and the call stack if relevant.

gauss ~ # cat /var/tmp/portage/gnome-base/gnome-vfs-2.16.2/temp/aclocal-13933.out
***** aclocal *****

am-wrapper: /usr/bin/aclocal-1.9 is missing or not executable.
            Please try emerging the correct version of automake.



Adding
WANT_AUTOCONF=&quot;latest&quot;
WANT_AUTOMAKE=&quot;latest&quot;
lets the ebuild die at automake

 * Running aclocal -I . ...                                                                                     [ ok ]
 * Running autoconf ...                                                                                         [ ok ]
 * Running autoheader ...                                                                                       [ ok ]
 * Running automake --add-missing --copy ...                                                                    [ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gnome-base/gnome-vfs-2.16.2/temp/automake-21605.out


!!! ERROR: gnome-base/gnome-vfs-2.16.2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  gnome-vfs-2.16.2.ebuild, line 92:   Called eautoreconf
  autotools.eclass, line 87:   Called eautomake
  autotools.eclass, line 188:   Called autotools_run_tool &apos;automake&apos; &apos;--add-missing&apos; &apos;--copy&apos;
  autotools.eclass, line 242:   Called die

!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if relevant.

gauss ~ # cat /var/tmp/portage/gnome-base/gnome-vfs-2.16.2/temp/automake-21605.out
***** automake *****

configure.in:37: version mismatch.  This is Automake 1.10,
configure.in:37: but the definition used by this AM_INIT_AUTOMAKE
configure.in:37: comes from Automake 1.9.6.  You should recreate
configure.in:37: aclocal.m4 with aclocal and run automake again.
daemon/Makefile.am:43: `%&apos;-style pattern rules are a GNU make extension

This will make it work:
WANT_AUTOCONF=&quot;latest&quot;
WANT_AUTOMAKE=&quot;1.9&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dang@gentoo.org</who>
            <bug_when>2006-11-17 11:06:12 0000</bug_when>
            <thetext>Added.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zzam@gentoo.org</who>
            <bug_when>2006-11-17 22:37:09 0000</bug_when>
            <thetext>Works here.
A small cleanup propose: Remove the &quot;=sys-devel/automake-1.9*&quot; from DEPEND, as that is automatically added by autotools.eclass.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leio@gentoo.org</who>
            <bug_when>2006-11-19 17:56:55 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Works here.
&gt; A small cleanup propose: Remove the &quot;=sys-devel/automake-1.9*&quot; from DEPEND, as
&gt; that is automatically added by autotools.eclass.
&gt; 

I have changed it to be WANT_AUTOMAKE=1.9 prior to inheriting autotools.
This makes the automake DEPEND come from autotools, but more importantly it ensures eautoreconf actually uses 1.9 not, for example, 1.10</thetext>
          </long_desc>
      
    </bug>

</bugzilla>