Out of curiosity I investigated a little more. With the below steps I could reproduce it in a minimal Bookworm/testing amd64 qemu VM.
There the build stopped at this line: dpkg-buildpackage: info: binary-only upload ... And killing from outside this php process made the build continue/finish. Previously I copied an sbuild example using unshare instead of schroot, but there the hang was not observable. Kind regards, Bernhard # as root: apt install mc rr gdb htop sbuild sbuild-debian-developer-setup mmdebstrap apt build-dep php-guzzlehttp-psr7 sbuild-adduser benutzer cat << "EOF" > /etc/schroot/chroot.d/unstable-amd64-sbuild [unstable-amd64-sbuild] description=Debian unstable/amd64 autobuilder groups=root,sbuild root-groups=root,sbuild profile=sbuild type=directory directory=/srv/chroot/sbuild-createchroot union-type=overlay EOF mkdir /srv/chroot mmdebstrap --variant=buildd unstable /srv/chroot/sbuild-createchroot # as user: cat << "EOF" > ~/.sbuildrc $chroot_mode = 'schroot'; $distribution = 'unstable'; #$run_autopkgtest = 1; $autopkgtest_root_args = ''; $autopkgtest_opts = [ '--apt-upgrade', '--', 'schroot', '--release', '%r', '--arch', '%a' ]; EOF mkdir /home/benutzer/source/php-guzzlehttp-psr7/orig cd /home/benutzer/source/php-guzzlehttp-psr7/orig apt source php-guzzlehttp-psr7 cd /home/benutzer/source/php-guzzlehttp-psr7 cp orig try1 -a cd try1/php-guzzlehttp-psr7-2.4.3 sbuild --no-run-lintian