Package: sbuild Version: 0.87.0 Severity: normal When attempting to follow the new unshare instructions on:
https://wiki.debian.org/sbuild sbuild would ignore the pre-build tarball and generate a temporary one for. Output from build log: E: Chroot for distribution UNRELEASED, architecture amd64 not found W: translating UNRELEASED to unstableI: Creating chroot on-demand by running: mmdebstrap --variant=buildd --arch=amd64 --skip=output/mknod --format=tar unstable - I: Unpacking tarball from STDIN to /tmp/tmp.sbuild.iGlW4978WI... I: automatically chosen mode: unshare I: chroot architecture amd64 is equal to the host's architecture I: finding correct signed-by value... I: using /tmp/mmdebstrap.cMBbXPSmjd as tempdir I: skipping output/mknod as requested for ./dev/console I: skipping output/mknod as requested for ./dev/full I: skipping output/mknod as requested for ./dev/null I: skipping output/mknod as requested for ./dev/ptmx I: skipping output/mknod as requested for ./dev/random I: skipping output/mknod as requested for ./dev/tty I: skipping output/mknod as requested for ./dev/urandom I: skipping output/mknod as requested for ./dev/zero I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: installing remaining packages inside the chroot... I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.cMBbXPSmjd... I: success in 10.8660 seconds I: The chroot directory at /tmp/tmp.sbuild.iGlW4978WI will be removed at the end of the build I: To avoid creating a new chroot from scratch every time, either: I: - place a chroot tarball at /home/soren/.cache/sbuild/unstable-amd64.tar and update it manually, for example by running: mmdebstrap --variant=buildd --arch=amd64 --skip=output/mknod --format=tar unstable /home/soren/.cache/sbuild/unstable-amd64.tar I: - or let sbuild take care of this via the setting UNSHARE_MMDEBSTRAP_KEEP_TARBALL by adding '$unshare_mmdebstrap_keep_tarball = 1;' to your ~/.sbuildrc. I: - or completely disable this behaviour via the setting UNSHARE_MMDEBSTRAP_AUTO_CREATE by adding '$unshare_mmdebstrap_auto_create = 0;' to your ~/.sbuildrc. I: Refer to UNSHARE_MMDEBSTRAP_KEEP_TARBALL in sbuild.conf(5) for more information I: NOTICE: Log filtering will replace 'sbuild-unshare-dummy-location' with '<<CHROOT>>' I: NOTICE: Log filtering will replace 'build/python-trezor-abBn8t/resolver-BAc8j6' with '<<RESOLVERDIR>>' Following the instructions to add "'$unshare_mmdebstrap_auto_create = 0;' to your ~/.sbuildrc" produces the expected results. Adding "'$unshare_mmdebstrap_keep_tarball = 1;' to your ~/.sbuildrc" didn't work as expected because it generated a ~/.config/sbuild/unstable-amd64.tar and then reused that instead of the ~/.config/sbuild/unstable-amd64.tar.xz that I had created. In createing the tarball, I followed the steps listed below from the wiki, with the only change being .xz compression instead of .zst, the inclusion of the suggested --aptopt, and the switch from https http to make apt-cacher-ng happy in its default state. $sudo apt install sbuild mmdebstrap uidmap $mkdir -p ~/.cache/sbuild $mmdebstrap --include=ca-certificates --variant=buildd unstable ~/.cache/sbuild/unstable-amd64.tar.xz http://deb.debian.org/debian --aptopt='Acquire::http { Proxy "http://127.0.0.1:3142"; }' -- 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

