Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115462

Summary: nVidia driver 7xxx + buildpkg + xorg-x11 6.8.x = GLX drivers placed at wrong directory
Product: Gentoo Linux Reporter: Denilson Sá Maia <denilsonsa>
Component: [OLD] UnspecifiedAssignee: X11 External Driver Maintainers <x11-drivers>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Denilson Sá Maia 2005-12-13 13:58:56 UTC
X.org 7 (6.9.x, I guess) uses /usr/lib/xorg/ directory to store drivers, while 
X.org 6.8.x uses /usr/lib/. The newer (~testing) ebuilds for nVidia drivers have 
a check to automatically choose the correct place to put drivers. However, if 
you have "buildpkg" in your FEATURES, or use --buildpkg or --buildpkgonly 
options, the package will store the drivers at /usr/lib/xorg/, even if your X.
org does not use that path.

Reproducible: Always
Steps to Reproduce:
1. Make you sure you have xorg-x11-6.8.x, and don't have x11-base/xorg-server.
2. Run any of the following:
FEATURES=buildpkg emerge nvidia-glx
emerge --buildpkg nvidia-glx
emerge --buildpkgonly nvidia-glx
Actual Results:  
libXvMCNVIDIA.* and modules/ directories will be installed inside /usr/lib/xorg/

Expected Results:  
They should be installed at /usr/lib/, instead of /usr/lib/xorg/.

Or, at least, ebuild should warn that buildpkg is not supported.
Comment 1 Denilson Sá Maia 2005-12-13 14:08:22 UTC
Forgot to say this applies to all 7xxx (and 8174{,-r1} too, I guess), except 
7167-r2 ebuild, which does not support "/usr/lib/xorg".
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 17:29:36 UTC
Monolithing Xorg no longer supported -> irrelevant bug.