Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41415 - estyle make can't find /usr/lib/opengl/nvidia/libGL.la but it is in /usr/lib/opengl/nvidia/lib/libGL.la
Summary: estyle make can't find /usr/lib/opengl/nvidia/libGL.la but it is in /usr/lib...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 14:02 UTC by Aaron Peterson
Modified: 2004-03-03 14:36 UTC (History)
0 users

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 Aaron Peterson 2004-02-12 14:02:51 UTC
/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"
Comment 1 Aaron Peterson 2004-02-12 14:08:09 UTC
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
Comment 2 Aaron Peterson 2004-02-15 03:35:14 UTC
could this just a symptom of my libraries always changing and breaking everything else down the line?
Comment 3 Tobias Minich 2004-02-15 10:34:36 UTC
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)
Comment 4 SpanKY gentoo-dev 2004-02-20 22:09:52 UTC
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 >
Comment 5 SpanKY gentoo-dev 2004-03-03 14:36:59 UTC
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