Emerging x11-libs/qt-opengl fails and none of the output makes sense to me ... Also blocking any system updates and blocking use of applications dependant on qt-opengl. The URL posted displays the problem I'm having. >>> Failed to emerge x11-libs/qt-opengl-4.5.3-r1, Log file: >>> '/var/tmp/portage/x11-libs/qt-opengl-4.5.3-r1/temp/build.log' * Messages for package x11-libs/qt-opengl-4.5.3-r1: * * ERROR: x11-libs/qt-opengl-4.5.3-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_configure * environment, line 3399: Called qt4-build_src_configure * environment, line 3082: Called die * The specific snippet of code: * ./configure ${myconf} || die "./configure failed"; * The die message: * ./configure failed * * 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/x11-libs/qt-opengl-4.5.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-opengl-4.5.3-r1/temp/environment'. Reproducible: Always Steps to Reproduce: 1. emerge x11-libs/qt-opengl and it fails 2. emerge --update --deep --newuse world 3. Actual Results: >>> Failed to emerge x11-libs/qt-opengl-4.5.3-r1, Log file: >>> '/var/tmp/portage/x11-libs/qt-opengl-4.5.3-r1/temp/build.log' * Messages for package x11-libs/qt-opengl-4.5.3-r1: * * ERROR: x11-libs/qt-opengl-4.5.3-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_configure * environment, line 3399: Called qt4-build_src_configure * environment, line 3082: Called die * The specific snippet of code: * ./configure ${myconf} || die "./configure failed"; * The die message: * ./configure failed * * 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/x11-libs/qt-opengl-4.5.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-opengl-4.5.3-r1/temp/environment'. Expected Results: emerge --update --deep --newuse world should executute without halting halfway with errors. USE="3dnow acpi alsa apache2 avahi bzip2 cd cdda cddb cdr consolekit crypt cups curl dri dvd dvdr ftp glx gtk hal ipv6k kde ldap qt mmx mp3 mp4 multilib nas nls nocd nptl opengl ogg pam pdf samba scanner sdl spell sse sse2 sse3 sse4a ssl symlink truetype unicode usb win32codecs X xorg zlib"
Created attachment 210210 [details] environment
Created attachment 210212 [details] package.use portage/package.use
Created attachment 210214 [details] error.log
Linker doesn't find libGL. Check if /usr/lib64/libGL.so exists and symlinks to anything. The correct output should be like this: /usr/lib64/libGL.so -> opengl/nvidia/lib/libGL.so.190.42
No libGL.so, only a bunch of other ones, not sure if they are related in any way? # ls /usr/lib64/libGL* libGLEW.a libGLEW.so.1.5.1 libGLU.so.1 libGLEW.so libGLU.la libGLU.so.1.3.070501 libGLEW.so.1.5 libGLU.so
This is probably an eselect-opengl issue.
Then eselect opengl set nvidia, and check again. I saw that you were using stable portage, so you shouldn't suffer from bug 292342, but anyway, make sure that you have the latest eselect-opengl available for your profile: emerge -1av eselect-opengl
You guys are all brilliant!!! Dominik's first reply made me try rerunning the NVidia Installer (which needs to run every time changes are made in the kernel, only this time portage updated a lot of packages and the openGL drivers needed to be recompiled which the NVidia installer did): /apps/NVIDIA-Linux-x86_64-185.18.36-pkg2.run which sorted out the OpenGL problems. Then it went straight through with no hiccups, only a ton of outdated packages which eventually all recompiled. Now I can get back to doing dev work, apache was broken until after the system update went through successfully! :-D Thanks for the extra pair of eyes! J
Why are you installing nvidia drivers this way? We have nvidia-drivers in portage! [I] x11-drivers/nvidia-drivers Available versions: 71.86.09!s (~)71.86.11!s 96.43.13!s (~)96.43.14!s 173.14.20!s (~)173.14.20-r1!s (~)173.14.22 180.60!s {M}(~)185.13!s[1] (~)185.18.04!s[3] (~)185.18.08!s[3] (~)185.18.10!s[3] (~)185.18.36!s (~)185.18.36-r1!s {M}(~)185.19!s[3] (~)190.29 (~)190.42-r1!s{tbz2}[2] (~)190.42-r2!s{tbz2} (~)190.42-r3!s{tbz2} :)
Somehow those drivers just doesn't work on my system (just tried emerging them again and rebooted, X throws errors about DRI and DRI2 being missing and loads of other errors). Currently running a GeForce 9600GT, the official NVidia Drivers just work out of the box. At the moment this is my only desktop PC on which I'm doing all my work and after a week inside links (while setting up Gentoo for the first time) of reading and reading and reading and not finding a workaround, I tried installing the official NVidia drivers (which immediately fixed all my X related problems) and I never looked back. What's the difference between the official drivers and the drivers in portage?
There shouldn't be any differences. You probably forgot to run: eselect opengl set nvidia after emerging nvidia-drivers (and then reboot). Btw, the resolution of this bug should be set as "invalid" rather than "fixed" ;-)
(In reply to comment #11) > Btw, the resolution of this bug should be set as "invalid" rather than "fixed" > ;-) and you didn't change it because...? ;) :P
(In reply to comment #12) > (In reply to comment #11) > > Btw, the resolution of this bug should be set as "invalid" rather than "fixed" > > ;-) > > and you didn't change it because...? ;) :P > I don't have the permissions to do that :(