Package: sbuild
Version: 0.87.1
Severity: normal

I'm building an UNRELEASED package and then sbuild complains with
this:

E: Chroot for distribution UNRELEASED, architecture amd64 not found

which, fair enough, there's no such tarball in my .cache/sbuild:

$ find ~/.cache/sbuild/
/home/anarcat/.cache/sbuild/
/home/anarcat/.cache/sbuild/bookworm-amd64.tar.zst
/home/anarcat/.cache/sbuild/unstable-amd64.tar.zst

but then sbuild says this:

I: Applied base distribution name mangle rule 
s/(?^:^(experimental|rc-buggy|UNRELEASED)$)/unstable/ turning "UNRELEASED" into 
"unstable"

... so i thought "cool, that's smart, it's going to use my unstable
tarball! yaay!"

... but then it did this:

I: Creating chroot on-demand by running: mmdebstrap --variant=buildd 
--arch=amd64 --skip=output/mknod --format=tar unstable -

Hmm. So it did *not* use the unstable tarball.

The build works, so it's not *that* bad, considering how fast
mmdebstrap is, but it would sure be nice to skip that step entirely.

And I know i can make symlinks to work around that, and that i can
use `$unshare_mmdebstrap_keep_tarball=1;` to keep the generated
tarball, but that all seems besides the point. This is a nice feature,
it just needs one last push to be perfect, IMHO. :)

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

Kernel: Linux 6.11.10-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.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.1
ii  perl            5.40.0-8

Versions of packages sbuild recommends:
ii  autopkgtest  5.42
ii  debootstrap  1.0.138
ii  mmdebstrap   1.5.4-2
ii  schroot      1.6.13-5
ii  uidmap       1:4.16.0-5

Versions of packages sbuild suggests:
ii  deborphan  1.7.35
ii  e2fsprogs  1.47.1-1+b1
ii  kmod       33+20240816-2
ii  wget       1.24.5-2+b1

-- no debconf information

Reply via email to