make-kpkg modules_image version conflict

Bug #67611 reported by gebi
4
Affects Status Importance Assigned to Milestone
kernel-package (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kernel-package

I'm using edgy RC

uname -a gives:
Linux kepler 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 GNU/Linux

root@kepler:/usr/src/linux-headers-2.6.17-10# make-kpkg modules_image
exec debian/rules DEBIAN_REVISION=2.6.17-10.33 modules_image
echo "The UTS Release version in include/linux/version.h"; echo " \"2.6.17-10\" "; echo "does not match current version:"; echo " \"2.6.17.13-ubuntu1\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
     "2.6.17-10"
does not match current version:
     "2.6.17.13-ubuntu1"
Please correct this.
make: *** [modules_image] Error 2

mlg
gebi

Revision history for this message
paolo (paolo-silenzi) wrote :

I'm compiling lirc-modules-source in kubuntu edgy and I've same problem.

Output console:
"root@paolo-mediacenter:/usr/src/linux# make-kpkg --revision 2.6.17-10.33 modules_image
 I note you are using a hyphen in the revision number.
 Please ensure that the upstream and debian revision
 numbers are policy compliant enough that dpkg and
 shall not choke on them at the end of the compile
exec debian/rules DEBIAN_REVISION=2.6.17-10.33 modules_image
====== making .config because of Makefile ======

test -f .config || test ! -f .config.save || \
                            cp -pf .config.save .config
test -f .config || test ! -f .config || \
                            cp -pf .config .config
test -f .config || test ! -f ./debian/config || \
                            cp -pf ./debian/config .config
test -f .config || (echo "*** Need a config file .config" && false)
echo "The UTS Release version in include/linux/version.h"; echo " \"\" "; echo "does not match current version:"; echo " \"2.6.17.13-ubuntu1\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
     ""
does not match current version:
     "2.6.17.13-ubuntu1"
Please correct this.
make: *** [modules_image] Error 2
root@paolo-mediacenter:/usr/src/linux#"

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for your bug report.
Which version of kernel-package and linux-headers-2.6.17-10 are you using?

Changed in kernel-package:
status: Unconfirmed → Needs Info
Changed in kernel-package:
assignee: nobody → dktrkranz
Revision history for this message
Ben Collins (ben-collins) wrote :

This is a misuse of the linux-headers-2.6.17-10 package.

You can't expect this command to work in that directory.

Changed in kernel-package:
status: Needs Info → Rejected
Changed in kernel-package:
assignee: dktrkranz → nobody
Revision history for this message
paolo (paolo-silenzi) wrote :
Download full text (11.9 KiB)

hardware_id: fae0cb68132a1feed17a1f2fee21fe80

kernel-package version 10.049ubuntu5
linux-headers-2.6.17-10 version 2.6.17.1-10.34

These are my tries with related output:
-----------------
mythtv@paolo-mediacenter:~$ cd /usr/src
mythtv@paolo-mediacenter:/usr/src$ sudo rm linux
mythtv@paolo-mediacenter:/usr/src$ sudo ln -s linux-source-2.6.17 linux
mythtv@paolo-mediacenter:/usr/src$ cd linux
mythtv@paolo-mediacenter:/usr/src/linux$ uname -r
2.6.17-10-generic
mythtv@paolo-mediacenter:/usr/src/linux$ make-kpkg --revision 2.6.17-10-generic modules_image
I note that you are using the --revision flag with the value
   2.6.17-10-generic.
However, the ./debian/changelog file exists, and has a different value
   2.6.17-10.33.
I am confused by this discrepancy, and am halting.
mythtv@paolo-mediacenter:/usr/src/linux$ make-kpkg --revision 2.6.17-10.33 modules_image
 I note you are using a hyphen in the revision number.
 Please ensure that the upstream and debian revision
 numbers are policy compliant enough that dpkg and
 shall not choke on them at the end of the compile
exec debian/rules DEBIAN_REVISION=2.6.17-10.33 modules_image
====== making .config because of Makefile ======

test -f .config || test ! -f .config.save || \
                            cp -pf .config.save .config
test -f .config || test ! -f .config || \
                            cp -pf .config .config
test -f .config || test ! -f ./debian/config || \
                            cp -pf ./debian/config .config
test -f .config || (echo "*** Need a config file .config" && false)
echo "The UTS Release version in include/linux/version.h"; echo " \"\" "; echo "does not match current version:"; echo " \"2.6.17.13-ubuntu1\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
     ""
does not match current version:
     "2.6.17.13-ubuntu1"
Please correct this.
make: *** [modules_image] Error 2
mythtv@paolo-mediacenter:/usr/src/linux$ sudo make-kpkg --revision 2.6.17-10.33 modules_image
 I note you are using a hyphen in the revision number.
 Please ensure that the upstream and debian revision
 numbers are policy compliant enough that dpkg and
 shall not choke on them at the end of the compile
exec debian/rules DEBIAN_REVISION=2.6.17-10.33 modules_image
====== making .config because of Makefile ======

test -f .config || test ! -f .config.save || \
                            cp -pf .config.save .config
test -f .config || test ! -f .config || \
                            cp -pf .config .config
test -f .config || test ! -f ./debian/config || \
                            cp -pf ./debian/config .config
test -f .config || (echo "*** Need a config file .config" && false)
echo "The UTS Release version in include/linux/version.h"; echo " \"\" "; echo "does not match current version:"; echo " \"2.6.17.13-ubuntu1\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
     ""
does not match current version:
     "2.6.17.13-ubuntu1"
Please correct this.
make: *** [modules_image] Error 2
mythtv@paolo-mediacenter:/usr/src/linux$ cd ..
mythtv@paolo-mediacenter:/usr/src$ ls -l
totale 45140
lrwxrwxrwx 1 root sr...

Revision history for this message
paolo (paolo-silenzi) wrote :

I've solved my problem, upgrading kernel to 2.6.17-11 and using module-assistant (sudo m-a), that have compiled and installed correctly lirc-modules into my kubuntu edgy system.

Paolo

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.