Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68488 - media-libs/svgalib-1.9.19-r1 does not understand koutput
Summary: media-libs/svgalib-1.9.19-r1 does not understand koutput
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 20:25 UTC by Jason Ahrens
Modified: 2004-12-10 03:18 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 Jason Ahrens 2004-10-21 20:25:35 UTC
When trying to emerge media-libs/svgalib-1.9.19-r1 when the system is setup for koutput, the merge fails to start.

Last few lines from output of 'emerge -v svgalib --debug' follows:
+ kernel-mod_modules_supported
+ kernel-mod_configoption_builtin MODULES
+ '[' -e /usr/src/linux/.config ']'
+ diefunc kernel-mod_configoption_builtin 114 1 'kernel has not been configured yet'
+ local funcname=kernel-mod_configoption_builtin lineno=114 exitcode=1
+ shift 3
+ echo

+ echo '!!! ERROR: media-libs/svgalib-1.9.19-r1 failed.'
!!! ERROR: media-libs/svgalib-1.9.19-r1 failed.
+ echo '!!! Function kernel-mod_configoption_builtin, Line 114, Exitcode 1'
!!! Function kernel-mod_configoption_builtin, Line 114, Exitcode 1
+ echo '!!! kernel has not been configured yet'
!!! kernel has not been configured yet
+ echo

+ exit 1
cougar 2.6.8.1-ck9 # ls -l /usr/src/linux/.config
ls: /usr/src/linux/.config: No such file or directory
cougar 2.6.8.1-ck9 # ls -l /var/tmp/kernel-output/2.6.8.1-ck9/.config
-rw-r--r--  1 root root 28431 Oct 20 22:39 /var/tmp/kernel-output/2.6.8.1-ck9/.config
cougar 2.6.8.1-ck9 #

Reproducible: Always
Steps to Reproduce:
1. Configure system for use with koutput. Ensure /usr/src/linux/.config has been moved.
2. emerge =media-libs/svgalib-1.9.19-r1
3.

Actual Results:  
Build failed with message shown. 

Expected Results:  
Build should look for .configure in proper 'koutput' location for current (or 
configurable?) kernel. 

A work around can be done by doing the following before the emerge, assuming 
current kernel is the 'destination' kernel. 
ln -s $KBUILD_OUTPUT_PREFIX/`uname -r`/.config /usr/src/linux/.config 
 
As I am not sure what side effects this may have on future kernel builds, it 
may be desireable to remove the /usr/src/linux/.config file after the build is 
complete.
Comment 1 SpanKY gentoo-dev 2004-10-22 05:37:11 UTC
i cant find the bug # this should be marked a dupe of, maybe the kernel team can
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2004-10-22 06:00:00 UTC
Probably thinking of bug 55080

Either way, config-kernel/koutput is no longer needed nor supported.
Comment 3 Paolo Pedroni 2004-12-10 03:10:17 UTC
> config-kernel/koutput is no longer needed nor supported.

Can you elaborate a bit more on this? Where can I find some information about the current way of build external modules in Gentoo? Any pointers?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-10 03:18:55 UTC
ipp2p, alsa-driver, and nvidia-kernel are all good ebuilds to reference for this.