While emerging xfce-extra/xfce4-weather-0.6.4 it aborts with following message: libtool: link: cannot find the library `/usr/lib/libGL.la' or unhandled argument `/usr/lib/libGL.la' make[2]: *** [xfce4-weather-plugin] Error 1 rm weather.desktop.in As some users in #gentoo reported, they have the corresponding file in /usr/lib, I think it has something to do with my grapic drivers or mesa: # emerge -vp xf86-video-intel mesa Calculating dependencies... done! [ebuild R ] x11-drivers/xf86-video-intel-2.7.99.901 USE="dri -debug" 0 kB [0] [ebuild R ] media-libs/mesa-9999 USE="nptl xcb -debug -doc -gallium -motif -pic" VIDEO_CARDS="intel -mach64 -mga -none -nouveau -r128 -radeon -radeonhd -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB [1] Total: 2 packages (2 reinstalls), Size of downloads: 0 kB Portage tree and overlays: [0] /var/portage/repository [1] /var/portage/overlay/x11 make[2]: Leaving directory `/var/tmp/portage/xfce-extra/xfce4-weather-0.6.4/work/xfce4-weather-plugin-0.6.4/panel-plugin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xfce-extra/xfce4-weather-0.6.4/work/xfce4-weather-plugin-0.6.4' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge xfce-extra/xfce4-weather-0.6.4 Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30 i686) ================================================================= System uname: Linux-2.6.30-i686-Intel-R-_Core-TM-2_Duo_CPU_T5870_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 09 Jul 2009 21:30:02 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -msse3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/udev/rules.d /usr/share/config" 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="-O2 -march=core2 -pipe -msse3 -fomit-frame-pointer" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y" FEATURES="clean distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j3" 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="/var/portage/repository" PORTDIR_OVERLAY="/var/portage/overlay/desktop-effects /var/portage/overlay/sunrise /var/portage/overlay/x11 /var/portage/overlay/wschlich-testing /var/portage/overlay/kde-testing /var/portage/overlay/personal" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac accessibility alsa bluetooth bzip2 cairo cracklib crypt cups dbus gnutls gpm gstreamer hal jpeg libnotify minimal mmx mp3 ncurses nls nptl opengl pam pcre png qt3support readline spell sqlite sse sse2 ssl ssse3 svg threads tiff truetype unicode usb v4l v4l2 vim-syntax vorbis x86 xcb xml zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="* dmix softvol" APACHE2_MODULES="*" ELIBC="glibc" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LINGUAS="de en" LIRC_DEVICES="avermedia userspace inputlirc devinput" USERLAND="GNU" VIDEO_CARDS="vesa intel" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Mesa installs /usr/lib/opengl/xorg-x11/lib/libGL.la here (or lib64) so it might have to do with your -9999 version. Try eselect opengl to set your OpenGL to xorg-x11.
(In reply to comment #1) > Mesa installs /usr/lib/opengl/xorg-x11/lib/libGL.la here (or lib64) so it might > have to do with your -9999 version. Try eselect opengl to set your OpenGL to > xorg-x11. > Well, I just recreated the missing file and now it compiles and links correctly. Weird, that the dev-version of mesa don't install libGL.la. So, the main problem is solved.
(In reply to comment #2) > (In reply to comment #1) > > Mesa installs /usr/lib/opengl/xorg-x11/lib/libGL.la here (or lib64) so it might > > have to do with your -9999 version. Try eselect opengl to set your OpenGL to > > xorg-x11. > > > > Well, I just recreated the missing file and now it compiles and links > correctly. Weird, that the dev-version of mesa don't install libGL.la. > > So, the main problem is solved. > Ok, after "eselect opengl set xorg-x11", /usr/lib/libGL.la is missing again: # ls -als /usr/lib/libGL* 164 -rw-r--r-- 1 root root 163758 2009-06-30 22:41 libGLC.a 4 -rw-r--r-- 1 root root 1012 2009-06-30 22:41 libGLC.la 0 lrwxrwxrwx 1 root root 15 2009-06-30 22:41 libGLC.so -> libGLC.so.0.0.7 0 lrwxrwxrwx 1 root root 15 2009-06-30 22:41 libGLC.so.0 -> libGLC.so.0.0.7 144 -rwxr-xr-x 1 root root 141536 2009-06-30 22:41 libGLC.so.0.0.7 312 -rw-r--r-- 1 root root 313558 2009-04-30 03:45 libGLEW.a 0 lrwxrwxrwx 1 root root 16 2009-04-30 03:45 libGLEW.so -> libGLEW.so.1.5.1 0 lrwxrwxrwx 1 root root 16 2009-04-30 03:45 libGLEW.so.1.5 -> libGLEW.so.1.5.1 264 -rwxr-xr-x 1 root root 263372 2009-04-30 03:45 libGLEW.so.1.5.1 0 lrwxrwxrwx 1 root root 28 2009-07-10 02:13 libGL.so -> opengl/xorg-x11/lib/libGL.so 0 lrwxrwxrwx 1 root root 11 2009-07-09 01:54 libGLU.so -> libGLU.so.1 0 lrwxrwxrwx 1 root root 20 2009-07-09 01:54 libGLU.so.1 -> libGLU.so.1.3.070600 460 -rwxr-xr-x 1 root root 464436 2009-07-09 01:54 libGLU.so.1.3.070600 In libGLC.la there are mostly the same contents I posted into libGL.la seconds before.
Which version of eselect-opengl?
(In reply to comment #4) > Which version of eselect-opengl? > app-admin/eselect-opengl-1.0.7 changed summary from "xfce-extra/xfce4-weather-0.6.4 - missing /usr/lib/libGL.la" to "media-libs/mesa-9999 - missing /usr/lib/libGL.la - e.g. xfce-extra/xfce4-weather-0.6.4"
Okey your bugreport is correct but the solution is wrong, WE try to get rid of that broken .la file. So it is really not mistake it is missing, problem is that some packages require it.
(In reply to comment #6) > Okey your bugreport is correct but the solution is wrong, WE try to get rid of > that broken .la file. > > So it is really not mistake it is missing, problem is that some packages > require it. > I fix it (just now) running: find /usr/lib -name "*.la" -exec sed -e "s:-lxcb-xlib:: ; s:/usr/lib/libxcb-xlib.la::" -i \{\} \; and revdep-rebuild, and I have the system online again.. found in bug #248743
Looks like this problem is solved by revdep-rebuild, closing bug...
Also helpful: lafilefixer --justfixit