Re: make-kpkg "utsrelease.h ... does not match current version"
On Thu, Jan 10 2008, at 08:47 +0100, Gaudenz Steinlin wrote:
> On Thu, Jan 10, 2008 at 02:45:41AM +0100, Wolfgang Pfeiffer wrote:
> > On Wed, Jan 09 2008, at 23:43 +0100, Elimar Riesebieter wrote:
> > > On Wed, 09 Jan 2008 the mental interface of
> > > Wolfgang Pfeiffer told:
> > >
> > > > Since hours I'm trying to compile one of the latest git kernel
> > > > sources: all builds break like this:
> > > >
> > > > ---------------------------------------
> > > > ====== making target
> > > > install/linux-image-2.6.24-rc6-2008.01.09-g91183344-dirty-g91183344-dirty-dirty
> > > > [new prereqs: ]======
> > > > This is kernel package version 11.001.
> > > > echo "The UTS Release version in include/linux/utsrelease.h"; echo "
> > > > \"2.6.24-rc6-2008.01.09-g91183344-dirty\" "; echo "does not match
> > > > current version:"; echo "
> > >
> > > What tells "head -10 Makefile" in kernel root dir?
> >
> > With a - in the meantime - about 2 hours old kernel source tree:
> >
> > -----------------------------
> > VERSION = 2
> > PATCHLEVEL = 6
> > SUBLEVEL = 24
> > EXTRAVERSION = -rc7
> > NAME = Arr Matey! A Hairy Bilge Rat!
>
> There seems to bee a version mismatch (rc7 vs. rc6 above).
No. Perhaps I wasn't clear enough in my last message: I got the very
latest git sources - after deleting the complete rc6 tree - and *then*
tried another compile with these fresh sources that were rc7 now. A
look at my previous message will show the end of that rc7 compile.
> Did you try to run make-kpkg clean first?
Not only that: Before I ran it, I had to do a
fakeroot make distclean / fakeroot make clean
because make-kpkg wasn't, as it seems, even able to clean the tree
without it:
---------------------
$ fakeroot make-kpkg modules_clean clean
exec debian/rules DEBIAN_REVISION=+1st.run modules_clean clean
echo "The UTS Release version in include/linux/utsrelease.h"; echo " \"2.6.24-rc7-2008.01.10-gfd0b45df-dirty\" "; echo "does not match current version:"; echo " \"2.6.24-rc7-gfd0b45df-dirty-gfd0b45df-dirty-dirty\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/utsrelease.h
"2.6.24-rc7-2008.01.10-gfd0b45df-dirty"
does not match current version:
"2.6.24-rc7-gfd0b45df-dirty-gfd0b45df-dirty-dirty"
Please correct this.
make: *** [modules_clean] Error 2
--------------------
> make-kpkg is rather picky about this. In most cases it does not
> allow building of unclean sources.
I do that clean always - provided I don't forget it .. :) ... I'm not
sure whether I did it with the freshly fetched rc7 sources - but with
really uncompiled, fresh sources this shouldn't be necessary, should
it?
> If you want to
> speed up compilation time you can use ccache.
Thanks for that hint. Never done that ... but I found that about it:
http://www.debian-administration.org/articles/129
If I can avoid the Powerbook fans roaring up like some truck (OK, not
like *that* ... :) I really shall enjoy that ... After 8 or 10
compiles I don't even want to hear these fans ... :)
Thanks again
Best Regards
Wolfgang
--
Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/
http://heelsbroke.blogspot.com/
Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
Reply to: