Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56135 - config-kernel reports mrproper error due to missing version.h in speakup Makefile awk call
Summary: config-kernel reports mrproper error due to missing version.h in speakup Make...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-05 07:37 UTC by Martin von Gagern
Modified: 2004-12-09 09:32 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 Martin von Gagern 2004-07-05 07:37:26 UTC
sys-kernel/gentoo-dev-sources-2.6.7-r8 and sys-kernel/config-kernel-0.3.3
When I make mrproper for an unused kernel tree, I get an awk error message about a missing version.h. config-kernel looks at stderr from make, so this is handled as an error and prevents proceeding.

I would prefer config-kernel to rather check the error code than stderr. Probably a -f switch to force execution anyway would be a good idea.

The awk error is due to drivers/char/speakup/Makefile line 5:
V := $(shell awk '/UTS_RELEASE/ {print substr($$3,2,3)}'
       $(TOPDIR)/include/linux/version.h)

I will also send an email to Kirk Reiser, hopefully he'll take care of this message.

Reproducible: Always
Steps to Reproduce:
1. config-kernel --make-koutput=current

Actual Results:  
 * Changing kernel found in /usr/src/linux
 * to output to /var/tmp/kernel-output/2.6.7-gentoo-r8
 * You will lose all of your compiled files in /usr/src/linux
 * Hit Control C to cancel this now.
5 4 3 2 1 
 * Running 'make mrproper to clean your kernel tree (This make take a while)
awk: cmd. line:2: fatal: cannot open file
`/usr/src/linux-2.6.7-gentoo-r8/include/linux/version.h' for reading (No such
file or directory)
 * Error running 'make mrproper' in your kernel tree


Expected Results:  
configuration despite the error message in mrproper - something make does not
consider an error should not be an error for us.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2004-07-09 03:54:40 UTC
This is fixed in 2.6.7-r9, which has just been commited to CVS.
Comment 2 Martin Egge 2004-10-15 14:38:55 UTC
The problem still exists with atleast gentoo-dev-sources-2.6.8-r8 and gentoo-dev-sources-2.6.8-r10

So can anyone (perhaps Michal Januszewski) please patch it again?

Greetz
Martin
Comment 3 Martin von Gagern 2004-11-26 01:56:32 UTC
This bug is still there in gentoo-dev-sources-2.6.9-r6
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-11-26 05:51:49 UTC
config-kernel has been discontinued.
Comment 5 Martin von Gagern 2004-12-09 01:02:26 UTC
I could find no information as of why this should be discontinued. It is still in the koutput manual, and package.mask reads like someone is working on this. Where can I find further information about the status of this?
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2004-12-09 09:32:36 UTC
Here:

http://marc.theaimsgroup.com/?l=gentoo-dev&m=109651120806379&w=2

It's no longer needed - the kernel build system now allows external builds (so works in our sandbox). The few extra features that config-kernel introduced may return in the near future.