/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]: *** [libestyle.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/estyle-0.0.2.20040201/work/estyle/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/estyle-0.0.2.20040201/work/estyle' make: *** [all-recursive-am] Error 2 !!! ERROR: media-libs/estyle-0.0.2.20040201 failed. !!! Function enlightenment_src_compile, Line 68, Exitcode 2 !!! emake failed bash-2.05b# locate libGL.la warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old /usr/portage/x11-base/xfree/files/4.3.0/lib/libGL.la /usr/portage/media-video/nvidia-glx/files/libGL.la /usr/portage/media-video/nvidia-glx/files/libGL.la.1 /usr/lib/opengl/nvidia/lib/libGL.la /usr/lib/opengl/xfree/lib/libGL.la bash-2.05b# bash-2.05b# emerge libtool -p emerge nvidia-glx -p emerge nvidia These are the packages that I would merge, in order: -kernel Calculating dependencies ...done! [ebuild R ] sys-devel/libtool-1.5.2-r3 bash-2.05b# emerge nvidia-glx -p -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/nvidia-glx-1.0.5336 bash-2.05b# emerge nvidia-kernel -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/nvidia-kernel-1.0.5336-r1 bash-2.05b# emerge estyle -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-libs/estyle-0.0.2.20040201 [0.0.2.20031115] bash-2.05b# Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: work arround currently trying: bash-2.05b# ln -s /usr/lib/opengl/nvidia/lib/libGL.la ./ bash-2.05b# ls extensions include lib libGL.la bash-2.05b# pwd /usr/lib/opengl/nvidia I may have to symlink the whole directory bash-2.05b# emerge --info Portage 2.0.50-r1 (default-x86-1.4, 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) XP 1700+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/env.d" CXXFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib acpi acpi4linux alsa amd apache2 apm arts avi berkdb bonobo cdr cjk cjkcrypt crypt cscope cups dga directfb dv dvb dvd encode esd fbcon ffmpeg flac flash foomaticdb gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imap imlib java javascript joystick jpeg kde ldap libcss libdvdread libg++ libwww mad maildir md5sum mdb mikmod mmx motif mozilla mpeg mule mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline samba sasl scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff transcode truetype usb v4l vhosts x86 xine xinerama xml2 xmms xv xvid zeo zlib"
ecore is also affected and symlinking the whole directory was neccessary, but perhaps wrong. anyway, I got my new version of ecore after doing such
could this just a symptom of my libraries always changing and breaking everything else down the line?
I'd say no. I have the same problem. It even persists if I switch to xfree opengl with opengl-update! (meaning it still tries to link to the nvidia opengl library)
try this ... opengl-update nvidia < make sure you have /usr/lib/libGL.la > grep libGL.la /usr/lib/*.la < make sure everything references /usr/lib/libGL.la ... if something doesnt, re-emerge it >
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