[Bug 67611] Re: make-kpkg modules_image version conflict

paolo paolo.silenzi at gmail.com
Wed Jan 3 19:38:05 UTC 2007


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 at paolo-mediacenter:~$ cd /usr/src
mythtv at paolo-mediacenter:/usr/src$ sudo rm linux
mythtv at paolo-mediacenter:/usr/src$ sudo ln -s linux-source-2.6.17 linux
mythtv at paolo-mediacenter:/usr/src$ cd linux
mythtv at paolo-mediacenter:/usr/src/linux$ uname -r
2.6.17-10-generic
mythtv at 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 at 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 at 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 at paolo-mediacenter:/usr/src/linux$ cd ..
mythtv at paolo-mediacenter:/usr/src$ ls -l
totale 45140
lrwxrwxrwx  1 root src        19 2006-12-15 21:24 linux -> linux-source-2.6.17
drwxr-xr-x 19 root root     4096 2006-12-15 21:00 linux-headers-2.6.17-10
drwxr-xr-x  4 root root     4096 2006-12-15 21:00 linux-headers-2.6.17-10-generic
drwxr-xr-x 22 root root     4096 2006-12-01 22:25 linux-source-2.6.17
-rw-r--r--  1 root root 45965728 2006-12-05 23:33 linux-source-2.6.17.tar.bz2
-rw-r--r--  1 root root   179899 2006-07-10 19:51 lirc-modules.tar.gz
drwxr-xr-x  3 root root     4096 2006-07-10 19:51 modules
drwxr-xr-x  7 root root     4096 2006-11-11 21:26 rpm
mythtv at paolo-mediacenter:/usr/src$ sudo rm linux
mythtv at paolo-mediacenter:/usr/src$ sudo ln -s linux-headers-2.6.17-10 linux
mythtv at paolo-mediacenter:/usr/src$ cd linux
mythtv at paolo-mediacenter:/usr/src/linux$ sudo make-kpkg --revision 2.6.17-10.33 modules_image
I note that you are using the --revision flag with the value
   2.6.17-10.33.
However, the ./debian/changelog file exists, and has a different value
   2.6.17.1-10.34.
I am confused by this discrepancy, and am halting.
mythtv at paolo-mediacenter:/usr/src/linux$ sudo make-kpkg --revision 2.6.17.1-10.34 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.1-10.34  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.14-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.14-ubuntu1"
Please correct this.
make: *** [modules_image] Error 2
mythtv at paolo-mediacenter:/usr/src/linux$ sudo make-kpkg --revision 2.6.17-10 modules_image
I note that you are using the --revision flag with the value
   2.6.17-10.
However, the ./debian/changelog file exists, and has a different value
   2.6.17.1-10.34.
I am confused by this discrepancy, and am halting.
mythtv at paolo-mediacenter:/usr/src/linux$ sudo nano include/linux/version.h
(#define UTS_RELEASE "2.6.17-10" >> #define UTS_RELEASE "2.6.17.1-10.34")
mythtv at paolo-mediacenter:/usr/src/linux$ sudo make-kpkg --revision 2.6.17.1-10.34 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.1-10.34  modules_image
echo "The UTS Release version in include/linux/version.h"; echo "     \"2.6.17.1-10.34\" "; echo "does not match current version:"; echo "     \"2.6.17.14-ubuntu1\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
     "2.6.17.1-10.34"
does not match current version:
     "2.6.17.14-ubuntu1"
Please correct this.
make: *** [modules_image] Error 2
mythtv at paolo-mediacenter:/usr/src/linux$ sudo nano include/linux/version.h
(#define UTS_RELEASE "2.6.17.1-10.34" >> #define UTS_RELEASE "2.6.17.14-ubuntu1")
mythtv at paolo-mediacenter:/usr/src/linux$ sudo make-kpkg --revision 2.6.17.1-10.34 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.1-10.34  modules_image
for module in /usr/src/modules/lirc ; do                       \
          if test -d  $module; then                                \
            (cd $module;                                          \
              if ./debian/rules KVERS="2.6.17.14-ubuntu1" KSRC="/usr/src/linux" \
                             KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown at unconfigured.in.etc.kernel-pkg.conf"      \
                             KPKG_DEST_DIR="/usr/src/linux/.."       \
                             KPKG_MAINTAINER="Unknown Kernel Package Maintainer"        \
                             KPKG_EXTRAV_ARG=""        \
                             ARCH="i386"                  \
                             KDREV="2.6.17.1-10.34" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "X" != "X" ]; then      \
                      echo "Perhaps $module does not understand --rootcmd?";  \
                      echo "If you see messages that indicate that it is not"; \
                      echo "in fact being built as root, please file a bug ";  \
                      echo "against $module.";                     \
                   fi;                                              \
                   echo "Hit return to Continue";                   \
                 read ans;                                        \
              fi;                                                   \
             );                                                    \
          else                                                      \
               echo "Module $module does not exist";               \
               echo "Hit return to Continue?";                      \
          fi;                                                       \
        done
make[1]: Entering directory `/usr/src/modules/lirc'
/usr/bin/make -w -f debian/rules binary-modules
make[2]: Entering directory `/usr/src/modules/lirc'
sed -e "s!\$KVERS!2.6.17.14-ubuntu1!g; s!\$KSRC!/usr/src/linux!; s!\$KARCH!i386!; s!\$KEMAIL!unknown at unconfigured.in.etc.kernel-pkg.conf!; s!\$KMAINT!Unknown Kernel Package Maintainer!; s!\$KDREV!2.6.17.1-10.34!; s!\$DEBDATE!mer, 03 gen 2007 20:10:25 +0100!" debian/control.in > debian/control
dh_testdir
# Add here commands to compile the package.
/usr/bin/make debconf
make[3]: Entering directory `/usr/src/modules/lirc'
/usr/bin/make -C drivers SUBDIRS="lirc_dev"
make[4]: Entering directory `/usr/src/modules/lirc/drivers'
Making all in lirc_dev
make[5]: Entering directory `/usr/src/modules/lirc/drivers/lirc_dev'
Makefile:8: **************************************************
Makefile:8: *** Makefile trick not undone, trying to recover *
Makefile:8: **************************************************
mv Makefile.automake Makefile
/usr/bin/make all
make[6]: Entering directory `/usr/src/modules/lirc/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/lirc/drivers/lirc_dev modules \
                KBUILD_VERBOSE=1
make[7]: Entering directory `/usr/src/linux-headers-2.6.17-10'
mkdir -p /usr/src/modules/lirc/drivers/lirc_dev/.tmp_versions
rm -f /usr/src/modules/lirc/drivers/lirc_dev/.tmp_versions/*

  WARNING: Symbol version dump /usr/src/linux-headers-2.6.17-10/Module.symvers
           is missing; modules will have no dependencies and modversions.

/usr/bin/make -f scripts/Makefile.build obj=/usr/src/modules/lirc/drivers/lirc_dev
  gcc -m32 -Wp,-MD,/usr/src/modules/lirc/drivers/lirc_dev/.lirc_dev.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-stack-protector -Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2  -march=athlon -mregparm=3 -ffreestanding -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/modules/lirc/drivers/lirc_dev/../.. -I/usr/src/linux/include/  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)"  -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /usr/src/modules/lirc/drivers/lirc_dev/.tmp_lirc_dev.o /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c
/bin/sh: scripts/genksyms/genksyms: not found
make[8]: *** [/usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.o] Error 127
make[7]: *** [_module_/usr/src/modules/lirc/drivers/lirc_dev] Error 2
make[7]: Leaving directory `/usr/src/linux-headers-2.6.17-10'
make[6]: *** [lirc_dev.o] Error 2
make[6]: Leaving directory `/usr/src/modules/lirc/drivers/lirc_dev'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/usr/src/modules/lirc/drivers/lirc_dev'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/modules/lirc/drivers'
make[3]: *** [dev] Error 2
make[3]: Leaving directory `/usr/src/modules/lirc'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/lirc'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/lirc'
Module /usr/src/modules/lirc failed.
Hit return to Continue

mythtv at paolo-mediacenter:/usr/src/linux$ _
-----------------


I hope that someone can help me to solve this problem.

Paolo

-- 
make-kpkg modules_image version conflict
https://launchpad.net/bugs/67611




More information about the kernel-bugs mailing list