unmasking media-libs/libungif-4.1.3 resolved the dep. issue. I'd suggest changing the 4.1.3 keyword to "amd64". emerge media-libs/libungif Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/libungif-4.1.0.1b to / >>> md5 src_uri ;-) libungif-4.1.0b1.tar.bz2 >>> Unpacking source... >>> Unpacking libungif-4.1.0b1.tar.bz2 to /var/tmp/portage/libungif-4.1.0.1b/work * Applying libungif-CVS.patch ... [ ok ] * Applying libungif-4.1.0-stdarg.patch ... [ ok ]>>> Source unpacked. * Patching ${S}/ltmain.sh ... * Could not apply portage.patch! * Please verify that it is not needed. * Cannot apply any patch, running libtoolize... Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL' You should update your `aclocal.m4' by running aclocal. * Applying uClibc/libtool patches ... * Fixing ${S}/ltconfig... [ ok ] * econf: updating libungif-4.1.0b1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libungif-4.1.0b1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --with-x creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc -O2 -pipe -march=k8 ) works... yes checking whether the C compiler (gcc -O2 -pipe -march=k8 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for c++... c++ checking whether the C++ compiler (c++ -O2 -pipe -march=k8 ) works... yes checking whether the C++ compiler (c++ -O2 -pipe -march=k8 ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for gawk... gawk checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 -pipe -march=k8 ) works... yes checking whether the C compiler (gcc -O2 -pipe -march=k8 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /bin/install -c checking whether ln -s works... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking for ranlib... (cached) ranlib checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for pow in -lm... yes checking for rle_hdr_init in -lrle... no checking for main in -lgl_s... no checking for main in -lX11... yes checking for ANSI C header files... yes checking for fcntl.h... yes checking for stdarg.h... yes checking for working const... yes checking for 8-bit clean memcmp... yes checking whether setvbuf arguments are reversed... no checking for vprintf... yes checking for strdup... yes updating cache ./config.cache creating ./config.status creating util/Makefile creating lib/Makefile creating Makefile creating doc/Makefile creating pic/Makefile creating config.h cd . && aclocal cd . && automake --gnu Makefile cd . && autoconf FATAL ERROR: Autoconf version 2.50 or higher is required for this script make: *** [configure] Error 2 make: *** Waiting for unfinished jobs.... !!! ERROR: media-libs/libungif-4.1.0.1b failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. eno root # 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. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r14 x86_64) ================================================================= System uname: 2.6.9-gentoo-r14 x86_64 AMD Opteron(tm) Processor 850 Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 28 2004, 08:02:56)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.8.5-r2, 1.7.9, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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 -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts crypt cups emul-linux f77 font-server fortran gdbm gif gnome2 gpm gtk2 ipv6 jp2 jpeg lzw lzw-tiff multilib mutlilib ncurses nls ntpl ntplonly opengl oss pam perl pic png python readline ssl sysvipc tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
I had the same error, also on an amd64 box. export WANT_AUTOCONF="2.59" allowed me to install libungif-4.1.0.1b.
I have the exact same error on my AMD64 box, with the same version of autoconf (2.59) and attempting to compile the same version of libungif (4.1.0.1b), and get the same error message (need autoconf greater then 2.50). I tried Peter's work around but that didn't work for me. Perhaps I was not suposed to do the export in the console but instead add it to the package source? I doubt it.
marked libungif-4.1.3 stable on amd64, this works fine