Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42514 - nvidia and other kernel depedant ebuilds (alsa) syntax issue
Summary: nvidia and other kernel depedant ebuilds (alsa) syntax issue
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 14:03 UTC by Dave Andruczyk
Modified: 2004-02-22 14:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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