When compiling gnome-desktop (and a number of other packages that link against libGL.so) the following error message occur. I'm using the mesa-9999 ebuild from the x11 overlay. Error log: /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=nocona -fomit-frame-pointer -mno-tls-direct-seg-refs -version-info 9:5:2 -no-undefined -Wl,--as-needed -o libgnome-desktop-2.la -rpath /usr/lib64 gnome-desktop-item.lo gnome-ditem-edit.lo gnome-hint.lo gnome-bg.lo display-name.lo gnome-rr.lo gnome-rr-config.lo gnome-rr-labeler.lo edid-parse.lo -lX11 -lXrandr -pthread -lxml2 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -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 -lz -lfontconfig -lgthread-2.0 -lrt -lgmodule-2.0 -lgobject-2.0 -lgconf-2 -lglib-2.0 -lstartup-notification-1 grep: /usr//usr/${libdir}/libGL.la: No such file or directory /bin/sed: can't read /usr//usr/${libdir}/libGL.la: No such file or directory libtool: link: `/usr//usr/${libdir}/libGL.la' is not a valid libtool archive make[3]: *** [libgnome-desktop-2.la] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-desktop-2.24.2/work/gnome-desktop-2.24.2/libgnome-desktop' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-desktop-2.24.2/work/gnome-desktop-2.24.2/libgnome-desktop' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-desktop-2.24.2/work/gnome-desktop-2.24.2' make: *** [all] Fehler 2 * * ERROR: gnome-base/gnome-desktop-2.24.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 716: Called gnome2_src_compile * environment, line 641: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/gnome-base/gnome-desktop-2.24.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-desktop-2.24.2/temp/environment'. * >>> Failed to emerge gnome-base/gnome-desktop-2.24.2, Log file: >>> '/var/tmp/portage/gnome-base/gnome-desktop-2.24.2/temp/build.log' emerge info: Portage 2.1.6_rc2 (default/linux/amd64/2008.0/developer, gcc-4.3.1, glibc-2.7-r2, 2.6.28-rc5-mactel x86_64) ================================================================= System uname: Linux-2.6.28-rc5-mactel-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5 Timestamp of tree: Tue, 02 Dec 2008 23:37:03 +0000 app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer -mno-tls-direct-seg-refs" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" 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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect cvs digest distlocks metadata-transfer multilib-strict parallel-fetch protect-owned sandbox sfperms sign splitdebug strict stricter unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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/layman/java-overlay /usr/local/portage/layman/gentopia /usr/local/portage/layman/mozilla /usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/overlays/lars /usr/local/overlays/party-ebuilds /usr/local/overlays/php-overlay /usr/local/overlays/couchdb-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi admin aiglx alsa amd64 apache2 applet asyncns audioscrobbler autoipd automount avahi bash-completion beagle berkdb binfilter bluetooth bonjour bookmarks bzip2 cairo cdda cddb cdparanoia cdr chm consolekit cpudetection cracklib crypt cscope cups curl cvs daap dbus dell device-mapper dga dia dirac disk-partition djvu dmi dpms dri dri2 dts dv dvb dvd dvdnav dvdr dvdread dvi eds enca encode eog esd evo exif extraengine extras fam fbsplash ffmpeg firefox flac fontconfig ftp fuse gajim galago gdbm gedit gif gimp gimp-print gimpprint git glade glitz gnet gnome gnome-keyring gnome-print gphoto2 gpm gsf gsm gstreamer gstreamer010 gtk gtkhtml guile gzip hal howl hvm iconv idle idn ieee1394 ilbc inkjar ipod ipv6 jabber jack java5 jingle jpeg jrtplib kdeenablefinal keyring laptop lcms ldap libcaca libgda libnotify libsexy live logrotate lua lzo mactel mad matroska mhash midi mmx mng mono mozdevelop mp2 mp3 mpeg mpm-worker msn multilib multiuser musepack musicbrainz mysql nautilus ncurses networkmanager newspr nfs njb nls nntp no-old-linux nptl nptlonly nsplugin ntp ntplonly office ogg opengl ortp pam pango pcf pcre pdf php png portaudio ppds prediction print printer pygrub python quicktime rar readline ruby samba schroedinger slp smp soap sockets speex spell sqlite sqlite3 srt srv srvdir sse sse2 ssh ssl ssse3 startup-notification subversion svg t1lib tagwriting theora threads tiff tracker trayicon truetype tslib unicode usb v4l v4l2 vim-pager vim-syntax vorbis vorbis-psy webdav wma wmf x264 xanim xattr xcb xcomposite xforms xft xhtml xinerama xml xml2 xorg xprint xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="hda-intel als4000" ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm asym dmix empty iec958 ioplug plug softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="macmini" USERLAND="GNU" VIDEO_CARDS="intel i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Something got broken on your system. First, reset 'eselect opengl' (check with 'ls -l /usr/lib/libGl.so'), then grep in all *.la files for the '/usr//usr/${libdir}/libGL.la' string and reemerge all of found packages.
I've tried that before, the .so and .la file is in place: $ ls -lh /usr/lib64/libGL.* -rw-r--r-- 1 root root 747 30. Nov 13:05 /usr/lib64/libGL.la lrwxrwxrwx 1 root root 40 30. Nov 13:05 /usr/lib64/libGL.so -> //usr/lib64/opengl/xorg-x11/lib/libGL.so
Created attachment 174140 [details] /usr/lib/libGL.la
Please re-emerge sys-devel/libtool and try again - it looks like you went ACCEPT_KEYWORDS=~amd64 without entirely updating your system packages. If that doesn't help, run `emerge -vuaDN world' and try again. If that doesn't help, reopen this bug report.
I'm using and unstable system from the beginning of setting it up, so it is not related to ACCEPT_KEYWORDS misuse. I've tried remerging libtool but that doesn't help. gnome-panel e.g. is still not linking and therefore I can't upgrade my system. gnome-panel error message: libtool: link: cannot find the library `/usr//usr//usr/lib64/libGL.la' or unhandled argument `/usr//usr//usr/lib64/libGL.la' make[4]: *** [gnome-panel] Fehler 1 make[4]: *** Warte auf noch nicht beendete Prozesse... libtool: link: cannot find the library `/usr//usr//usr/lib64/libGL.la' or unhandled argument `/usr//usr//usr/lib64/libGL.la' make[4]: *** [gnome-desktop-item-edit] Fehler 1 make[4]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.24.1-r1/work/gnome-panel-2.24.1/gnome-panel' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.24.1-r1/work/gnome-panel-2.24.1/gnome-panel' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.24.1-r1/work/gnome-panel-2.24.1/gnome-panel' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-panel-2.24.1-r1/work/gnome-panel-2.24.1' make: *** [all] Fehler 2 * * ERROR: gnome-base/gnome-panel-2.24.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2853: Called gnome2_src_compile * environment, line 2222: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/gnome-base/gnome-panel-2.24.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-panel-2.24.1-r1/temp/environment'. * >>> Failed to emerge gnome-base/gnome-panel-2.24.1-r1, Log file: >>> '/var/tmp/portage/gnome-base/gnome-panel-2.24.1-r1/temp/build.log' * Regenerating GNU info directory index... * Processed 193 info files.
1. Paste full command that triggered the error this time 2. grep for '/usr//usr//usr/lib64/libGL.la' string in la files in /usr/lib 3. if there's no such file, attach config.log from one of the failed emerges (maybe build.log too)
I grepped for the string in /usr/lib/*.la and I found a lot (most of the were part of gnome). I fixed this issues with sed and now everything compiles again. After recompiling some packages the la-files where fixed too. So I'm closing this bug and mark it mentally as obscure.
which string you issued ? (In reply to comment #7) > I grepped for the string in /usr/lib/*.la and I found a lot (most of the were > part of gnome). I fixed this issues with sed and now everything compiles again. > After recompiling some packages the la-files where fixed too. So I'm closing > this bug and mark it mentally as obscure. >