Your message dated Fri, 21 Aug 2009 16:21:34 +0000
with message-id <e1mewru-0004xh...@ries.debian.org>
and subject line Bug#542795: fixed in kernel-package 12.019
has caused the Debian Bug report #542795,
regarding kernel-package: creating Debian packages fails, create_md5sums is 
undefined
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
542795: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542795
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: kernel-package
Version: 12.018
Severity: grave
Tags: patch

Building a linux-image package failed:

,----
| % LANG=C fakeroot make-kpkg --initrd --revision=custom.1.0 --arch=amd64 
--cross-compile=- linux-image
| [...]
| install -p    -o root -g root  -m  644 ./debian/templates.master 
/usr/src/linux-2.6.27.31/debian/linux-image-2.6.27.                             
            31-amd64/DEBIAN/templates
| dpkg-gencontrol -DArchitecture=i386 -isp             \
|                         -plinux-image-2.6.27.31-amd64 
-P/usr/src/linux-2.6.27.31/debian/linux-image-2.6.27.31-amd64/
| /usr/src/linux-2.6.27.31/debian/linux-image-2.6.27.31-amd64
| make[2]: execvp: /usr/src/linux-2.6.27.31/debian/linux-image-2.6.27.31-amd64: 
Permission denied
| make[2]: *** [debian/stamp/binary/linux-image-2.6.27.31-amd64] Error 127
| make[2]: Leaving directory `/usr/src/linux-2.6.27.31'
| make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.27.31-amd64] Error 2
| make[1]: Leaving directory `/usr/src/linux-2.6.27.31'
| make: *** [linux-image] Error 2
`----

A short investigation shows that the error appears here:

,----[ /usr/share/kernel-package/ruleset/targets/image.mk ]
|       dpkg-gencontrol -DArchitecture=$(DEB_HOST_ARCH) -isp         \
|                       -p$(package) -P$(TMPTOP)/
|       $(create_md5sums)              $(TMPTOP)
`----

Unfortunately create_md5sums is not defined, because
/usr/share/kernel-package/ruleset/common/install_cmds.mk defines
create_md5sum instead.

Fixing the typo solved the problem for me:

--8<---------------cut here---------------start------------->8---
--- install_cmds.mk~    2009-08-19 18:45:09.000000000 +0200
+++ install_cmds.mk     2009-08-21 14:11:46.816165961 +0200
@@ -40,7 +40,7 @@
 install_script  = $(INSTALL) -p    -o root -g root  -m  755
 make_directory  = $(INSTALL) -p -d -o root -g root  -m  755
 
-define create_md5sum
+define create_md5sums
     create_md5sums_fn () {                                         \
         cd $$1 ;                                                   \
        find . -type f                                              \
--8<---------------cut here---------------end--------------->8---


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30.5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kernel-package depends on:
ii  binutils              2.19.51.20090805-1 The GNU assembler, linker and bina
ii  build-essential       11.4               Informational list of build-essent
ii  debianutils           3.2.1              Miscellaneous utilities specific t
ii  file                  5.03-1             Determines file type using "magic"
ii  gettext               0.17-7             GNU Internationalization utilities
ii  make                  3.81-6             An utility for Directing compilati
ii  module-init-tools     3.10-2             tools for managing Linux kernel mo
ii  po-debconf            1.0.16             tool for managing templates file t
ii  util-linux            2.16-3             Miscellaneous system utilities

Versions of packages kernel-package recommends:
ii  cpio                          2.10-1     GNU cpio -- a program to manage ar

Versions of packages kernel-package suggests:
ii  bzip2                  1.0.5-3           high-quality block-sorting file co
pn  docbook-utils          <none>            (no description available)
ii  e2fsprogs              1.41.8-2          ext2/ext3/ext4 file system utiliti
ii  initramfs-tools [linux 0.93.4            tools for generating an initramfs
pn  libdb3-dev             <none>            (no description available)
ii  libncurses5-dev [libnc 5.7+20090803-1+b1 developer's libraries and docs for
pn  linux-source | kernel- <none>            (no description available)
pn  xmlto                  <none>            (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: kernel-package
Source-Version: 12.019

We believe that the bug you reported is fixed in the latest version of
kernel-package, which is due to be installed in the Debian FTP archive:

kernel-package_12.019.dsc
  to pool/main/k/kernel-package/kernel-package_12.019.dsc
kernel-package_12.019.tar.gz
  to pool/main/k/kernel-package/kernel-package_12.019.tar.gz
kernel-package_12.019_all.deb
  to pool/main/k/kernel-package/kernel-package_12.019_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 542...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <sriva...@debian.org> (supplier of updated kernel-package 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Fri, 21 Aug 2009 09:11:08 -0500
Source: kernel-package
Binary: kernel-package
Architecture: source all
Version: 12.019
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <sriva...@debian.org>
Changed-By: Manoj Srivastava <sriva...@debian.org>
Description: 
 kernel-package - A utility for building Linux kernel related Debian packages.
Closes: 542795 542795
Changes: 
 kernel-package (12.019) unstable; urgency=low
 .
   * Bug fix: "creating Debian packages fails, create_md5sums is
     undefined", thanks to Sven Joachim (Closes: #542795).
   * [9532201]: When changing the name of the function, also change
     invocation The md5sum creation function had a change cherry picked
     from the mainline branch, however, that branch had a different name
     for the function. This patch brings invocation back in line with the
     definition of the function. Closes: #542795 Signed-off-by: Manoj
     Srivastava <sriva...@debian.org>
Checksums-Sha1: 
 b7cdfbdab2e6b23eb83fe3371ba3163c75df4192 905 kernel-package_12.019.dsc
 8683d0a7d127d2580c7b70a52ad8e8e3ee26a632 542989 kernel-package_12.019.tar.gz
 fc707aef7c5a96b68b1325e8604efe1f486e9b0a 471208 kernel-package_12.019_all.deb
Checksums-Sha256: 
 521cf53f588bf357b27ad524a95048a63f9a4ec1a4fa1cb89e87aa3705cae744 905 
kernel-package_12.019.dsc
 7bfd7376e091681b38d51face9315a4bd7eb197de1e3332f2f89c34efd7ae6d0 542989 
kernel-package_12.019.tar.gz
 2a007d0ad3e87916e97f005cc686d8caf3018e46983617d3d4361f934df5a861 471208 
kernel-package_12.019_all.deb
Files: 
 9453c615115b768befab67fd62eebef9 905 kernel optional kernel-package_12.019.dsc
 019ab8be57d9e448c9f84e2d7e5894fe 542989 kernel optional 
kernel-package_12.019.tar.gz
 660fa0d939e3b004dca962dc670a5462 471208 kernel optional 
kernel-package_12.019_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREDAAYFAkqOr2IACgkQIbrau78kQkzfSwCg4HO5jFBGv6Jej4UlrD//dhBw
rigAn03WVhpe/hebSelUt6JpEMBt6qfF
=7n1m
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to