Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271528 - sys-kernel/genkernel- grep error
Summary: sys-kernel/genkernel- grep error
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
Keywords: InVCS
: 263464 (view as bug list)
Depends on:
Blocks: 351772
  Show dependency tree
Reported: 2009-05-28 13:00 UTC by Richard Scott
Modified: 2011-01-16 17:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

genkernel.conf in use. (genkernel.conf,5.54 KB, text/plain)
2009-05-29 09:31 UTC, Richard Scott

Note You need to log in before you can comment on or make changes to this bug.
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
* 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. 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-
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

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):;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.