Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260220 - sys-devel/automake-wrapper-3-r1 think 1.9.6 is newer than 1.10.2
Summary: sys-devel/automake-wrapper-3-r1 think 1.9.6 is newer than 1.10.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 10:09 UTC by Sandro Bonazzola
Modified: 2009-02-25 13:31 UTC (History)
0 users

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 Sandro Bonazzola 2009-02-25 10:09:59 UTC
$ automake --version
automake (GNU automake) 1.9.6
Written by Tom Tromey <tromey@redhat.com>.

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


$ WANT_AUTOMAKE=1.10 automake --version
automake (GNU automake) 1.10.2
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.


$ qlist -ICv automake
sys-devel/automake-1.10.2
sys-devel/automake-1.4_p6
sys-devel/automake-1.5
sys-devel/automake-1.6.3
sys-devel/automake-1.7.9-r1
sys-devel/automake-1.8.5-r3
sys-devel/automake-1.9.6-r2
sys-devel/automake-wrapper-3-r1

from the am-wrapper.sh script:
# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-3.sh,v 1.3 2006/11/05 10:22:00 vapier Exp $
[cut]
# Executes the correct automake version.
#
# - defaults to newest version available (hopefully automake-1.10)

without WANT_AUTOMAKE it defaults to 1.9.6 not to 1.10.2.

I tryed with debug on:

$ WANT_AMWRAPPER_DEBUG=0 automake --version
am-wrapper: DEBUG: will execute </usr/bin/automake-1.9>
automake (GNU automake) 1.9.6
Written by Tom Tromey <tromey@redhat.com>.

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I don't have WANT_AUTOMAKE in my env.

 $ test -x /usr/bin/automake-1.10
 $ echo $?
 0
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-02-25 10:27:08 UTC
I cannot reproduce your problem:

zeromancer:~ # automake --version
automake (GNU automake) 1.10.2
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
zeromancer:~ # qlist -CIve automake-wrapper
sys-devel/automake-wrapper-3-r1
zeromancer:~ # grep -i header /usr/lib64/misc/am-wrapper.sh
# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-3.sh,v 1.3 2006/11/05 10:22:00 vapier Exp $
zeromancer:~ #

Do you maybe have WANT_AUTOMAKE set to version 1.9 in your shell environment?
Comment 2 Sandro Bonazzola 2009-02-25 13:06:58 UTC
(In reply to comment #1)
> Do you maybe have WANT_AUTOMAKE set to version 1.9 in your shell environment?

No I haven't. 
Doing some more testing let me think this could be related to something else: I can see that in my home dir:

 ~ $ automake --version
automake (GNU automake) 1.10.2
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.


it seems that Ive seen the problem when I was in kmymoney2 source directory (:pserver:anonymous@kmymoney2.cvs.sourceforge.net:/cvsroot/kmymoney2). Running again from that dir:
 ~/cvstree/kmymoney2 $ automake --version
automake (GNU automake) 1.9.6
Written by Tom Tromey <tromey@redhat.com>.

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-02-25 13:31:14 UTC
quote from am-wrapper.sh:

# - runs automake-1.9 if:
#   - envvar WANT_AUTOMAKE is set to `1.9'
#     -or-
#   - `Makefile.in' was generated by automake-1.9
#     -or-
#   - 'aclocal.m4' contain AM_AUTOMAKE_VERSION, specifying the use of 1.9

So my guess is that the skript looks for Makefile.in and aclocal.m4 in the current working directory which would explain your experience.
As this seems to be intended behaviour, I mark this bug as INVALID.