#1148769 devscripts: debrebuild with --chroot-mode=sbuild uses sbuild+unshare mode instead

#1148769#5
Date:
2026-09-23 09:51:29 UTC
From:
To:
Dear Maintainer,

debrebuild, in the `--help` docs and manpage, mentions that the `sbuild`
BUILDER is supposed to work with sbuild, requiring sbuild to be setup
with schroot chroots of the Debian stable distribution.

However, when using `debrebuild --builder=sbuild`, it calls sbuild with
`--chroot-mode=unshare` as evidenced by this log line:

env --chdir=./ DEB_BUILD_OPTIONS=buildinfo=+all reproducible=+all parallel=40  LANG=C LANGUAGE=en_US:en LC_ALL=C LD_PRELOAD= SOURCE_DATE_EPOCH=1789372047 TZ=/usr/share/zoneinfo/Etc/GMT+12 SBUILD_CONFIG=/tmp/debrebuildYG4FFc/debrebuild.sbuildrc.gDfl7arhp2a2 sbuild --build=amd64 --host=amd64 --arch-any --arch-all --chroot=/tmp/debrebuildYG4FFc/debrebuild.tar.8fBK7iCPpNR1 --chroot-mode=unshare --dist=unstable --no-run-lintian --no-run-piuparts --no-run-autopkgtest --no-apt-update --no-apt-upgrade --no-apt-distupgrade --no-source --verbose --nolog --bd-uninstallable-explainer= --build-path=/build/reproducible-path --dsc-dir=hyprland-0.56.2+ds /home/hyperair/src/debian/pkg-hyprland/build-area/hyprland-rebuild2/tmp/hyprland_0.56.2+ds-3.dsc

Looking at the code, it doesn't look like there's any provision to use
sbuild in schroot mode, so if there are no plans to support schroot,
then I suggest amending the docs and dropping the `--builder=sbuild`
mode, because this is pretty misleading.
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts --- DEBFULLNAME="Chow Loong Jin <hyperair@ubuntu.com>" DEBSIGN_KEYID=12E0D09DFB3FF7F759D36ED0FBD5225B588752A1 USCAN_SYMLINK=rename
#1148769#10
Date:
2026-09-24 20:25:55 UTC
From:
To:
control: severity -1 normal
thanks

right, thanks for your bug report! I believe we should update the docs
and be done...