I'm using 32 bit gentoo on an amd64 with the 2.6 kernel series and I cannot get pygtk-2.0.0-r1 to compile. Reproducible: Always Steps to Reproduce: 1. emerge pygtk Actual Results: !!! ERROR: dev-python/pygtk-2.0.0-r1 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! (no error message) Expected Results: Compiled bash-2.05b# emerge info Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.3-rc2-gentoo) ================================================================= System uname: 2.6.3-rc2-gentoo i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -msse2 -msse -fomit-frame-pointer -pipe" CHOST="i686-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 -march=athlon-xp -msse2 -msse -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://mirror.tucdemonic.org/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo ftp://mirrors.tds.net/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 aalib acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga dvd dvdr encode esd flac foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang speex spell sse sse2 ssl svga tcpd truetype usb x86 xml2 xmms xv zlib"
Created attachment 25628 [details] strace of emerge pygtk
Created attachment 25629 [details] Output from emerge pygtk 2>&1 | tee emerge.txt Here is the console output.
sorry, but the strace is useless, please don't attach that unless we ask for it. however, the log is much more useful: 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 sure that none of your /usr/lib/*.la have references to that directory. you may have to run opengl-update and re-emerge things like gtkglext or gtkglarea.
libGL.la isnt in /usr/lib/opengl/nvidia. Its in /usr/lib/opengl/nvidia/lib
spyderous, another opengl-update problem here? not sure why we are suddenly seeing so many of these.
what version of opengl-update are you using?
Andrew, you were fixing the nvidia libtool archive issue. Did you?
Yes I did commit the fixes that should have resolved the libdir issue. These fixes are in both nvidia-glx-5332-r1 and nvidia-glx-5336-r1, but the problem is that another package would probably have been built before we caught / fixed the libGL.la issue -- and its dependency_libs variable has the wrong path. <To the reporter> Please make sure you are running one of the above nvidia-glx versions and then remerge x11-libs/gtkglarea, once that is complete try and recompile pygtk. If that does not resolve the issue can you please run this and post the output of : grep nvidia\/lib /usr/lib/*
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