Simply trying to emerge CUPS 1.1.20-r3 fails before configure stage, tells me I need Autoconf 2.50 or higher... Actual Autoconf version installed is 2.59-r4. Reproducible: Always Steps to Reproduce: 1. emerge cups Actual Results: root@sakura neko # emerge -v cups Calculating dependencies ...done! >>> emerge (1 of 1) net-print/cups-1.1.20-r3 to / >>> md5 src_uri ;-) cups-1.1.20-source.tar.bz2 >>> Unpacking source... >>> Unpacking cups-1.1.20-source.tar.bz2 to /var/tmp/portage/cups-1.1.20-r3/work * Applying disable-strip.patch... [ ok ] * Applying cups-1.1.20-str633.patch... [ ok ] * Applying cups-1.1.20-zero-len-udp-dos.patch... [ ok ] * Applying str920.patch... [ ok ] FATAL ERROR: Autoconf version 2.50 or higher is required for this script !!! ERROR: net-print/cups-1.1.20-r3 failed. !!! Function src_unpack, Line 36, Exitcode 2 !!! (no error message) root@sakura neko # emerge -s autoconf Searching... [ Results for search key : autoconf ] [ Applications found : 3 ] <clipped other results> * sys-devel/autoconf Latest version available: 2.59-r4 Latest version installed: 2.59-r4 Size of downloaded files: 1,336 kB Homepage: http://www.gnu.org/software/autoconf/autoconf.html Description: Used to create autoconfiguration files License: GPL-2 <clipped other results> root@sakura neko # root@sakura neko # emerge info Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1) ================================================================= System uname: 2.6.8.1 i686 AMD Duron(tm) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb bitmap-fonts crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
The problem is in the src_unpack part of the script. It seems that autoconf's version advanced, but it isn't testing for anything BUT 2.5.
The problem comes from the wrapper script for autoconf. On one machine (last updated in september) the wrapper script for autoconf contained the following additionnal lines: # Autoconf is really getting out of hand, so rather start supporting # WANT_AUTOCONF = "2.5" the like. Unfortunately it override the old # variables, so if not set, just convert the old variables .... if ($ENV{WANT_AUTOCONF} eq "") { if ($ENV{WANT_AUTOCONF_2_1}) { $ENV{WANT_AUTOCONF} = '2.1'; } elsif ($ENV{WANT_AUTOCONF_2_5}) { $ENV{WANT_AUTOCONF} = '2.5'; } } These lines do not exist anymore on the system where I am running emerge --update --deep world So now when emerging the expected WANT_AUTOCONF_2_5 is never set anymore (only WANT_AUTOCONF is set to 2.5 by ebuilds) => Forward bug to autoconf!
see also: Bug 66668- cups fails to emerge: http://bugs.gentoo.org/show_bug.cgi?id=66668
cc portage # emerge gnome Calculating dependencies ...done! >>> emerge (1 of 92) net-print/cups-1.1.21-r1 to / >>> md5 src_uri ;-) cups-1.1.21-source.tar.bz2 >>> Unpacking source... >>> Unpacking cups-1.1.21-source.tar.bz2 to /var/tmp/portage/cups-1.1.21-r1/work * Applying disable-strip.patch... [ ok ] * Applying str920.patch... [ ok ] FATAL ERROR: Autoconf version 2.50 or higher is required for this script !!! ERROR: net-print/cups-1.1.21-r1 failed. !!! Function src_unpack, Line 39, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. cc portage # emerge info Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r7 i686) ================================================================= System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) processor Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com http://mirror.datapipe.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 foomaticdb gcj gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls nptl objc oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmmsxprint xv zlib" I'm experiencing the same problem on 15 ~x86 systems... someone got a fix for this?
Several ebuilds have stopped because of this autoconf stuff lately. I've just started doing this before I emerge anything: export WANT_AUTOCONF_2_5=1 It's only a temp solution but has worked well enough to move along the Systems I've installed lately. Others that come to mind right now are libungif and gnome-spell.
*** This bug has been marked as a duplicate of 66854 ***