dev-libs/pwlib-1.10.10-r2 fails to build with error: make[1]: Leaving directory `/var/tmp/portage/dev-libs/pwlib-1.10.10-r2/work/pwlib-1.10.10/src/ptlib/unix' i486-pc-linux-gnu-g++ -o obj_linux_x86_r/bash-completion -Os -pipe -fomit-frame-pointer -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -march=geode -Wl,-O1 -Wl,-O1 -L/var/tmp/portage/dev-libs/pwlib-1.10.10-r2/work/pwlib-1.10.10/lib -lpt_linux_x86_r -lpthread -lssl -lcrypto -lexpat -lresolv -ldl /usr/lib/gcc/i486-pc-linux-gnu/4.4.1/../../../../i486-pc-linux-gnu/bin/ld: cannot open output file obj_linux_x86_r/bash-completion: No such file or directory collect2: ld returned 1 exit status make: *** [obj_linux_x86_r/bash-completion] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge pwlib Actual Results: emerge failed with the linker not being able to find obj_linux_x86_r/bash-completion here's my emerge --info: Portage 2.1.6.13 (default/linux/x86/10.0/server, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-rc6-zen0 x86_64) ================================================================= System uname: Linux-2.6.31-rc6-zen0-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_4850e-with-gentoo-2.0.1 Timestamp of tree: Thu, 20 Aug 2009 02:30:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.2-r1, 3.1.1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i486-pc-linux-gnu" CFLAGS="-Os -pipe -fomit-frame-pointer -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -march=geode" CHOST="i486-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -pipe -fomit-frame-pointer -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -march=geode" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en en_US el" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/voip /usr/local/portage/myoverlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow acl acpi bash-completion berkdb bindist bri bzip2 cli cracklib crypt cups curl fftw fortran ftp gdbm git gnutls hal iconv imap isdnlog java mercurial mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php pppd python readline reflection ruby session snmp speex spl ssl subversion sysfs tcpd unicode upnp visibility x86 xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en en_US el" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of bug 109006 ***