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

Bug 42514

Summary: nvidia and other kernel depedant ebuilds (alsa) syntax issue
Product: Gentoo Linux Reporter: Dave Andruczyk <djandruczyk>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: 1.4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dave Andruczyk 2004-02-22 14:03:52 UTC
packages that depend the kernel should NOT be searching for "/usr/src/linux"  the proper way  is to use in /lib/modules/`uname -r`/build/  This way the legacy symlink of "/usr/src/linux" isn't needed..

packages that do this are alsa-driver, nvidia-kernel, comedi, aside from others (xfree-drm adn gatos-drivers may do this as well,  but I have NOT verified)

Reproducible: Always
Steps to Reproduce:
1. delete /usr/src/linux (or if it's pointing to the NON-running kernel
2. emereg {alsa-driver,comedi,nvidia-kernel}
3.

Actual Results:  
build dies due to /usr/src/linux symlink missing and/or incorrect 

Expected Results:  
the ebuild SHOULD NOT depend or even LOOK FOR /usr/src/linux.  IT should ALWAYS 
use /lib/modules/`uname -r/build, which is guarranteed to be pointing to the right kernel source 
for the running kernel. 
 

not applicable...
Comment 1 SpanKY gentoo-dev 2004-02-22 14:32:41 UTC
read the gentoo-dev mail archives and bugzilla to see why we enforce /usr/src/linux and wont change that behavior