Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181370 - dev-libs/pwlib-1.10.7 fails when trying to install libpt_linux_x86_d.so.1.10.7
Summary: dev-libs/pwlib-1.10.7 fails when trying to install libpt_linux_x86_d.so.1.10.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-09 01:56 UTC by Iain Buchanan
Modified: 2008-01-14 00:11 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 Iain Buchanan 2007-06-09 01:56:01 UTC
This happened a few weeks ago, but I've only been able to re-sync today.  Problem is still there.  pwlib is expecting lib/libpt_linux_x86_d.so.1.10.7 to be made, but it isn't, so the install fails.

Last few lines of emerge (-vauDn world)

make[1]: Leaving directory `/var/tmp/portage/dev-libs/pwlib-1.10.7/work/pwlib-1.10.7/plugins'
>>> Source compiled.
>>> Test phase [not enabled]: dev-libs/pwlib-1.10.7

>>> Install pwlib-1.10.7 into /var/tmp/portage/dev-libs/pwlib-1.10.7/image/ category dev-libs
( for dir in /var/tmp/portage/dev-libs/pwlib-1.10.7/image//usr/lib \
                     /var/tmp/portage/dev-libs/pwlib-1.10.7/image//usr/bin \
                     /var/tmp/portage/dev-libs/pwlib-1.10.7/image//usr/include/ptlib \
                     /var/tmp/portage/dev-libs/pwlib-1.10.7/image//usr/include/ptlib/unix/ptlib \
                     /var/tmp/portage/dev-libs/pwlib-1.10.7/image//usr/include/ptclib \
                     /var/tmp/portage/dev-libs/pwlib-1.10.7/image//usr/share/pwlib/make ; \
                do mkdir -p $dir ; chmod 755 $dir ; \
        done )
/usr/bin/install -c -m 444 lib/libpt_linux_x86_d.so.1.10.7 /var/tmp/portage/dev-libs/pwlib-1.10.7/image//usr/lib
/usr/bin/install: cannot stat `lib/libpt_linux_x86_d.so.1.10.7': No such file or directory
make: *** [install] Error 1

!!! ERROR: dev-libs/pwlib-1.10.7 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_install
  ebuild.sh, line 1067:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  pwlib-1.10.7.ebuild, line 102:   Called die

!!! install failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/pwlib-1.10.7/temp/build.log'.


Reproducible: Always

Steps to Reproduce:




$ emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r3, 2.6.21-suspend2-r5 i686)
=================================================================
System uname: 2.6.21-suspend2-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 08 Jun 2007 06:00:09 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo/ ftp://gg3.net/pub/linux/gentoo/ ftp://gentoo.ccccom.com ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_AU"
LINGUAS="en_AU en en_GB en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/synce /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi aiglx alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kerberos ldap libg++ mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3support quicktime readline reflection samba sdl session smb spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa fbdev fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Iain Buchanan 2007-06-09 02:12:54 UTC
The files and directories in the src tree after make are:

# ls -l /var/tmp/portage/dev-libs/pwlib-1.10.7/work/pwlib-1.10.7/lib/
total 29216
-rw-r--r-- 1 portage portage 18968426 2007-06-08 23:56 libpt_linux_x86_r_s.a
lrwxrwxrwx 1 portage portage       27 2007-06-08 23:56 libpt_linux_x86_r.so -> libpt_linux_x86_r.so.1.10.7
lrwxrwxrwx 1 portage portage       27 2007-06-08 23:56 libpt_linux_x86_r.so.1 -> libpt_linux_x86_r.so.1.10.7
lrwxrwxrwx 1 portage portage       27 2007-06-08 23:56 libpt_linux_x86_r.so.1.10 -> libpt_linux_x86_r.so.1.10.7
-rwxr-xr-x 1 portage portage 10896758 2007-06-08 23:56 libpt_linux_x86_r.so.1.10.7
drwxr-xr-x 2 portage portage     4096 2007-06-08 23:56 obj_linux_x86_d
drwxr-xr-x 2 portage portage     4096 2007-06-08 23:56 obj_linux_x86_r

obj_linux_x86_d just has one file in it called "*.dep"

I tried to follow where PTLIB_FILE was defined from the Makefile:
	$(INSTALL) -m 444 lib/$(PTLIB_FILE).1.10.7 $(DESTDIR)$(LIBDIR)
but I got nowhere.

thanks!
Comment 2 Iain Buchanan 2007-08-20 13:29:48 UTC
happens with gcc 4.1.2 (new) as well as 3.4.6 (original).
Comment 3 Iain Buchanan 2007-08-24 04:25:42 UTC
This stops opal and ekiga from building, because as you probably know they require pwlib.

I made a symlink in /var/tmp/portage/pwlib.../work/... from lib/libpt_linux_x86_d.so.1.10.7 to libpt_linux_x86_r.so.1.10.7 and (FEATURES += keepwork, emerge --resume) completes without further error.

However, opal then fails because it can't find libpt_linux_x86_r.so! If I make a symlink from that to _d.so, then opal builds, but ekiga fails!

I think these issues are somehow related - probably because I did the wrong think with my symlinks :)

I can't figure out what's going on here - any ideas?

thanks.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-01-14 00:11:29 UTC
hey guys, this is completely obsolete... This version is not in tree anymore and as far as I can tell, ekiga/opal/pwlib works correctly.

I'm closing this but if there are objections please reopen.