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

Bug 55079

Summary: SvgaLib does not compile kernel module if kernel is built outside the kernel tree
Product: Gentoo Linux Reporter: Paolo Pedroni <paolo.pedroni>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paolo Pedroni 2004-06-24 13:43:06 UTC
When emerging svgalib-1.9.19, if the kernel has been built outside the kernel tree (config-kernel --make-koutput=[whatever]), the kernel module is not built.

Reproducible: Always
Steps to Reproduce:
1. config-kernel --make-koutput=2.6.7-gentoo-r5
2. make bzImage && make modules && make modules_install
3. emerge svgalib

Actual Results:  
The libraries are compiled and installed as usual, but the kernel module is 
neither compiled nor installed. This is due to fact that the ebuild looks for 
the .config file in /usr/src/linux to detrmine if the kernel has modules 
enabled, but if the kernel is built outside the kernel tree, the file is not 
there but in /var/tmp/kernel-output/2.6.x-whatever-ry. 

Expected Results:  
It should have checked whether the kernel was built in the source tree or 
outside it and look for the .config file in the proper place.
Comment 1 Paolo Pedroni 2004-06-24 13:45:35 UTC

*** This bug has been marked as a duplicate of 55080 ***