Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293275 - app-admin/eselect-opengl: /usr/lib64/libGL.la not set
Summary: app-admin/eselect-opengl: /usr/lib64/libGL.la not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-15 13:14 UTC by Krzysztof Magusiak
Modified: 2009-11-15 14:54 UTC (History)
1 user (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 Krzysztof Magusiak 2009-11-15 13:14:06 UTC
When I execute 'eselect opengl set 1' (I use the nvidia implementation), many packages cannot compile because /usr/lib64/libGL.la is missing.

Reproducible: Always

Steps to Reproduce:
1. eselect opengl set 1
2. run revdep-rebuild
Actual Results:  
revdep-rebuild finds packages to recompile but the compilation fails because /usr/lib64/libGL.la is not found.

Expected Results:  
A symbolic link /usr/lib/libGL.la -> /usr/lib/opengl/xorg-x11/lib/libGL.la should be created when using eselect opengl.

# emerge --info
Portage 2.1.7.4 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.0.1
Timestamp of tree: Sun, 15 Nov 2009 11:30:22 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 a52 aac acl acpi adns alsa amd64 apache2 api apm aspell audiofile auto-completion automount avahi bash-completion bcmath berkdb bzip2 cairo caps cdr cdrkit cdrtools cgi cli console consolekit cpulimit cracklib crypt ctype cups curl curlwrappers custom-cflags custom-optimization cvs cxx dbase dbus dbx dga directfb dmraid dri dv dvb dvd dvdr dvdread dvi emerald encode examples exif extras fastcgi fat ffmpeg filter firefox firefox3 flac fortran ftp fuse gcrypt gd gdbm gdm gif gimp glitz gnome gnutls gpm gstreamer gtk gtkhtml gzip hal hddtemp hvm iconv id3 id3tag imagemagick innodb iodbc ipv6 jadetex java java6 javascript jpeg jpeg2k json lame latex libgcrypt libmpd libnotify libssh2 libv4l2 libwww mad mdnsresponder-compat memlimit mhash mime mmx mmxext modules mozilla mp3 mp4 mp4live mpd mpeg mpeg2 msn mudflap multilib multiuser mysql mysqli nautilus ncurses network nfs nls nptl nptlonly nsplugin ntfs numeric nvidia nvtv odbc ogg opengl openmp oracle oss pam pcre pdf perl php pidgin png posix postgres pppd python rar rdesktop readline reflection regex regexp reiser4 reiserfs rss samba screen sdl session sftp sharedext simplexml sndfile soap sockets socks5 sourceview speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification stream subversion suhosin svg sysfs syslog taglib tcl tcpd tcpdump theora threads threadsafe tiff truetype unicode unzip usb v4l v4l2 vcd vdpau vorbis wireshark x264 xcb xcomposite xen xfs xine xinerama xml xorg xpm xrandr xsl xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2 ricoh" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Krzysztof Magusiak 2009-11-15 13:20:18 UTC
Why there is no libGL.la file in /usr/lib64/opengl/nvidia/lib ?
My version of nvidia-drivers is 190.42-r3.
Comment 2 corec 2009-11-15 13:30:42 UTC
Seems that eselect-opengl was recently modified to not make the .la file.

snip from app-admin/eselect-opengl Changelog:

  30 Oct 2009; Tomáš Chvátal <scarabeus@gentoo.org>
  +eselect-opengl-1.0.9.ebuild:
  Version bump.
  Use symlinks with relative path instead of absolute one everywhere.
  Rewrite code to be at least a bit readable (use functions).
  Since this release .la files are ignored.


What is the solution to this because revdep-rebuild shows ~100 packages depending on libGL.la? I tried to reemerge few of them but none would emerge successfully without libGL.

Ps. I'm running ~x86
Comment 3 corec 2009-11-15 13:55:39 UTC
stupid me, missed this elog message when updated eselect-opengl:

eselect-opengl since version 1.0.9 strips the libGL.la file.
This file was broken by design and thus removed.
For fixing all sort of configure issues please run:
  lafilefixer --justfixit
or run revdep-rebuild if you update from any older release.
(lafilefixer package can be found as dev-util/lafilefixer)
Comment 4 Krzysztof Magusiak 2009-11-15 14:54:06 UTC
(In reply to comment #3)
> stupid me, missed this elog message when updated eselect-opengl:
> 
> eselect-opengl since version 1.0.9 strips the libGL.la file.
> This file was broken by design and thus removed.
> For fixing all sort of configure issues please run:
>   lafilefixer --justfixit
> or run revdep-rebuild if you update from any older release.
> (lafilefixer package can be found as dev-util/lafilefixer)
> 

Thank you, this fixes the problem. (I missed it too.)