Package: sbuild Version: 0.87.0 Severity: normal When following the unshare instructions on the sbuild wiki at:
https://wiki.debian.org/sbuild Piuparts fails if there are UNRELEASED changes because it is looking for at UNRELEASED-amd64.tar.zst instead of unstable-amd64.tar.zst. 0m0.0s INFO: ------------------------------------------------------------------------------ 0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile. 0m0.0s INFO: FAQ available at https://wiki.debian.org/piuparts/FAQ 0m0.0s INFO: The FAQ also explains how to contact us in case you think piuparts is wrong. 0m0.0s INFO: ------------------------------------------------------------------------------ 0m0.0s INFO: piuparts version 1.5.1 starting up. 0m0.0s INFO: Command line arguments: /usr/bin/piuparts --basetgz=/home/soren/.cache/sbuild/UNRELEASED-amd64.tar.zst --fake-essential-packages=systemd-sysv --distribution=UNRELEASED /home/soren/Debian/python-trezor/python-trezor_0.13.9-5_amd64.changes 0m0.0s INFO: Running on: Linux soren-desktop 6.11.7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.7-1 (2024-11-09) x86_64 0m0.0s DEBUG: Starting command: ['dpkg', '--info', '/home/soren/Debian/python-trezor/python3-trezor_0.13.9-5_all.deb'] [snip] 0m0.0s DEBUG: Command ok: ['dpkg', '--info', '/home/soren/Debian/python-trezor/trezor_0.13.9-5_all.deb'] 0m0.0s DEBUG: Created temporary directory /tmp/tmpupzhakj4 0m0.0s DEBUG: Unpacking /home/soren/.cache/sbuild/UNRELEASED-amd64.tar.zst into /tmp/tmpupzhakj4 0m0.0s DEBUG: Starting command: ['eatmydata', 'tar', '-C', '/tmp/tmpupzhakj4', '--auto-compress', '-xf', '/home/soren/.cache/sbuild/UNRELEASED-amd64.tar.zst'] 0m0.0s DUMP: /usr/bin/tar: /home/soren/.cache/sbuild/UNRELEASED-amd64.tar.zst: Cannot open: No such file or directory /usr/bin/tar: Error is not recoverable: exiting now 0m0.0s ERROR: Command failed (status=2): ['eatmydata', 'tar', '-C', '/tmp/tmpupzhakj4', '--auto-compress', '-xf', '/home/soren/.cache/sbuild/UNRELEASED-amd64.tar.zst'] /usr/bin/tar: /home/soren/.cache/sbuild/UNRELEASED-amd64.tar.zst: Cannot open: No such file or directory /usr/bin/tar: Error is not recoverable: exiting now The main build process works around this issue if autocreating the tarball (and ignoring the one that is already supplied (see #1088304). But, if is is instructed to not auto-generate tarballs, it also fails. E: Chroot for distribution UNRELEASED, architecture amd64 not found E: unable to find chroot and UNSHARE_MMDEBSTRAP_AUTO_CREATE is disabled E: Error creating chroot session: skipping python-trezor The workaround is to add the following line to .sbuilrc. $distribution = 'unstable'; However, I have been advised that the above should not be needed and this is actually a bug in sbuild. https://lists.debian.org/debian-devel/2024/11/msg00433.html -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.11.7-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sbuild depends on: ii adduser 3.137 ii libsbuild-perl 0.87.0 ii perl 5.40.0-7 Versions of packages sbuild recommends: ii autopkgtest 5.42 ii debootstrap 1.0.137 ii mmdebstrap 1.5.4-2 ii schroot 1.6.13-5 ii uidmap 1:4.16.0-5 Versions of packages sbuild suggests: pn deborphan <none> ii e2fsprogs 1.47.1-1+b1 ii kmod 33+20240816-2 ii wget 1.24.5-2+b1 -- no debconf information

