This is the output of emerge pygtk (2.0.0): gcc -shared .libs/glade_la-libglademodule.o .libs/glade_la-libglade.o -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib -L/usr/lib /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,-soname -Wl,glade.so -Wl,-retain-symbols-file -Wl,.libs/glade.exp -o .libs/glade.so creating glade.la (cd .libs && rm -f glade.la && ln -s ../glade.la glade.la) make[2]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0' make: *** [all] Error 2 !!! ERROR: dev-python/pygtk-2.0.0 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! (no error message) I can't see an error message. Whats causing this? Output of emerge --info irmeli root # emerge --info Portage 2.0.50_pre22 (default-amd64-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2) ================================================================= System uname: 2.6.2 x86_64 4 Gentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb crypt encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib" Thomas
You're compiling with multiple make instances; when the error occurs, it won't stop the output immediately. The error should be visible in the last 1-2 screens of output.
Hello Uh, you're right. Now i see the error message: grep: /usr/lib/opengl/nvidia/libGL.la: No such file or directory /bin/sed: can't read /usr/lib/opengl/nvidia/libGL.la: No such file or directory libtool: link: `/usr/lib/opengl/nvidia/libGL.la' is not a valid libtool archive make[2]: *** [gl.la] Error 1 make[2]: *** Waiting for unfinished jobs.... creating glade.la (cd .libs && rm -f glade.la && ln -s ../glade.la glade.la) make[2]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0' make: *** [all] Error 2 But libGL.la is now in /usr/lib/opengl/nvidia/lib/. After making a symlink pygtk compiled fine. best regards Thomas
this is a more general issue. /usr/lib/opengl/nvidia/lib/libGL.la still references the file being installed in /usr/lib/opengl/nvidia, as opposed to /usr/lib/opengl/nvidia/lib. chaning the contents of the libtool file, and recompiling gtkglarea ought to fix this until this .la file gets updated.
ok, you got an old and busted .la file somewhere, do this to fix it: delete all the links (if you made any) /usr/lib/opengl/nvidia/ opengl-update nvidia for f in `grep -l '/usr/lib/opengl/nvidia/libGL' /usr/lib/*.la` ; do qpkg -f ${f} done then re-emerge all the packages that are listed