Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154361 - sys-devel/automake-wrapper seems to be broken
Summary: sys-devel/automake-wrapper seems to be broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-07 06:23 UTC by Palagin Alex
Modified: 2006-11-09 16:04 UTC (History)
5 users (show)

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


Attachments
automake-wrapper-default-exists.patch (automake-wrapper.patch,734 bytes, patch)
2006-11-09 15:25 UTC, Georgi Georgiev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Palagin Alex 2006-11-07 06:23:45 UTC
Suspicion in such things:

equery belongs `which aclocal`
[ Searching for file(s) /usr/bin/aclocal in *... ]
sys-devel/automake-wrapper-2 (/usr/bin/aclocal -> ../lib64/misc/am-wrapper.sh)

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

equery belongs `which automake`
[ Searching for file(s) /usr/bin/automake in *... ]
sys-devel/automake-wrapper-2 (/usr/bin/automake -> ../lib64/misc/am-wrapper.sh)

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

------------------------------------------------------------------------------

# emerge automake-wrapper
Calculating dependencies... done!

>>> Emerging (1 of 1) sys-devel/automake-wrapper-2 to /
* checking ebuild checksums ...                                                                      [ ok ]
* checking auxfile checksums ...                                                                     [ ok ]
* checking miscfile checksums ...                                                                    [ ok ]
>>> Unpacking source...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/automake-wrapper-2/work ...
>>> Source compiled.
>>> Test phase [not enabled]: sys-devel/automake-wrapper-2

>>> Install automake-wrapper-2 into /var/tmp/portage/automake-wrapper-2/image/ category sys-devel
>>> Completed installing automake-wrapper-2 into /var/tmp/portage/automake-wrapper-2/image/

man:
>>> Merging sys-devel/automake-wrapper-2 to /
--- /usr/
--- /usr/lib64/
--- /usr/lib64/misc/
>>> /usr/lib64/misc/am-wrapper.sh
--- /usr/share/
--- /usr/share/aclocal/
>>> /usr/share/aclocal/.keep_sys-devel_automake-wrapper-0
--- /usr/bin/
>>> /usr/bin/aclocal -> ../lib64/misc/am-wrapper.sh
>>> /usr/bin/automake -> ../lib64/misc/am-wrapper.sh
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/aclocal/.keep_sys-devel_automake-wrapper-0
--- !mtime obj /usr/lib64/misc/am-wrapper.sh
--- !mtime sym /usr/bin/automake
--- !mtime sym /usr/bin/aclocal
--- !empty dir /usr/share/aclocal
--- !empty dir /usr/share
--- !empty dir /usr/lib64/misc
--- !empty dir /usr/lib64
--- !empty dir /usr/bin
--- !empty dir /usr
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> sys-devel/automake-wrapper-2 merged.
>>> Recording sys-devel/automake-wrapper in "world" favorites file...

>>> No packages selected for removal by clean.

>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.


* GNU info directory index is up-to-date.

-----------------------------------------------------------------------------

emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18.1-utf8 x86_64)
=================================================================
System uname: 2.6.18.1-utf8 x86_64 Intel Pentium D CPU 2.80GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 07 Nov 2006 14:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer"
DISTDIR="/home/ftp/gentoo/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://gentoo.mirrors.tera-byte.com/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LINGUAS="ru"
MAKEOPTS="-j7"
PKGDIR="/home/ftp/gentoo/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa berkdb bitmap-fonts bzip2 cairo cli cracklib crypt cscope dlloader dri elibc_glibc fortran gdbm gif gtk iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kernel_linux libg++ linguas_ru ncurses nls nptl nptlonly nvidia opengl pam pcre perl png ppds pppd python qt3 qt4 readline reflection samba session spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2006-11-07 10:18:54 UTC
the symlinks are correct
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2006-11-08 10:25:49 UTC
Same for me... If automake-1.10 is not installed autoreconf does not work:

$ autoreconf -i -v
am-wrapper: /usr/bin/aclocal-1.10 is missing or not executable.
            Please try emerging the correct version of automake.
am-wrapper: /usr/bin/automake-1.10 is missing or not executable.
            Please try emerging the correct version of automake.
autoreconf-2.60: Entering directory `.'
autoreconf-2.60: configure.ac: not using Gettext
autoreconf-2.60: running: aclocal  --output=aclocal.m4t
am-wrapper: /usr/bin/aclocal-1.10 is missing or not executable.
            Please try emerging the correct version of automake.
autoreconf-2.60: aclocal failed with exit status: 1

Workaround:
$ WANT_AUTOMAKE="1.9" autoreconf -i -v
Comment 3 Paulo J. Matos 2006-11-08 12:32:11 UTC
Same here x86, automake-wrapper-2 (marked stable) installs script /usr/bin/automake which directs by default to automake-1.10 which is not marked stable. This creates a whole lot of mess! :-\
Comment 4 SpanKY gentoo-dev 2006-11-08 12:49:15 UTC
that's already fixed in latest version, i just need to commit a small backport to stable
Comment 5 Paulo J. Matos 2006-11-08 14:53:35 UTC
What do you mean by latest version? Just synced and latest stable is still automake-wrapper-2.
Comment 6 Paulo J. Matos 2006-11-08 14:59:19 UTC
Forget it... re-read your msg... and I got it now! :-) You still have to mark it stable! heh
Comment 7 Lasse Lindner 2006-11-08 16:00:51 UTC
so, what's up with this, when will 1.10 be marked as stable?
tumbled over this in the last hour.
Comment 8 Georgi Georgiev 2006-11-09 07:59:51 UTC
Why doesn't the automake wrapper simply default to the latest available version?
And shouldn't it have automake in its RDEPEND?
Comment 9 Alon Bar-Lev (RETIRED) gentoo-dev 2006-11-09 10:49:16 UTC
base-system: Can someone solve this issue? I think this is a critical stable issue, that needs to be solved.
Comment 10 Georgi Georgiev 2006-11-09 15:25:49 UTC
Created attachment 101577 [details, diff]
automake-wrapper-default-exists.patch

How is this for a solution. Make the wrapper default to the highest version of an automake executable and it also gives a proper warning if no executables are found.
Comment 11 SpanKY gentoo-dev 2006-11-09 15:52:08 UTC
Comment on attachment 101577 [details, diff]
automake-wrapper-default-exists.patch

i said it was fixed already in newer versions
Comment 12 SpanKY gentoo-dev 2006-11-09 16:04:25 UTC
fixed in cvs