Your message dated Thu, 16 Aug 2007 03:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#438155: fixed in cpio 2.9-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cpio
Version: 2.7-1
Severity: serious
Tags: patch
Justification: no longer builds from source

Versions >= 2.8 of cpio fails to build on ARM due to a testsuite
failure, but the bug is already present in version 2.7.

cpio uses structures to map the file header, and the whole structure is
read at once. This does not work on all architectures (like ARM), as
they may use padding. The structures should be declared as packed to
avoid padding.

You will find a patch below to fix the problem.

--- cpio-2.9.orig/src/cpiohdr.h
+++ cpio-2.9/src/cpiohdr.h
@@ -35,7 +35,7 @@
   unsigned short c_mtimes[2];
   unsigned short c_namesize;
   unsigned short c_filesizes[2];
-};
+} __attribute__((packed));
 
 struct old_ascii_header
 {
@@ -50,7 +50,7 @@
   char c_mtime[11];
   char c_namesize[6];
   char c_filesize[11];
-};
+} __attribute__((packed));
 
 /* "New" portable format and CRC format:
 
@@ -80,7 +80,7 @@
   char c_namesize[8];  /* count includes terminating NUL in pathname */
   char c_chksum[8];    /* 0 for "new" portable format; for CRC format
                          the sum of all the bytes in the file  */
-};
+} __attribute__((packed));
 
 struct cpio_file_stat /* Internal representation of a CPIO header */
 {

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tejl)

Kernel: Linux 2.6.18-4-versatile
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cpio depends on:
ii  libc6                         2.6-5      GNU C Library: Shared libraries

cpio recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: cpio
Source-Version: 2.9-3

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

cpio_2.9-3.diff.gz
  to pool/main/c/cpio/cpio_2.9-3.diff.gz
cpio_2.9-3.dsc
  to pool/main/c/cpio/cpio_2.9-3.dsc
cpio_2.9-3_i386.deb
  to pool/main/c/cpio/cpio_2.9-3_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Clint Adams <[EMAIL PROTECTED]> (supplier of updated cpio 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 15 Aug 2007 22:40:09 -0400
Source: cpio
Binary: cpio
Architecture: source i386
Version: 2.9-3
Distribution: unstable
Urgency: high
Maintainer: Clint Adams <[EMAIL PROTECTED]>
Changed-By: Clint Adams <[EMAIL PROTECTED]>
Description: 
 cpio       - GNU cpio -- a program to manage archives of files
Closes: 438155
Changes: 
 cpio (2.9-3) unstable; urgency=high
 .
   * Patch from Aurelien Jarno to fix breakage on arm.
     closes: #438155.
Files: 
 d7f6ddceb737e8689902eae8bf4c0579 672 utils important cpio_2.9-3.dsc
 051ce49976a430bc727bb6dc0bb9aff3 19857 utils important cpio_2.9-3.diff.gz
 e37b685d2c41dc2aaa9398ceb08a48a6 186436 utils important cpio_2.9-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Debian!

iD8DBQFGw7sL5m0u66uWM3ARAleXAKDIT8yCyFDGwgN9G9XPLdRnrm7wWACgh/o4
C5RqyUTpADt0+q8szdPVuPk=
=yHek
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to