Source: libzstd Version: 1.5.5+dfsg2-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: u20230731report...@projektzentrisch.de
Dear Maintainer, earlier today, an attempted rebuild of "libzstd" in a debootstrap/schroot environment failed with the following error: [...] d=6 steps=40 split=100 Save dictionary of size 112640 into file dictionary make[3]: Leaving directory '/build/packages/libzstd-1.5.5+dfsg2/tests' make[2]: *** [Makefile:85: test] Error 2 make[2]: Leaving directory '/build/packages/libzstd-1.5.5+dfsg2' rm -fr -- /tmp/user/0/dh-xdg-rundir-0tHhrq1P dh_auto_test: error: make -j4 test returned exit code 2 make[1]: *** [debian/rules:71: build] Error 255 make[1]: Leaving directory '/build/packages/libzstd-1.5.5+dfsg2' make: *** [debian/rules:34: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 Steps to reproduce this: # debootstrap --arch=amd64 sid debian-sid-amd64 [...] # schroot -c debian-sid-amd64 -u root -d /build/packages -s /bin/bash (debian-sid-amd64)root@vserver19:/build/packages# cat << EOF > /etc/apt/sources.list > deb https://deb.debian.org/debian sid main contrib non-free non-free-firmware deb-src https://deb.debian.org/debian sid main contrib non-free non-free-firmware EOF (debian-sid-amd64)root@vserver19:/build/packages# apt update; apt upgrade -y (debian-sid-amd64)root@vserver19:/build/packages# export EDITOR=nano; apt install -y build-essential devscripts lintian diffutils patch patchutils quilt ca-certificates git equivs less nano (debian-sid-amd64)root@vserver19:/build/packages# dget http://deb.debian.org/debian/pool/main/libz/libzstd/libzstd_1.5.5+dfsg2-1.dsc (debian-sid-amd64)root@vserver19:/build/packages# cd libzstd-1.5.5+dfsg2; mk-build-deps; apt install -y /tmp/user/0/libzstd-build-deps_1.5.5+dfsg2-1_all.deb (debian-sid-amd64)root@vserver19:/build/packages/libzstd-1.5.5+dfsg2# dpkg-buildpackage -us -uc -ui -F The above problem is currently reproducible for a non-root user, an arm64/aarch64 host (using kernel 5.15 w/ Ubuntu "jammy"), and downstream repositories (namely Ubuntu "mantic") as well--all combinations have been tried to no avail. It's my understanding that the above call to "dpkg-buildpackage" should never fail in a current debootstrap/schroot environment on x86_64 hosts if all dependencies are met (in the absence of DEB_xxx environment variables). -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.15.0-74-generic (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE, TAINT_SOFTLOCKUP Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect # source /etc/os-release; echo $VERSION; uname -a 20.04.6 LTS (Focal Fossa) Linux vserver19 5.15.0-74-generic #81~20.04.2-Ubuntu SMP Fri May 26 19:56:20 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux # arch x86_64