Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293151 - Emerging x11-libs/qt-opengl fails with syntax errors
Summary: Emerging x11-libs/qt-opengl fails with syntax errors
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Qt Bug Alias
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-14 08:50 UTC by Jan
Modified: 2009-11-15 14:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
environment (environment,131.87 KB, text/plain)
2009-11-14 08:51 UTC, Jan
Details
package.use (package.use,7.85 KB, text/plain)
2009-11-14 08:53 UTC, Jan
Details
error.log (error.log,9.11 KB, text/plain)
2009-11-14 08:55 UTC, Jan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan 2009-11-14 08:50:01 UTC
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"
Comment 1 Jan 2009-11-14 08:51:59 UTC
Created attachment 210210 [details]
environment
Comment 2 Jan 2009-11-14 08:53:02 UTC
Created attachment 210212 [details]
package.use

portage/package.use
Comment 3 Jan 2009-11-14 08:55:39 UTC
Created attachment 210214 [details]
error.log
Comment 4 Dominik Kapusta (RETIRED) gentoo-dev 2009-11-14 19:19:32 UTC
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
Comment 5 Jan 2009-11-14 19:32:02 UTC
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             
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2009-11-14 19:49:17 UTC
This is probably an eselect-opengl issue.
Comment 7 Dominik Kapusta (RETIRED) gentoo-dev 2009-11-14 19:53:57 UTC
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
Comment 8 Jan 2009-11-14 21:25:14 UTC
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
Comment 9 Alex Alexander (RETIRED) gentoo-dev 2009-11-14 21:42:48 UTC
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}

:)
Comment 10 Jan 2009-11-14 22:09:31 UTC
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?
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2009-11-15 11:00:09 UTC
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" ;-)
Comment 12 Alex Alexander (RETIRED) gentoo-dev 2009-11-15 13:53:17 UTC
(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

Comment 13 Davide Pesavento (RETIRED) gentoo-dev 2009-11-15 14:07:04 UTC
(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 :(