make-kpkg - fatal error: UTS Release does not match current version

Bug #59909 reported by Christian Niemeyer
4
Affects Status Importance Assigned to Milestone
kernel-package (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: kernel-package

dist: ubuntu edgy eft knot-2
kernel-source: 2.6.18-rc5 from kernel.org + ck patchset

Hi!

I tried to build a kernel-image on edgy with make xconfig and "make-kpkg". (around september 10th)

This error occured:
[code]
#make-kpkg kernel_image kernel_modules kernel_headers
 (...)
 make[1]: Leaving directory `/usr/src/linux-2.6.15.6'
 ====== making target stamp-kernel-image [new prereqs: linux-image-2.6.15.6 linux -image-2.6.15.6]======
 echo done > stamp-kernel-image
 ====== making target kernel_image [new prereqs: stamp-configure stamp-build-kern el stamp-kernel-image]======
 The UTS Release version in include/linux/version.h
 "2.6.15.6"
 does not match current version:
 "2.6.15.6"
 Please correct this.
[/code]

(don't mind with the old kernel version, I got this error from a debian forum, because I can't copy&paste my own error message. But it was exactly the same.)

However, this error occurs at the end of make-kpkg, very frustrating ;)

Then I found out, that this bug is already registered at Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355147

I'm an advanced newbie (so to say) and maybe I did mess something up with the version string myself. But I tried it several times, to make sure the bug is in the package and not behind the keyboard ;)

I also installed build-essentials libqt3-mt-dev etc. to build this kernel.

Then I got an version auf "kernel-package" vom Debian unstable and installed it with dpkg -i. Same error.
So don't know exactly, just want to report this.

Regards,
Chris

Revision history for this message
Christian Niemeyer (christian-niemeyer) wrote :

sorry, I forgot: this happened under ubuntu edgy eft knot-2

description: updated
Revision history for this message
Xavier (chantry-xavier) wrote :

Hmm, I see 3 bugs against kernel-package, and 58570 is among them, I'm not sure how you missed it :)

Revision history for this message
Xavier (chantry-xavier) wrote :

Besides, your report is wrong afaik, the issue you have only happens with 2.6.18-rc kernels, while the debian bug you gave a link to also affected older kernels and has been fixed. I admit it was a similar problem however, which concerns the same part of the script.

See https://launchpad.net/distros/ubuntu/+source/kernel-package/+bug/58570

Revision history for this message
Lee Revell (rlrevell) wrote :

I am still hitting this bug.

====== making target install/linux-image-2.6.18-rt3-smp-noipv6 [new prereqs: ]======
This is kernel package version 10.049ubuntu4.
echo "The UTS Release version in include/linux/version.h"; echo " \"\" "; echo "does not match current version:"; echo " \"2.6.18-rt3-smp-noipv6\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
     ""
does not match current version:
     "2.6.18-rt3-smp-noipv6"
Please correct this.
make: *** [install/linux-image-2.6.18-rt3-smp-noipv6] Error 2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.