When attempting to emerge lame using unstable packages, I get the following output: >>> emerge (1 of 1) media-sound/lame-3.93.1 to / >>> md5 ;-) lame-3.93.1.tar.gz >>> Unpacking source... >>> Unpacking lame-3.93.1.tar.gz >>> Source unpacked. * Working directory: /var/tmp/portage/lame-3.93.1/work/lame-3.93.1... * Cannot apply any patch, running libtoolize... You should update your `aclocal.m4' by running aclocal. configure.in:46: warning: AC_COMPILE_IFELSE was called before AC_AIX configure.in:46: warning: AC_RUN_IFELSE was called before AC_AIX configure.in:48: warning: AC_COMPILE_IFELSE was called before AC_MINIX configure.in:48: warning: AC_RUN_IFELSE was called before AC_MINIX checking build system type... i686-pc-linux-gnu checking host 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 whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static 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... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/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 whether -lc should be explicitly linked in... no creating libtool checking for AIX... no checking for strerror in -lcposix... no checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for gcc option to accept ANSI C... none needed checking for function prototypes... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking dmalloc.h usability... no checking dmalloc.h presence... no checking for dmalloc.h... no checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/soundcard.h usability... yes checking linux/soundcard.h presence... yes checking for linux/soundcard.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking version of GCC... 3.2.1 checking for short... yes checking size of short... 2 checking for unsigned short... yes checking size of unsigned short... 2 checking for int... yes checking size of int... 4 checking for unsigned int... yes checking size of unsigned int... 4 checking for long... yes checking size of long... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking for long long... yes checking size of long long... 8 checking for unsigned long long... yes checking size of unsigned long long... 8 checking for float... yes checking size of float... 4 checking for double... yes checking size of double... 8 checking for working long double with more range or precision than double... yes checking for uint8_t... yes checking for int8_t... yes checking for uint16_t... yes checking for int16_t... yes checking for uint32_t... yes checking for int32_t... yes checking for uint64_t... yes checking for int64_t... yes checking for IEEE854 compliant 80 bit floats... no checking for ieee754_float64_t... no checking for ieee754_float32_t... no checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... yes checking for alloca... yes checking for gettimeofday... yes checking for socket... yes checking for strtol... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking ncurses/termcap.h usability... no checking ncurses/termcap.h presence... no checking for ncurses/termcap.h... no checking for initscr in -ltermcap... no checking for initscr in -lcurses... yes checking for initscr in -lncurses... yes checking for cos in -lm... yes checking for cos in -lffm... no checking for cos in -lcpml... no checking for sf_open_read in -lsndfile... no checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... yes checking use of ElectricFence malloc debugging... "no" checking use of file io... lame checking use of analyzer hooks... yes checking use of mpg123 decoder... yes (Layer 1, 2, 3) checking use of vorbis... no checking if the lame frontend should be build... yes checking if mp3x is requested... yes checking if mp3rtp is requested... yes checking glibc mathinline bug... no checking use of VBR bitrate histogram... yes, with ncurses checking for FLOAT8 as float... no checking for nasm... /usr/bin/nasm checking for assembler routines for this processor type... yes checking for additional optimizations... no checking for debug options... no configure: creating ./config.status config.status: creating Makefile config.status: creating libmp3lame/Makefile config.status: creating libmp3lame/i386/Makefile config.status: creating frontend/Makefile config.status: creating mpglib/Makefile config.status: creating doc/Makefile config.status: creating doc/html/Makefile config.status: creating doc/man/Makefile config.status: creating include/Makefile config.status: creating Dll/Makefile config.status: creating misc/Makefile config.status: creating debian/Makefile config.status: creating dshow/Makefile config.status: creating ACM/Makefile config.status: creating ACM/ADbg/Makefile config.status: creating ACM/tinyxml/Makefile config.status: creating lame.spec config.status: creating mac/Makefile config.status: creating config.h config.status: executing depfiles commands cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/lame-3.93.1/work/lame-3.93.1' Making all in mpglib make[2]: Entering directory `/var/tmp/portage/lame-3.93.1/work/lame-3.93.1/mpglib' Makefile:228: .deps/common.Plo: No such file or directory Makefile:229: .deps/dct64_i386.Plo: No such file or directory Makefile:230: .deps/decode_i386.Plo: No such file or directory Makefile:231: .deps/interface.Plo: No such file or directory Makefile:232: .deps/layer1.Plo: No such file or directory Makefile:233: .deps/layer2.Plo: No such file or directory Makefile:234: .deps/layer3.Plo: No such file or directory Makefile:235: .deps/tabinit.Plo: No such file or directory make[2]: *** No rule to make target `.deps/tabinit.Plo'. Stop. make[2]: Leaving directory `/var/tmp/portage/lame-3.93.1/work/lame-3.93.1/mpglib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/lame-3.93.1/work/lame-3.93.1' make: *** [all] Error 2 !!! ERROR: media-sound/lame-3.93.1 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) The build then ends.
*** Bug 14475 has been marked as a duplicate of this bug. ***
*** Bug 14187 has been marked as a duplicate of this bug. ***
Which versions of autoconf and automake do you use? Mine are: autoconf-2.54 automake-1.6.3 I'm also experiencing those problems when recreating the error as described in bug #14187. If I don't export special autoconf and automake settings everything's working fine. I think the problem depends on a global autoconf/automake "version to use" setting.
I've done nothing special with my autoconf/automake versions (2.13 and 1.4-p5 respectively, according to automake --version and autoconf --version), and I get the same error.
lame-3.93.1-r1 has been added to portage which should fix your compile problems.
works now here :)