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

Package:
libzstd1
Source:
libzstd1
Description:
fast lossless compression algorithm
Submitter:
Vladimir Pertsev
Date:
2025-04-25 12:18:02 UTC
Severity:
normal
#1104086#5
Date:
2025-04-25 10:11:54 UTC
From:
To:
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"

#1104086#12
Date:
2025-04-25 11:32:05 UTC
From:
To:
Hi,

not the maintainer, but...
[various instructions on manually setting up a non-minimal chroot]
[..]
[..]

There might very well be a bug here, but it has to occur in a better
defined environment to be "serious".

Chris

#1104086#19
Date:
2025-04-25 11:44:09 UTC
From:
To:
Sorry, this is an autostatus based on the answers from reportbug (I'll be more careful next time and fix it)
 
 
 
___
С уважением, Владимир