Hello,

CPIO is still not fixed in Debian (tested on sid). Checksum errors still occurs on cpio archives, amd64.

Upstream patch (applied on git but never released, as cpio 2.11 is pretty old) can be found there : http://git.gnu.org.ua/gitweb?p=cpio.git;a=commitdiff;h=refs/heads/master

Demo, first on a debian sid host, then in a chroot containing cpio with patch applied :

debian-ltop:/share/src/0linux/paquets/x86_64/base# cpio -i --only-verify-crc < gcc-4.7.3-x86_64-4.spack cpio: files.xz: erreur sur la somme de contrôle (0x17026091c, devrait être 0x7026091c).
94683 blocs
debian-ltop:/share/src/0linux/paquets/x86_64/base# cd /0linux/
debian-ltop:/0linux# chroot ./
debian-ltop:/# cd share/src/0linux/paquets/x86_64/base/
debian-ltop:/share/src/0linux/paquets/x86_64/base# cpio -i --only-verify-crc < gcc-4.7.3-x86_64-4.spack
94683 blocs

*.spack are just cpio archives (package format for a homemade distro). The checksum error appears on relatively big archives. You may test those archives here (the biggest ones, like 'gcc' or 'linux') : http://ftp.igh.cnrs.fr/pub/os/linux/0linux/paquets/x86_64/base/

This bug is a blocker when cpio calls are embedded into scripts.

Thanks,


appzer0


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to