emerging the packages sys-devel/automake-1.8.5-r3 fails. if i try to emerge autoconf, it just emerges that automake package first anyhow. Reproducible: Always Steps to Reproduce: 1. emerge -u automake or emerge -u autoconf (it tries to do automake first for me anyhow). Actual Results: root@bagend:~ > emerge -u autoconf Calculating dependencies ...done! >>> emerge (1 of 18) sys-devel/automake-1.8.5-r3 to / >>> md5 src_uri ;-) automake-1.8.5.tar.bz2 >>> Unpacking source... >>> Unpacking automake-1.8.5.tar.bz2 to /var/tmp/portage/automake-1.8.5-r3/work * Applying automake-1.8.2-infopage-namechange.patch ... [ ok ] * Using GNU config files from /usr/share/libtool * Updating lib/config.sub [ ok ] * Updating lib/config.guess [ ok ] >>> Source unpacked. * econf: updating automake-1.8.5/lib/config.guess with /usr/share/gnuconfig/config.guess * econf: updating automake-1.8.5/lib/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for perl... /usr/bin/perl checking for tex... no checking whether autoconf is installed... yes 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. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/config.log !!! ERROR: sys-devel/automake-1.8.5-r3 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. emerge info: Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Oct 21 2004, 19:11:37)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.5 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib adns alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl doc dvd emboss encode esd f77 fam flac flash font-server foomaticdb fortran gcj gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imap imlib innodb ipv6 jack java jpeg junit kde ldap libg++ libwww live mad maildir mikmod mmx motif mozilla moznocompose moznoirc mozsvg mpeg mpegopengl mysql ncurses network nls objc odbc oggvorbis opengl oss pam pdflib perl plotutils png postgres python qt quicktime readline rtc ruby samba sasl sdl slang speex spell sqlite sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts videos wxwindows xinerama xml xml2 xmms xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY /var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU Automake configure 1.8.5, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib ## --------- ## ## Platform. ## ## --------- ## hostname = bagend uname -m = i686 uname -r = 2.6.10 uname -s = Linux uname -v = #1 Tue Jan 25 21:18:52 GMT 2005 /usr/bin/uname -p = AMD Athlon(TM) XP 2000+ /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lib/ccache/bin PATH: /sbin PATH: /usr/sbin PATH: /usr/lib/portage/bin PATH: /bin PATH: /usr/bin PATH: /usr/local/bin PATH: /opt/bin PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3 PATH: /opt/Acrobat5 PATH: /usr/X11R6/bin PATH: /opt/blackdown-jdk-1.4.2.01/bin PATH: /opt/blackdown-jdk-1.4.2.01/jre/bin PATH: /usr/qt/3/bin PATH: /usr/kde/3.3/sbin PATH: /usr/kde/3.3/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1275: checking build system type configure:1293: result: i686-pc-linux-gnu configure:1321: checking for a BSD-compatible install configure:1376: result: /bin/install -c configure:1387: checking whether build environment is sane configure:1430: result: yes configure:1487: checking for gawk configure:1503: found /bin/gawk configure:1513: result: gawk configure:1523: checking whether make sets $(MAKE) configure:1543: result: yes configure:1622: checking for i686-pc-linux-gnu-strip configure:1651: result: no configure:1660: checking for strip configure:1676: found /usr/bin/strip configure:1687: result: strip configure:1729: checking for perl configure:1747: found /usr/bin/perl configure:1759: result: /usr/bin/perl configure:1780: checking for tex configure:1809: result: no configure:1820: checking whether autoconf is installed configure:1825: eval autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 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. configure:1828: $? = 0 configure:1836: result: yes configure:1846: checking whether autoconf works configure:1853: cd conftest && eval autoconf -o /dev/null conftest.ac Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] [-l dir] [--localdir=dir] [--version] [template-file] configure:1856: $? = 1 configure:1865: result: no configure:1869: error: The installed version of autoconf does not work. Please check config.log for error messages before this one. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_PERL=/usr/bin/perl ac_cv_path_install='/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_make_make_set=yes am_cv_autoconf_installed=yes am_cv_autoconf_works=no ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='perllibdir=/var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5"/lib:./lib" /var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/aclocal --acdir=m4' AMTAR='${SHELL} /var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/lib/missing --run tar' APIVERSION='1.8' AUTOCONF='${SHELL} /var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/lib/missing --run autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/lib/missing --run autoheader' AUTOMAKE='perllibdir=/var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5"/lib:./lib" /var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/automake --libdir=lib' AWK='gawk' CYGPATH_W='echo' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' FGREP='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LIBOBJS='' LIBS='' LN='' LTLIBOBJS='' MAKEINFO='${SHELL} /var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/lib/missing --run makeinfo' MODIFICATION_DELAY='' PACKAGE='automake' PACKAGE_BUGREPORT='bug-automake@gnu.org' PACKAGE_NAME='GNU Automake' PACKAGE_STRING='GNU Automake 1.8.5' PACKAGE_TARNAME='automake' PACKAGE_VERSION='1.8.5' PATH_SEPARATOR=':' PERL='/usr/bin/perl' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' TEX='' VERSION='1.8.5' ac_ct_STRIP='strip' am__leading_dot='.' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='/usr/share' exec_prefix='NONE' host_alias='i686-pc-linux-gnu' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='/var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/lib/install-sh' libdir='/usr/lib' libexecdir='${exec_prefix}/libexec' localstatedir='/var/lib' mandir='/usr/share/man' mkdir_p='mkdir -p -- .' oldincludedir='/usr/include' pkgvdatadir='${datadir}/automake-1.8' prefix='/usr' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "automake" #define PACKAGE_BUGREPORT "bug-automake@gnu.org" #define PACKAGE_NAME "GNU Automake" #define PACKAGE_STRING "GNU Automake 1.8.5" #define PACKAGE_TARNAME "automake" #define PACKAGE_VERSION "1.8.5" #define VERSION "1.8.5" configure: exit 1
I managed to work around this by forcing an update of only the autoconf packages (using the -O option) that were in the update pretend list first, then emerging automake, then emerging autoconf again, for good measure.
*** This bug has been marked as a duplicate of 73099 ***