Bug#1104084: libzstd: Package build fails when running integration tests "test-cli-tests"

Владимир <[email protected]> Fri, 25 Apr 2025 13:18:04 +0300
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <1745576284.971837520__34882.3769412533$1745576492$gmane$org@f747.i.mail.ru>
Package: libzstd1
Version: 1.5.7+dfsg-1
Severity: serious
File: libzstd
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc:  [email protected]
User:  [email protected]
Usertags: amd64

Dear Maintainer,


* What led up to the situation?
Building in chroot environment of zstd package

* What exactly did you do that was effective?
sudo debootstrap --components="main,contrib,non-free" "trixie" "/opt/dev/build/trixie" " https://deb.debian.org/debian "
sudo mount -t proc proc /opt/dev/build/trixie/proc/
sudo mount -o bind /sys/ /opt/dev/build/trixie/sys/
sudo mount -o bind /dev/ /opt/dev/build/trixie/dev/
sudo mount -o bind /dev/pts /opt/dev/build/trixie/dev/pts

sudo mount --make-rslave /opt/dev/build/trixie/sys
sudo mount --make-rslave /opt/dev/build/trixie/dev
sudo mount --make-rslave /opt/dev/build/trixie/dev/pts

sudo chroot /opt/dev/build/trixie apt update
sudo chroot /opt/dev/build/trixie apt install devscripts quilt equivs ccache bash-completion sudo -yyy
sudo chroot /opt/dev/build/trixie apt clean

sudo chown -R "${USER}:${USER}" /opt/dev/build/trixie/opt/
sudo chroot "\opt/dev/build/trixie"

Copy into chroot "/opt" directory and unpack:
libzstd_1.5.7+dfsg.orig.tar.xz
libzstd_1.5.7+dfsg-1.debian.tar.xz
(move "debian" dir to src-dir)

cd zstd-1.5.7
export DEB_BUILD_OPTIONS="ccache noautodbgsym parallel=16"
mk-build-deps -ir
dpkg-buildpackage -us -uc -ui -j16

* What was the outcome of this action?
The build was interrupted by an error

* What outcome did you expect instead?
Build package with successful passing of tests

The build runs correctly when tests are skipped with the nocheck option. :
export DEB_BUILD_OPTIONS="ccache noautodbgsym parallel=16 nocheck"



-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.11-1-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libzstd1:amd64 depends on:
ii libc6 2.41-7

libzstd1:amd64 recommends no packages.

libzstd1:amd64 suggests no packages.

-- no debconf information