Compile fails due to missing libGLU.la: /bin/sh ../libtool --mode=link gcc -march=pentium3 -O3 -pipe -Wall -std=c9x -o gl.la -rpath /usr/lib/python2.2/site-packages/gtk-2.0/gtk -module -avoid-version -export-symbols-regex initgl gl_la-gtkglmodule.lo gl_la-gtkgl.lo -lgtkgl-2.0 -lGLU -lGL -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 grep: /usr/lib/libGLU.la: No such file or directory /bin/sed: can't read /usr/lib/libGLU.la: No such file or directory libtool: link: `/usr/lib/libGLU.la' is not a valid libtool archive make[2]: *** [gl.la] Error 1 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 Quickie fix: "ln -s /usr/portage/x11-base/xfree/files/4.3.0/lib/libGLU.la /usr/lib/" Reproducible: Always Steps to Reproduce: 1. have xfree-4.3.0-r3 installed 2. emerge pygtk (or anything depending on it) Actual Results: Expected Results: Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4. 20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.10 distcc 2.8 i686-pc-linux-gnu (protocol 1) (default port 3632) [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc-3.2" CONFIG_PROTECT="/etc /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="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ rsync://trumpetti.atm.tut. fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.linux.no/ ftp: //gentoo.linux.no/pub/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://trumpetti.atm.tut.fi/gentoo-x86-portage/" USE="X aalib alsa amd apache2 apm avi berkdb cdr crypt cups curl dga directfb encode fbcon flash foomaticdb gamma gd gdbm ggi gif gphoto2 gpm gtk gtk2 imlib jack java jpeg kde ladcca ldap libg++ libwww lirc lm_sensors lvm mad matrox mcal memlimit mikmod motif mozilla mpeg mpi mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl plotutils png python qt quicktime readline samba scanner sdk sdl slang slp snmp spell sse ssl svga tcltk tcpd tiff truetype usb wmf x86 xinerama xml2 xmms xosd xv zlib"
can anyone else confirm this? seems like xfree should have this libGLU.la installed?
donnie@supernova donnie $ qpkg -l x11-base/xfree | grep -i libglu /usr/lib/libMesaGLU.so -> libGLU.so.1.3 /usr/lib/libGLU.a /usr/lib/libGLU.la /usr/lib/libGLU.so -> libGLU.so.1.3 /usr/lib/libGLU.so.1 -> libGLU.so.1.3 /usr/lib/libGLU.so.1.3 donnie@supernova donnie $ qpkg -I -v x11-base/xfree x11-base/xfree-4.3.99.902 * donnie@nebula donnie $ qpkg -l x11-base/xfree | grep -i libglu /usr/lib/libGLU.a /usr/lib/libGLU.la /usr/lib/libGLU.so.1.3 /usr/lib/libMesaGLU.so -> libGLU.so.1.3 /usr/lib/libGLU.so -> libGLU.so.1.3 /usr/lib/libGLU.so.1 -> libGLU.so.1.3 donnie@nebula donnie $ qpkg -I -v x11-base/xfree x11-base/xfree-4.3.0-r3 *
so this seems like a local problem then .. can't reproduce
I have the same problem. I have just updated to Python-2.3.3. The python-updater tool failed to update some packages, including pygtk. Now I'm trying to emerge pygtk-2.0.0, but it fails with: grep: /usr/lib/libGLU.la: No such file or directory /bin/sed: can't read /usr/lib/libGLU.la: No such file or directory libtool: link: `/usr/lib/libGLU.la' is not a valid libtool archive make[2]: *** [gl.la] Error 1 make[2]: *** Waiting for unfinished jobs.... 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)
Trying to emerge PyOpenGL-2.0.0.44 has a similar problem. Possibly related: In file included from /usr/X11R6/include/GL/glx.h:41, from src/config.h:59, from src/interface_util/interface_util.c:1: /usr/X11R6/include/GL/gl.h:2469:22: GL/glext.h: No such file or directory In file included from src/config.h:59, from src/interface_util/interface_util.c:1: /usr/X11R6/include/GL/glx.h:117:23: GL/glxext.h: No such file or directory In file included from src/interface_util/interface_util.c:1: src/config.h:74:20: GL/glu.h: No such file or directory error: command 'gcc' failed with exit status 1 !!! ERROR: dev-python/PyOpenGL-2.0.0.44 failed. !!! Function distutils_src_compile, Line 38, Exitcode 1 !!! compilation failed
I have fixed the problem on my machine by re-emerging xfree. Even though it was supposed to be the same version I have installed already, some of the shell scripts installed were different (those picked up by etc-update).
well, i can't see why those would of been missed out, but i'm closing this for now.
Created attachment 219177 [details] /var/log/portage/media-video:vlc-1.0.4:20100211-015334.log I reproduced this. uranus ~ # emerge -va media-video/vlc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-video/vlc-1.0.4 USE="X a52 aac aalib alsa avahi bidi cdda cddax cddb cdio dbus dc1394 dirac directfb dts dvb dvd fbcon ffmpeg flac fluidsynth gcrypt ggi gnome gnutls hal httpd id3tag ieee1394 jack kate libass libcaca libnotify libtiger libv4l2 lirc live lua matroska mmx modplug mp3 mpeg mtp musepack ncurses nsplugin ogg opengl oss png pulseaudio pvr qt4 rtsp samba schroedinger sdl sdl-image shout skins speex sse stream svg taglib theora truetype twolame udev upnp v4l v4l2 vcdinfo vcdx vlm vorbis wma-fixed x264 xinerama xml xosd xv (-altivec) -atmo -debug -fontconfig -libproxy -libsysfs -optimisememory (-pda) -remoteosd -run-as-root -shine (-svga) (-win32codecs) -xcb -zvbi" 0 kB [...] libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared .libs/libpulse_plugin_la-pulse.o -Wl,--whole-archive ../../compat/.libs/libcompat.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-1.0.4/work/vlc-1.0.4/src/.libs -lpulse -Wl,--as-needed ../../src/.libs/libvlccore.so -L/usr/lib64 /usr/lib64/libhal.so -luuid /usr/lib64/libdbus-1.so -lrt -lpthread -ldl -lm -march=athlon64 -Wl,-soname -Wl,libpulse_plugin.so -o .libs/libpulse_plugin.so libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared .libs/libalsa_plugin_la-alsa.o -Wl,--whole-archive ../../compat/.libs/libcompat.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-1.0.4/work/vlc-1.0.4/src/.libs -Wl,--as-needed /usr/lib64/libasound.so ../../src/.libs/libvlccore.so -L/usr/lib64 /usr/lib64/libhal.so -luuid /usr/lib64/libdbus-1.so -lrt -lpthread -ldl -lm -march=athlon64 -Wl,-soname -Wl,libalsa_plugin.so -o .libs/libalsa_plugin.so /bin/grep: /usr/lib/libGLU.la: No such file or directory /bin/sed: can't read /usr/lib/libGLU.la: No such file or directory libtool: link: `/usr/lib/libGLU.la' is not a valid libtool archive make[4]: *** [libaout_sdl_plugin.la] Error 1 make[4]: *** Waiting for unfinished jobs.... Please re-open.
ah ... pygtk != vlc i ll make a new bug #304489 :)