Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73328 - automake-1.8.5-r2 doesn't chose correct autoconf-version
Summary: automake-1.8.5-r2 doesn't chose correct autoconf-version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-04 05:05 UTC by Florian Loitsch
Modified: 2004-12-05 19:44 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 Florian Loitsch 2004-12-04 05:05:21 UTC
As am-wrapper was unmasked recently I should now emerge all kind of versions of automake. I've already installed several versions of autoconf, and by default version 2.13 is chosen, which is too old for automake-1.8.5-r2.
Therefore the build dies with:
===
checking whether autoconf works... no
configure: error: The installed version of autoconf does not work.
    Please check config.log for error messages before this one.

!!! ERROR: sys-devel/automake-1.8.5-r2 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
===
Related? bug:
bug #71411

If i skip this build, and continue my emerge with
emerge --resume --skipfirst
the following ebuilds have more or less similar errors (in case these ebuilds need to be fixed):
sys-devel/automake-1.6.3
sys-devel/automake-1.7.9
I'll note the others (currently compiling), in case they are necessary.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




flo@basil ~ $ emerge --info 
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(TM) XP 2200+ 
Gentoo Base System version 1.6.6 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.13-r2,sys-devel/autoconf-2.59-r6 
Automake: 
sys-devel/automake-1.5,sys-devel/automake-1.4_p6,sys-devel/automake-1.9.3 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.10 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=athlon-xp -mtune=athlon-xp" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=athlon-xp -mtune=athlon-xp" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dnow X alsa apm arts audiofile avi berkdb bitmap-fonts cdparanoia cdr 
cgj crypt cups dga directfb divx4linux doc dvd dvdr encode esd f77 fam flac 
foomaticdb fortran gdbm ggi gif gpm gstreamer gtk2 guile imagemagick imap 
imlib innodb ipv6 jpeg junit kde libg++ libwww mad matroska mikmod mmx motif 
mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl png python 
quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd tetex 
theora tiff truetype v4l v4l2 x86 xinerama xml xml2 xmms xv xvid zlib"
Comment 1 SpanKY gentoo-dev 2004-12-04 09:18:05 UTC
if you `env WANT_AUTOCONF=2.5 emerge automake` does it work ?
Comment 2 Florian Loitsch 2004-12-04 09:21:32 UTC
I tried (under zsh):
env WANT_AUTOCONF=2.5 emerge --oneshot '=sys-devel/automake-1.8.5-r2'
WANT_AUTOCONF="2.5" emerge --oneshot '=sys-devel/automake-1.8.5-r2'
and none worked

also:
root@basil ~ $ WANT_AUTOCONF="2.5" autoconf --version
Autoconf version 2.13

so I would say: no
Comment 3 Mark Dominik Bürkle 2004-12-04 09:35:43 UTC
I wished I would not have tried "emerge -a libtool" because now I can't reproduce the error with "emerge autoconf" and "emerge automake". They require each other, better said:

the automake configure (or the like) *requires* autoconf >= 2.5

"emerge autoconf" tries to build automake *before* building autoconf

-- if I remember right.
Comment 4 Florian Loitsch 2004-12-04 09:46:08 UTC
that doesn't seem to be the problem here, as both versions of autoconf are
correctly installed (at least I hope so). The newer one is just not used.
Comment 5 Mark Dominik Bürkle 2004-12-04 12:24:21 UTC
Im just installing, from 2004.3 with stage2. I changed some option (among other stuff "emerge portage" called directly instead of within "emerge system"?? or was it the use-nptl?), fiddled around a bit and ended up in everything being rebuilt: ebuilds like sed, patch and others were then done for "emerge system"; iirc this was not contained in "emerge -pretend system" before... :-/ :-)

anyways, you seem to have a possible workaround with "emerge -a libtool", as proposed in bug#71411, but it might give You a lot of compiles... is that "-a" for "all"?
Comment 6 Florian Loitsch 2004-12-04 13:11:57 UTC
emerge -a == --ask (just more efficient as emerge -p == --pretend).
But this doesn't solve my problem, as Autoconf is already installed here. 
Comment 7 SpanKY gentoo-dev 2004-12-05 01:06:02 UTC
florian: can you `emerge autoconf-wrapper` and see if `WANT_AUTOCONF=2.5 autoconf --version` works ?
Comment 8 Florian Loitsch 2004-12-05 03:56:53 UTC
reemerging the ac-wrapper fixed the whole problem. Unfortunately I can't tell
now, why, how and who modified the /urs/lib/misc/ac-wrapper.sh.
When I reemerged, I got the following line:
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/lib/misc/ac-wrapper.sh
I'm not sure, but doesn't that mean, that ac-wrapper.sh had been somehow
modified outside portage?
Comment 9 SpanKY gentoo-dev 2004-12-05 09:37:14 UTC
did you emerge autoconf before i unmasked it ?

while it was masked i made changes to it to fix bugs but didnt rev bump it ...
Comment 10 Florian Loitsch 2004-12-05 09:40:53 UTC
no. I'm using ~x86 (obviously), but I haven't unmasked anything recently (and
certainly not autoconf).
Comment 11 SpanKY gentoo-dev 2004-12-05 19:44:28 UTC
autoconf-wrapper-1-r1 now in portage