Package: sbuild Version: 0.88.1~bpo12+1 Severity: normal X-Debbugs-Cc: richard.lewis.deb...@googlemail.com
Dear Maintainer, This may be a local issue as im running the sbuild from git, commit 39120d92, but on stable: If i run sbuild with --chroot-mode=schroot --purge-build=never then /var/lib/sbuild/build/reproducible-path/<package>_<version>.changes is created as root:root (on the host) -- all the other files are owned by user:user or user:sbuild this means you cant re-run the sbuild, because the .changes cant be overritten by dpkg-genchanges: dpkg-deb: building package 'chkrootkit-dbgsym' in '../chkrootkit-dbgsym_0.58b-4_amd64.deb'. dpkg-genbuildinfo -O../chkrootkit_0.58b-4_amd64.buildinfo dpkg-genchanges -O../chkrootkit_0.58b-4_amd64.changes dpkg-genchanges: error: cannot write ../chkrootkit_0.58b-4_amd64.changes: Permission denied the unshare chroot mode is not affected: it doesnt put any files in /var/lib/sbuild/build at all. (I'm running sbuild from git on stable - i get a dpkg-buildtree: error: unknown option 'is-rootless' error but that doesnt seem to stop things working in unshare - i think it only means fakeroot installed in the chroot even if rules-dont-require-root as i understand it) sorry if this is an unsupported setup! (i dont really need purge=never but i assumed it would save some time) ~ -- System Information: Debian Release: 12.9 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-30-amd64 (SMP w/1 CPU thread; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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.134 ii libsbuild-perl 0.88.1~bpo12+1 ii perl 5.36.0-7+deb12u1 Versions of packages sbuild recommends: ii autopkgtest 5.38~bpo12+1 ii debootstrap 1.0.128+nmu2+deb12u2 ii mmdebstrap 1.3.5-7 ii schroot 1.6.13-3+b2 ii uidmap 1:4.13+dfsg1-1+b1 Versions of packages sbuild suggests: pn deborphan <none> ii e2fsprogs 1.47.0-2 ii kmod 30+20221128-1 ii wget 1.21.3-1+b2 -- no debconf information