I'm trying to emerge -u world but the emerge dies when building fam-2.7.0 I've tried deleting the package from /usr/portage/distfiles to force re-downloading but it's still broken. Reproducible: Always Steps to Reproduce: 1. emerge -u app-admin/fam Actual Results: azure root # emerge -u app-admin/fam Calculating dependencies ...done! >>> emerge (1 of 1) app-admin/fam-2.7.0 to / >>> md5 src_uri ;-) fam-2.7.0.tar.gz >>> Unpacking source... >>> Unpacking fam-2.7.0.tar.gz to /data/portage/portage/fam-2.7.0/work >>> Source unpacked. 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 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 i686-pc-linux-gnu-g++... g++ checking for C++ compiler default output file name... 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 g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for i686-pc-linux-gnu-gcc... gcc 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 how to run the C preprocessor... gcc -E checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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... nm checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse nm output... ok checking how to run the C++ preprocessor... g++ -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 i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-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... no checking if we can lock with hard links... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared lib raries... 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 a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for pmap_set in -lrpcsvc... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 linux/imon.h usability... no checking linux/imon.h presence... no checking for linux/imon.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking rpc/rpc.h usability... yes checking rpc/rpc.h presence... yes checking for rpc/rpc.h... yes checking rpcsvc/mount.h usability... yes checking rpcsvc/mount.h presence... yes checking for rpcsvc/mount.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/imon.h usability... no checking sys/imon.h presence... no checking for sys/imon.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/syssgi.h usability... no checking sys/syssgi.h presence... no checking for sys/syssgi.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for bool... yes checking for socklen_t... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for struct sockaddr.sa_len... no checking for error_at_line... no checking for sys/select.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for bindresvport... yes checking for _daemonize... no checking for daemon... yes checking for getgrmember... no checking for select... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating conf/Makefile config.status: creating man/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands cd . && \ /bin/sh /data/portage/portage/fam-2.7.0/work/fam-2.7.0/missing --run automake -1.6 --gnu Makefile cd . && /bin/sh ./config.status Makefile config.status: creating Makefile cd . && /bin/sh /data/portage/portage/fam-2.7.0/work/fam-2.7.0/missing --run au toheader touch ./config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0' Making all in include make[2]: Entering directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0/inc lude' cd .. && \ /bin/sh /data/portage/portage/fam-2.7.0/work/fam-2.7.0/missing --run automake -1.6 --gnu include/Makefile cd .. && /bin/sh ./config.status include/Makefile config.status: creating include/Makefile make[2]: Leaving directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0/incl ude' make[2]: Entering directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0/inc lude' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0/incl ude' Making all in lib make[2]: Entering directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0/lib ' cd .. && \ /bin/sh /data/portage/portage/fam-2.7.0/work/fam-2.7.0/missing --run automake -1.6 --gnu lib/Makefile cd .. && /bin/sh ./config.status lib/Makefile depfiles config.status: creating lib/Makefile config.status: executing depfiles commands make[2]: Leaving directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0/lib' make[2]: Entering directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0/lib ' source='Client.c++' object='Client.lo' libtool=yes \ depfile='.deps/Client.Plo' tmpdepfile='.deps/Client.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/etc/fam.conf\" -march=athlon -O3 -pipe -c -o Client.lo `test -f 'Client.c++' || echo './'`Client.c++ source='fam.c++' object='fam.lo' libtool=yes \ depfile='.deps/fam.Plo' tmpdepfile='.deps/fam.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/etc/fam.conf\" -march=athlon -O3 -pipe -c -o fam.lo `test -f 'fam.c++' || echo './'`fam.c++ mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/etc/fam.conf\" -mar ch=athlon -O3 -pipe -c Client.c++ -MT Client.lo -MD -MP -MF .deps/Client.TPlo -fPIC -DPIC rm -f .libs/fam.lo g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/etc/fam.conf\" -mar ch=athlon -O3 -pipe -c fam.c++ -MT fam.lo -MD -MP -MF .deps/fam.TPlo -fPIC -DP IC mv -f fam.o .libs/fam.lo g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/etc/fam.conf\" -mar ch=athlon -O3 -pipe -c fam.c++ -MT fam.lo -MD -MP -MF .deps/fam.TPlo >/dev/null 2>&1 In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3/b ackward/iostream.h:31, from Client.c++:37: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3/backward/backward_warni ng.h:32:2: warning: #warning This file includes at least one deprecated or anti quated header. Please consider using one of the 32 headers found in section 17. 4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header < strstream.h>. To disable this warning use -Wno-deprecated. mv -f Client.o .libs/Client.lo g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/etc/fam.conf\" -mar ch=athlon -O3 -pipe -c Client.c++ -MT Client.lo -MD -MP -MF .deps/Client.TPlo > /dev/null 2>&1 mv -f .libs/fam.lo fam.lo mv -f .libs/Client.lo Client.lo /bin/sh ../libtool --mode=link g++ -march=athlon -O3 -pipe -o libfam.la -rpa th /usr/lib -export-symbols fam.sym Client.lo fam.lo -lstdc++ -lrpcsvc rm -fr .libs/libfam.la .libs/libfam.* .libs/libfam.* g++ "{ global:" > .libs/libfam.ver g++: { global:: No such file or directory g++: no input files make[2]: *** [libfam.la] Error 1 make[2]: Leaving directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/portage/portage/fam-2.7.0/work/fam-2.7.0' make: *** [all] Error 2 !!! ERROR: app-admin/fam-2.7.0 failed. !!! Function src_compile, Line 418, Exitcode 2 !!! emake failed Expected Results: Compiled and merged fam-2.7.0 Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1) ================================================================= System uname: 2.6.1 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.13 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/data/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi cdr crypt cups dga dvd encode esd foomaticdb gif gphoto2 gpm gtk2 guile java jpeg kde ladcca libg++ libwww mad motif mozilla mpeg ncurses oggvorbis opengl oss pam pdflib perl png python qt quicktime rage128 readline samba scanner spell ssl svga tcpd tetex tiff truetype x86 xml2 xmms zlib" Having poked around a bit, I get the impression that the problem is related to the libtool script in the build directory and in particular the variable $archive_expsym_cmds but I don't know enough about scripting and the way the build system works to diagnose any further.
*** This bug has been marked as a duplicate of 41201 ***