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

Bug 271528

Summary: sys-kernel/genkernel-3.4.10.904 grep error
Product: Gentoo Hosted Projects Reporter: Richard Scott <gentoo.bugs>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal CC: sping
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351772    
Attachments: genkernel.conf in use.

Description Richard Scott 2009-05-28 13:00:40 UTC
+++ This bug was initially created as a clone of Bug #263464 +++

I get a grep error with genkernel when configure a brand new kernel:

* Gentoo Linux Genkernel; Version 3.4.10.904
* Running with options: --slowusb --lvm

grep: /usr/src/linux/.config: No such file or directory
* Linux Kernel 2.6.28-hardened-r4 for x86...
* kernel: >> Running mrproper...


Reproducible: Always

Steps to Reproduce:
1. emerge a new kernel
2. emerge =sys-kernel/genkernel-3.4.10.904
3. run genkernel --menuconfig all

and see it error as there is no /usr/src/linux/.config file available.
Comment 1 Richard Scott 2009-05-28 13:01:14 UTC
oops, forgot to change the subject line as this is for genkernel-3.4.10.904
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-28 17:49:04 UTC
1. please attach your /etc/genkernel.conf file.
2. Does genkernel stop after the mrproper line, or does it continue?
Comment 3 Richard Scott 2009-05-29 09:31:01 UTC
Created attachment 192836 [details]
genkernel.conf in use.

This file is the default genkernel.conf file that you get with a fresh install of genkernel on a fresh system. I've not edited it.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-29 18:55:05 UTC
You didn't answer question #2.
Comment 5 Richard Scott 2009-05-29 23:25:48 UTC
(In reply to comment #4)
> You didn't answer question #2.
> 

oops, sorry :-(

Genkernel works fine, it just shows up an error when /usr/src/linux/.config is not there

Rich
Comment 6 Richard Scott 2009-06-01 09:53:24 UTC
I've noticed that this package has just gone stable... even with this open bug!

Such a shame as now everyone will see the bug and maybe report it too ;-)
Comment 7 Andrew Gaffney (RETIRED) gentoo-dev 2009-06-01 12:58:04 UTC
It's a harmless "error". The stabilization was necessary for 2.6.29 to go stable on sparc.
Comment 8 Sebastian Pipping gentoo-dev 2010-11-18 23:12:22 UTC
*** Bug 263464 has been marked as a duplicate of this bug. ***
Comment 9 Sebastian Pipping gentoo-dev 2011-01-13 13:50:17 UTC
There's a fix now on the experimental branch exposed by genkernel-99999 (five nines):
http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=dfddd742bda34ceea56b494675ca17754c8bdff2

Please report back if it works for you.
If I do not hear anything in two weeks, I may close this bug.