Package: libarchive-tools
Version: 3.8.10-1
Severity: serious
Tags: upstream
Control: forwarded -1 https://github.com/libarchive/libarchive/issues/3767
Control: affects -1 mmdebstrap
Hi,
the ext2 and ext4 format output of mmdebstrap is broken since the upload of
3.8.10-1 because mmdebstrap verifies whether mke2fs works with tarballs by
attempting to send an empty tarball to mke2fs. This is supposed to create an
empty 16384 block filesystem using mke2fs's ability to use libarchive for
reading tarballs on standard input. Instead what happens since 3.8.10-1 is this
error message:
E: __populate_fs_from_tar: Unknown code ____ 226 cannot read archive
header: "Truncated tar archive detected while reading next header"
E: mke2fs: Unknown code ____ 226 while populating file system
E: E: mke2fs failed with exit status: 256
Steps to reproduce (without mke2fs):
$ dd if=/dev/zero bs=10240 count=1 status=none | bsdtar tv
bsdtar: Truncated tar archive detected while reading next header
bsdtar: Error exit delayed from previous errors
This is a regression in upstream commit b610fdfdd4b0 and not present in their
master branch. I'm making this bug RC severity because it makes my package
mmdebstrap unusable when creating bootable disk images, which is one of its
main use-cases, for example in the machinery we use for the MNT open hardware
computers.
Thanks!
cheers, josch