Package: kernel-package
Version: 10.049
Severity: normal

If in a clean git sourced tree,
make-kpkg --append-to-version -test1 kernel_image
is run, interrupted, and then re-run, subsequent builds fail:

...
====== making stamp-configure because of  ======
The changelog says we are creating 2.6.17-test1-gfcc18e83
However, I thought the version is 2.6.17-test1-gfcc18e83-dirty
exit 4
make: *** [sanity_check] Error 4

In addition, make-kpkg clean does not "undirty" the kernel.  The
"-dirty" in the version string may cause kernel developers to ignore bug
reports due to using apparently non-pristine sources.

-dirty is appended by scripts/setlocalversion, which flags the
following:

git diff-files
:100644 100644 7c434e037e7f658bdc088cbc760d4eaba36f785d 
0000000000000000000000000000000000000000 M      scripts/package/Makefile
:100644 000000 6edb29f2b4a6c8aa056a748168a70583897a9d3c 
0000000000000000000000000000000000000000 D      scripts/package/builddeb

Are the changes to these files necessary, or just insurance that the
built-in package generator is not used?

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-btd1-dirty
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kernel-package depends on:
ii  dpkg                          1.13.22    package maintenance system for Deb
ii  dpkg-dev                      1.13.22    package building tools for Debian
ii  file                          4.17-2     Determines file type using "magic"
ii  gcc [c-compiler]              4:4.1.1-1  The GNU C compiler
ii  gcc-3.2 [c-compiler]          1:3.2.3-9  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.6-13 The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.3-3    The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-5    The GNU C compiler
ii  gettext                       0.14.6-1   GNU Internationalization utilities
ii  make                          3.81-2     The GNU version of the "make" util
ii  perl                          5.8.8-6    Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.2      manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                         1.0.3-2    high-quality block-sorting file co
ii  libc6-dev [libc-dev]          2.3.6-15   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