Hi, Quoting Santiago Vila (2025-03-04 23:33:18) > I'm currently unable to use sbuild with some of my old directory-based > chroots which I have defined in /etc/schroot/chroot.d. > > This is my ~/.sbuildrc file: > ------------------------- > $run_lintian = 0; > > $chroot_mode = "schroot"; > $schroot = "schroot"; > > 1; > ------------------------- > > When I do "sbuild -d trixie base-files", it works. > > However, when I do "sbuild -d sid base-files", it says this: > > says: > > E: Chroot for distribution unstable, architecture amd64 not found > E: Error creating chroot > > This is /etc/schroot/chroot.d/trixie: > > [trixie] > type=directory > profile=sbuild > description=Debian trixie > directory=/chroot/trixie > groups=sbuild > root-groups=sbuild > preserve-environment=true > > and this is /etc/schroot/chroot.d/sid: > > [sid] > type=directory > profile=sbuild > description=Debian sid > directory=/chroot/sid > groups=sbuild > root-groups=sbuild > preserve-environment=true > > I can enter both chroots using "schroot -c trixie" > or "schroot -c sid". > > Am I doing anything wrong?
no, this is likely due to this commit: https://salsa.debian.org/debian/sbuild/-/commit/bd765329ea55f6f72ae53457c751c0698413c5e7 By default, this maps a query for "sid" to "unstable" which you do not have defined. You could try renaming your "sid" schroot to "unstable" and if it works, then that is indeed the bug. I'll have to think about how to best fix this... Thank you for reporting the bug and sorry for the problem. cheers, josch
signature.asc
Description: signature