Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109006 - >=dev-libs/pwlib-1.8 fails to build (cannot open output file obj_linux_x86_r/bash-completion)
Summary: >=dev-libs/pwlib-1.8 fails to build (cannot open output file obj_linux_x86_r/...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 282067 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-12 07:41 UTC by Francois ROLAND
Modified: 2010-03-19 18:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois ROLAND 2005-10-12 07:41:14 UTC
pwlib-1.8.7 cannot open output file obj_linux_x86_r/bash-completion

When emerging dev-libs/pwlib-1.8.7, the compilation fails with the following
message:

cd /var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib ; rm -f
libpt_linux_x86_r.so ; ln -sf libpt_linux_x86_r.so.1.8.7 libpt_linux_x86_r.so
cd /var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib ; rm -f
libpt_linux_x86_r.so.1 ;  ln -sf libpt_linux_x86_r.so.1.8.7
libpt_linux_x86_r.so.1cd /var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib ; rm
-f libpt_linux_x86_r.so.1.8 ;  ln -sf libpt_linux_x86_r.so.1.8.7
libpt_linux_x86_r.so.1.8
make[1]: Leaving directory
`/var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/src/ptlib/unix'
g++ -o obj_linux_x86_r/bash-completion -O2 -march=pentium4 -pipe
-falign-functions=4 -mtune=pentium4 -fweb -Wl,-O1 -Wl,--sort-common
-Wl,--enable-new-dtags -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags
-L/usr/lib -s -L/var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib  
-lpt_linux_x86_r -lldap -lldap_r -llber  -lpthread -lsasl2 -lssl -lcrypto
-lexpat -lresolv -ldl -lesd
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot open output file obj_linux_x86_r/bash-completion: Aucun fichier ou
r
Comment 1 Francois ROLAND 2005-10-12 07:41:14 UTC
pwlib-1.8.7 cannot open output file obj_linux_x86_r/bash-completion

When emerging dev-libs/pwlib-1.8.7, the compilation fails with the following
message:

cd /var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib ; rm -f
libpt_linux_x86_r.so ; ln -sf libpt_linux_x86_r.so.1.8.7 libpt_linux_x86_r.so
cd /var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib ; rm -f
libpt_linux_x86_r.so.1 ;  ln -sf libpt_linux_x86_r.so.1.8.7
libpt_linux_x86_r.so.1cd /var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib ; rm
-f libpt_linux_x86_r.so.1.8 ;  ln -sf libpt_linux_x86_r.so.1.8.7
libpt_linux_x86_r.so.1.8
make[1]: Leaving directory
`/var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/src/ptlib/unix'
g++ -o obj_linux_x86_r/bash-completion -O2 -march=pentium4 -pipe
-falign-functions=4 -mtune=pentium4 -fweb -Wl,-O1 -Wl,--sort-common
-Wl,--enable-new-dtags -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags
-L/usr/lib -s -L/var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib  
-lpt_linux_x86_r -lldap -lldap_r -llber  -lpthread -lsasl2 -lssl -lcrypto
-lexpat -lresolv -ldl -lesd
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot open output file obj_linux_x86_r/bash-completion: Aucun fichier ou
répertoire de ce type
collect2: ld a retourné 1 code d'état d'exécution
make: *** [obj_linux_x86_r/bash-completion] Erreur 1

The problem also occurs when compiling pwlib-1.6.3.

From what I understand, pwlib compiles successfuly, but something done after it
fails. I looked at the ebuild but didn't find anything related to bash-completion.

I even tried to modify my USE flags to suppress bash-completion. g++ was then
executing with -o obj_linux_x86_r/-bash-completion.

Reproducible: Always
Steps to Reproduce:
1. emerge "=dev-libs/pwlib-1.8.7"

Actual Results:  
g++ failed when trying to compile an undefined file, putting its output in an
unexisting directory.


Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -falign-functions=4 -mtune=pentium4 -fweb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -falign-functions=4 -mtune=pentium4 -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks fixpackages sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://mir.zyrianes.net/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/
http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_BE"
LC_ALL="fr_BE"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags"
LINGUAS="fr en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://frmaserver/gentoo-portage"
USE="X Xaw3d aac acpi aim alsa apache2 artworkextra audiofile avi
bash-completion berkdb bitmap-fonts bonobo browserplugin cdparanoia cdr crypt
cups curl divx4linux dv dvd dvdr eds emboss encode esd evo evo2 exif fam fastcgi
fbcon firefox flac flash foomaticdb fortran ftp gcc gcj gd gdbm gif gimp
gimp-print gimpprint gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml
hal howl icq imagemagick imap imlib innodb jabber java jpeg junit ldap libg++
libwww lirc logrotate mad maildir mailwrapper mikmod mime ming mmx mmx2 mng mono
motif mozilla mp3 mpeg msn mule mysql ncurses nls nntp nptl nptlonly nsplugin
offensive ogg oggvorbis openal opengl oscar oss pam pcmcia pcre pda pdflib perl
php png ppds python qmail quicktime readline samba scanner sdl skey sox spell
sqlite sse sse2 ssl svg svga tcltk tcpd threads tidy tiff truetype
truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf x86 xine xinerama
xml xml2 xmms xprint xv xvid yahoo zlib linguas_fr linguas_en userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 22:28:55 UTC
Reopen if you can reproduce w/ 1.10.5; thanks.
Comment 3 kfm 2009-08-20 11:52:31 UTC
Re-opening as this problem has been reported once more in a new bug (which I am about to mark as a duplicate of this one).
Comment 4 kfm 2009-08-20 11:53:27 UTC
*** Bug 282067 has been marked as a duplicate of this bug. ***
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-23 01:46:31 UTC
Does this problem go away if you build with MAKEOPTS="-j1" ?
Comment 6 Pacho Ramos gentoo-dev 2010-03-19 16:31:25 UTC
(In reply to comment #5)
> Does this problem go away if you build with MAKEOPTS="-j1" ?
> 

Has anybody tried? Would be also interesting to see how does net-libs/ptlib behave since it will replace pwlib
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2010-03-19 18:31:52 UTC
Please get back to us.

Thanks