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.
i cant find the bug # this should be marked a dupe of, maybe the kernel team can
Probably thinking of bug 55080 Either way, config-kernel/koutput is no longer needed nor supported.
> 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?
ipp2p, alsa-driver, and nvidia-kernel are all good ebuilds to reference for this.