I also see this bug when debuild is invoked by gbp buildpackage. gbp buildpackage --git-verbose --git-ignore-branch --git-ignore-new --git-export-dir=~/tmp --build=source --no-check-builddeps -us -uc
gbp:info: Moving '/home/brownn/tmp/systemd-tmp' to '/home/brownn/tmp/systemd-247.2' gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format'] gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format'] gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/pristine-tar'] gbp:debug: ['git', 'show-ref', '--verify', 'refs/remotes/origin/pristine-tar'] gbp:debug: ['git', 'log', '--pretty=format:%H', '--no-merges', '--grep=pristine-tar .* systemd_247.2\\.orig.tar\\.', 'origin/pristine-tar', '--'] gbp:debug: Found pristine-tar commit at 'f016606a8f492d404ea61ce909d9c19c2155007f' gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'f016606a8f492d404ea61ce909d9c19c2155007f^0'] gbp:debug: ['git', 'show', '--pretty=format:%an%x00%ae%x00%ad%x00%cn%x00%ce%x00%cd%x00%s%x00%f%x00%b%x00', '-z', '--date=raw', '--no-renames', '--name-status', '--no-show-signature', 'f016606a8f492d404ea61ce909d9c19c2155007f'] gbp:debug: Determined compression type 'gzip' gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format'] gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/pristine-tar'] gbp:warning: Pristine-tar branch "pristine-tar" not found gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format'] gbp:info: Creating /home/brownn/tmp/systemd_247.2.orig.tar.gz gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format'] gbp:debug: upstream signature state: auto gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/pristine-tar'] gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/pristine-tar'] gbp:debug: pristine-tar [] ['checkout', '/home/brownn/tmp/systemd_247.2.orig.tar.gz'] gbp:debug: pristine-tar [] ['--help'] gbp:debug: pristine-tar [] ['verify', '/home/brownn/tmp/systemd_247.2.orig.tar.gz'] gbp:info: Performing the build gbp:debug: debuild -i -I ['--build=source', '--no-check-builddeps', '-us', '-uc'] [] dpkg-buildpackage -us -uc -ui -i -I --build=source --build=source --no-check-builddeps <snip> debuild: fatal error at line 1062: can't open systemd_247.2-5_amd64.changes for reading: No such file or directory gbp:error: 'debuild -i -I --build=source --no-check-builddeps -us -uc' failed: it exited with 29