Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78177 - Pyorbit compile failed trying to access non-existant directory
Summary: Pyorbit compile failed trying to access non-existant directory
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-15 22:54 UTC by Jordan Patterson
Modified: 2005-04-20 08:35 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 Jordan Patterson 2005-01-15 22:54:52 UTC
/bin/sh ../libtool --mode=link gcc  -O2 -march=k8 -pipe -fomit-frame-pointer -Wall -std=c9x -fno-strict-aliasing   -o ORBit.la -rpath /usr/lib/python2.3/site-packages -module -avoid-version -export-symbols-regex initORBit ORBitmodule.lo pycorba-typecode.lo pycorba-object.lo pycorba-method.lo pycorba-marshal.lo pycorba-orb.lo pycorba-any.lo pycorba-exceptions.lo pycorba-struct.lo pycorba-enum.lo pycorba-fixed.lo stub-gen.lo pyorbit-servant.lo pyorbit-poa.lo pyorbit-utils.lo -pthread -lORBit-imodule-2 -lORBit-2 -lm -lIDL-2 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
../libtool: line 2979: cd: usr/lib: No such file or directory
libtool: link: warning: cannot determine absolute directory name of `usr/lib'
grep: usr/lib/libIDL-2.la: No such file or directory
/bin/sed: can't read usr/lib/libIDL-2.la: No such file or directory
libtool: link: `usr/lib/libIDL-2.la' is not a valid libtool archive
make[2]: *** [ORBit.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/pyorbit-2.0.1/work/pyorbit-2.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pyorbit-2.0.1/work/pyorbit-2.0.1'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1. emerge pyorbit

Actual Results:  
Failed with the given error.

Expected Results:  
Should compile correctly.

Portage 2.0.51-r11 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r4 x86_64 Mobile AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 10 2005, 19:35:59)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r2, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups emul-linux-x86 esd f77
fam font-server fortran freetype gdbm gif gnome gpm gstreamer gtk hal ide
imagemagick imlib ipv6 ithreads java jp2 jpeg junit ldap lzw lzw-tiff mp3
multilib ncurses nls nptl opengl oss pam perl png pthreads python qt readline
samba screensaver sdl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts
usb userlocales xml xml2 xpm xrandr xv zlib"
Unset:  LDFLAGS
Comment 1 Adam Bowers 2005-01-17 22:47:49 UTC
I get the same thing on my system.  Similar setup.
Comment 2 foser (RETIRED) gentoo-dev 2005-01-18 05:18:31 UTC
your 'emerge info' ?
Comment 3 José Romildo Malaquias 2005-01-25 09:24:28 UTC
I am also having this problem.

The output of 'emerge --info':

]2;Started emerge on: Jan 25, 2005 15:25:41]2; *** emerge --buildpkg infoGentoo Base System version 1.6.8
]2; *** terminating.]2;xtermPortage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 25 2005, 14:40:38)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox strict usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib acpi alsa avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd emacs encode esd f77 fam fbcon flac font-server fortran gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 java jp2 jpeg kde libcaca libwww lirc lzw lzw-tiff mad mbox motif mozilla mpeg multilib ncurses neXt nls nvidia oggvorbis opengl oss pam perl png python qt quicktime readline samba sdl spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 wmf xml xml2 xpm xrandr xv zlib linguas_en linguas_fr linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 4 John Alberts 2005-01-25 22:34:13 UTC
Same problem here.  Looks like we are all using gcc 3.4.3.  I posted my emerge info in a thread a started http://forums.gentoo.org/viewtopic.php?t=284907&highlight=
Comment 5 Jonas Wouters 2005-01-26 14:46:11 UTC
here is a solution:
http://gnomesupport.org/forums/viewtopic.php?t=5287&start=105
Comment 6 John Alberts 2005-01-26 22:21:20 UTC
Thanks.  That worked.  I just deleted all '.la' files from /usr/lib and pyOrbit will compile without fail. Everything works great now. Of course, I didn't delete the files, I just moved them elsewhere for safe keeping. It hasn't seemed to effect any other parts of the system. 
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2005-01-27 03:34:05 UTC
the .la files are used by libtool to find the dependencies for each of the libraries i compiles.  one of the .la files is corrupted in that it doesn't give the full path ("/usr/lib" vs "usr/lib"). 

are you able to find which one that is from yoru existing .la files?

try: fgrep -E "[^/]usr/lib" /usr/lib/*.la
Comment 8 foser (RETIRED) gentoo-dev 2005-01-28 06:28:22 UTC
looks like you are all using amd64 ... see bug #79713 for a possible dupe
Comment 9 Tom Martin (RETIRED) gentoo-dev 2005-02-08 11:25:24 UTC
Encountered the same problem, also on amd64. Remerged gnome-base/orbit and solved it. Not sure of a long term fix though...
Comment 10 Glenn L. McGrath 2005-02-10 14:44:49 UTC
I have the following on my system, (i struck this bug and am amd64 as well)
libIDL-2.la:libdir='usr/lib'
libvte.la:libdir='usr/lib'
Comment 11 Glenn L. McGrath 2005-02-10 14:59:57 UTC
Changing usr/lib to /usr/lib didnt help, remerging orbit fixed the problem
Comment 12 Alastair Tse (RETIRED) gentoo-dev 2005-04-20 08:35:38 UTC
dunno how that would happen? closing as WORKSFORME for now. reopen if someone has a patch for this.