Package: sbuild Version: 0.88.1 Severity: normal X-Debbugs-Cc: sramac...@debian.org
I am using a sbuild+schroot setup (unmodified schroot config, sbuild has purge_build_directory set to "successful"). That means that /var/lib/sbuild/build is mounted as persistent /build. Consequently, when you do: $ dpkg-buildpackage -S $ sbuild $dsc and repeat this step without changing the version number and a build fails, sbuild will continue building the failing version even if the dsc changed. dpkg-source fails to unpack the new source packages as the target path already exists: $ dpkg-source -x libmpc_0.1\~r495-3.dsc dpkg-source: warning: extracting unsigned source package (libmpc_0.1~r495-3.dsc) dpkg-source: info: extracting libmpc in libmpc-0.1~r495 dpkg-source: error: unpack target exists: libmpc-0.1~r495 But sbuild does not seem to check the exit code of dpkg-source and continues with the build. Let me know if you need any more information. Cheers -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (650, 'unstable-debug'), (650, 'unstable'), (601, 'testing'), (600, 'experimental-debug'), (600, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.10.9-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages sbuild depends on: ii adduser 3.137 ii libsbuild-perl 0.88.1 ii perl 5.40.0-8 Versions of packages sbuild recommends: ii autopkgtest 5.42 ii debootstrap 1.0.138 pn mmdebstrap <none> ii schroot 1.6.13-5 pn uidmap <none> Versions of packages sbuild suggests: pn deborphan <none> ii e2fsprogs 1.47.2~rc1-2 ii kmod 33+20240816-2 ii wget 1.24.5-2+b1 -- no debconf information -- Sebastian Ramacher