Package: bzip2 Version: 1.0.6-9 Severity: important Tags: lfs On 32-bit systems bzip2 cannot handle files over 2 GiB, as seen here in an i386 chroot:
,---- | $ dd if=/dev/zero of=bigfile bs=1 count=0 seek=2049M | [...] | $ bzip2 bigfile | bzip2: Can't open input file bigfile: Value too large for defined data type. `---- The upstream Makefile sets -D_FILE_OFFSET_BITS=64 in CFLAGS (should actually be in CPPFLAGS, but it does not really matter), but debian/rules overwrites that setting since commit 8e1481f96b9[1]. -- System Information: Debian Release: bullseye/said APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-rc7-nouveau (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages bzip2 depends on: ii libbz2-1.0 1.0.8-2 ii libc6 2.29-3 bzip2 recommends no packages. Versions of packages bzip2 suggests: ii bzip2-doc 1.0.8-2 -- no debconf information 1. 1. https://salsa.debian.org/debian/bzip2/commit/8e1481f96b99e2060f9b72eaaaa76cfe434b1f13