Package: kernel-package
Version: 10.065
Severity: normal

As noted in /usr/share/doc/kernel-package/Problems.gz,
scripts/setlocalversion adds a suffix to the version which confuses
make-kpkg. The patch in Problems.gz only removes the -dirty suffix,
but there is an additional truncated commit ID added by the script
whenever it detects that we are not building from a tagged commit of
the official tree (I think):

  echo done > debian/stamp-build-kernel
  ====== making target install/linux-uml-2.6.20-rc3 [new prereqs: ]======
  This is kernel package version 10.065.
  echo "The UTS Release version in include/linux/utsrelease.h"; echo "     
\"2.6.20-rc3-gf66e5aaa\" "; echo "does not match current version:"; echo "     
\"2.6.20-rc3\" "; echo "Please correct this."; exit 2
  The UTS Release version in include/linux/utsrelease.h
       "2.6.20-rc3-gf66e5aaa"
  does not match current version:
       "2.6.20-rc3"
  Please correct this.
  make: *** [install/linux-uml-2.6.20-rc3] Fel 2

To work around this, I simply removed all the code in
scripts/setlocalversion, making it an empty script.

It would be useful if make-kpkg would either grok the suffix appended
by the setlocalversion, or somehow disable it altogether.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)

Versions of packages kernel-package depends on:
ii  dpkg                          1.13.24    package maintenance system for Deb
ii  dpkg-dev                      1.13.24    package building tools for Debian
ii  file                          4.17-5     Determines file type using "magic"
ii  gcc [c-compiler]              4:4.1.1-13 The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-21   The GNU C compiler
ii  gettext                       0.16.1-1   GNU Internationalization utilities
ii  make                          3.81-2     The GNU version of the "make" util
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.8      manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                        1.0.3-6     high-quality block-sorting file co
ii  libc6-dev [libc-dev]         2.3.6.ds1-9 GNU C Library: Development Librari

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to