Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689890 - genkernel 4.0.0_beta2 failure after menuconfig
Summary: genkernel 4.0.0_beta2 failure after menuconfig
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2019-07-15 10:34 UTC by Mariusz Ceier
Modified: 2019-07-16 01:12 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 Mariusz Ceier 2019-07-15 10:34:07 UTC
I'm running `genkernel --menuconfig --firmware all`.
After loading my config, saving it to .config (though I verified that this loading/saving is not required) and exiting menuconfig, genkernel prints:


* ERROR: Error: menuconfig failed!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* '/var/log/genkernel.log' so that your issue can be dealt with effectively.
*
* Please do *not* report kernel compilation failures as genkernel bugs!



/var/log/genkernel.log ends with:


#
# configuration written to .config
#
*         >> Invoking menuconfig ...
COMMAND: nice -n10 make -j2 -j1  ARCH="x86" menuconfig

* ERROR: Error: menuconfig failed!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
*


menuconfig doesn't seem to print any errors.


Reproducible: Always

Steps to Reproduce:
1. emerge '=sys-kernel/gentoo-sources-5.2.1'
2. eselect kernel set linux-5.2.1-gentoo
3. genkernel --menuconfig --firmware all
4. exit menuconfig
Actual Results:  
Genkernel prints:

* ERROR: Error: menuconfig failed!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.

and exits

Expected Results:  
Genkernel should continue generating the kernel.
Comment 1 Mariusz Ceier 2019-07-15 10:52:16 UTC
btw. I can't reassign this bug to genkernel@gentoo.org as the error message says - either it's not possible or I'm blind :P
Comment 2 Larry the Git Cow gentoo-dev 2019-07-15 13:17:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=68c2dced0bd720bda2db52ac7bfba6c190fafdcc

commit 68c2dced0bd720bda2db52ac7bfba6c190fafdcc
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-07-15 13:11:39 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-07-15 13:11:39 +0000

    gen_configkernel.sh: config_kernel(): Don't check kernelruntask's return value anymore
    
    When compile_generic() was refactored via commit 7b3103c0856dd9ad0652bf2ac27d0d907250ea4e,
    error checking was added directly to that function.
    
    Bug: https://bugs.gentoo.org/689890
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 gen_configkernel.sh | 1 -
 1 file changed, 1 deletion(-)
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2019-07-15 13:18:51 UTC
I plan to release a new beta containing that fix on 2019-07-16.
Comment 4 Mariusz Ceier 2019-07-15 13:21:23 UTC
(In reply to Thomas Deutschmann from comment #3)
> I plan to release a new beta containing that fix on 2019-07-16.

Ok.
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2019-07-16 01:12:44 UTC
beta3 is now available.