Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302800 - nvidia-drivers-190.42-r3; don't generate libGL.la anymore
Summary: nvidia-drivers-190.42-r3; don't generate libGL.la anymore
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 20:55 UTC by Dominik Keil
Modified: 2010-02-09 15:52 UTC (History)
2 users (show)

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 Dominik Keil 2010-01-29 20:55:11 UTC
changelog sais "remove generation of libGL.la since eselect-opengl-1.0.9 and newer no longer uses it. refactor installation of libraries to fix FreeBSD issues"

maybe eselect doesn't use that file any more but there are packages which need this file for building...

gnash 0.8.6 for example...

Reproducible: Always

Steps to Reproduce:
1. install nvidia-drivers-190.42-r3
2. install, say, www-plugin/gnash-0.8.6

Actual Results:  
build of gnash fails due to missing libGL.la

Expected Results:  
build of gnash succeeds or at least doesn't complain about missing libGL.la
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-01-29 21:03:10 UTC
Please read and follow the elog messages that came after upgrading eselect-opengl. /var/log/portage/elog/summary.log if you missed it.
Comment 2 John W Eckhart 2010-01-31 18:22:34 UTC
I noticed the same error manifest while trying to ebuild vinagre-2.28.1 via libtool errors trying to link libvnc.la:

mv -f .deps/vinagre-vnc-tab.Tpo .deps/vinagre-vnc-tab.Plo
/bin/sh ../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -Os -pipe -module -avoid-version -Wl,-O1 -o libvnc.la -rpath /usr/lib64/vinagre-1/plugins vinagre-vnc-plugin.lo vinagre-vnc-connection.lo vinagre-vnc-tab.lo -lgtk-vnc-1.0 -lgtk-x11-2.0 -lgnutls -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lxml2
/bin/grep: /usr/lib64/libGL.la: No such file or directory
/bin/sed: can't read /usr/lib64/libGL.la: No such file or directory
libtool: link: `/usr/lib64/libGL.la' is not a valid libtool archive

I have run "eselect opengl set nvidia" prior to this and I've even trying doing "eselect opengl set xorg-x11" followed by "eselect opengl set nvidia" however neither is creating the symlink from /usr/lig64/opengl/nvidia/lib/libGL.la to /usr/lib64/libGL.la .

I seem to recall a decision change NOT to create /usr/lib64/libGL.la however I can't find the report. In any case this is preventing other things from emerging.

In any case, manually creating the symlink does allow vinagre to ebuild successfully.
Comment 3 Armando Di Cianno 2010-02-03 15:58:03 UTC
I've noticed that the manually created link fixes packages, but then seems to get removed at some point.  This creates a little time-bomb of surprise when a package will suddenly fail.
Comment 4 Max Hacking 2010-02-05 15:42:18 UTC
A copy of libGL.la is also shipped with mesa (in the files directory of its ebuild) which gets installed to /usr/lib64/opengl/xorg-x11/lib/libGL.la.

I'm guessing the applications should be linking to that instead of the driver specific version?  If not, maybe the mesa package should create the symbolic link?
Comment 5 John W Eckhart 2010-02-05 17:57:46 UTC
Hrmm ... after further investigation I believe this is related to the plague that is libtool .la file linkage. I ran lafilefixer --justfixit (you may have to emerge lafilefixer first) and then re-tried my emerge without any libGL.la symbolic links and it finished successfully.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-09 15:52:11 UTC
(In reply to comment #5)
> Hrmm ... after further investigation I believe this is related to the plague
> that is libtool .la file linkage. I ran lafilefixer --justfixit (you may have
> to emerge lafilefixer first) and then re-tried my emerge without any libGL.la
> symbolic links and it finished successfully.

    # info about removal of .la file
    einfo
    elog "eselect-opengl since version 1.0.9 strips the libGL.la file."
    elog "This file was broken by design and thus removed."
    elog "For fixing all sort of configure issues please run:"
    elog "  lafilefixer --justfixit"                                 
    elog "or run revdep-rebuild if you update from any older release."
    elog "(lafilefixer package can be found as dev-util/lafilefixer)