🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2061

Bug#1152028: Regression: 3.8.10-1 is unable to read empty tarballs and breaks mmdebstrap ext2 and ext4 formats

#2061
From: Johannes Schauer Marin Rodrigues
Date: Sun, 25 Oct 2026 18:10
35 lines
3197 bytes
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
Technical Details
Message-ID: <NSaPp-7PzO-77@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Johannes Schauer Marin Rodrigues <josch@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152028: Regression: 3.8.10-1 is unable to read empty tarballs and breaks mmdebstrap ext2 and ext4 formats
Date: Sun, 25 Oct 2026 19:10:06 +0100
Message-ID: <NSaPp-7PzO-77@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 25 18:08:29 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Johannes Schauer Marin Rodrigues <josch@debian.org>, 1152028@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: gabriel.barrantes.dev@outlook.com
X-Debian-Pr-Message: report 1152028
X-Debian-Pr-Package: libarchive-tools
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: libarchive
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: josch
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998699
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 35
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 25 Oct 2026 17:44:06 +0100
X-Original-Message-ID: <179294664630.2356029.6455757277357793015.reportbug@localhost>