[edgy] linux-2.6.18 build fails with incorrect version in deprecated 'version.h'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kernel-package (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kernel-package
This bug is related to kernel-package 10.049ubuntu4
Steps to reproduce:
1) untar linux-2.
2) cd linux-2.6.18
3) make-kpkg --rootcmd fakeroot --initrd --revision 1 kernel_image modules_image
after a while, the build process fails with
-------
====== making target install/
This is kernel package version 10.049ubuntu4.
echo "The UTS Release version in include/
The UTS Release version in include/
""
does not match current version:
"2.6.18"
Please correct this.
make: ** [install/
-------
The problem seems similar to http://
but with this new target 'linux-
Problem did not happened before in Dapper release (same kernel, same dir, same command)
description: | updated |
I'm having the same problem.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- linux-image- 2.6.18- k8 [new prereqs: ]====== linux/version. h"; echo " \"\" "; echo "does not match current version:"; echo " \"2.6.18-k8\" "; echo "Please correct this."; exit 2 linux/version. h ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -------
====== making target install/
This is kernel package version 10.049ubuntu4.
echo "The UTS Release version in include/
The UTS Release version in include/
""
does not match current version:
"2.6.18-k8"
-------
I fixed it by going into ./include/ linux/version. h and adding this definition:
#define UTS_RELEASE "2.6.18-k8"
Save the file and re-run the whole make-kpkg command again (don't do make-kpkg clean, do the compiling one). It'll detect what it has already built and continue on.