Package: dgit Version: 9.13 Severity: wishlist Hi Ian,
While switching to dgit, I tried the recommended 'dgit build-source' (as in the dgit-maint-debrebase manual) only to be presented with this: =-=-=- Format `3.0 (quilt)', need to check/update patch stack examining quilt state (multiple patches, linear mode) dgit: found orig(s) in .. missing from build-products-dir, transferring: dgit: hardlinked orig from ..: openqa_4.6.1618324929.5c4cb4a68.orig.tar.xz gzip: warning: GZIP environment variable is deprecated; use an alias or script dpkg-source: error: duplicate files in v2.0 source package: openqa_4.6.1618324929.5c4cb4a68.orig.tar.* dgit: failed command: sh -ec 'exec dpkg-source --no-check --skip-patches -x fake.dsc >/dev/null' dgit: error: subprocess failed with error exit status 255 =-=-=- The "files in v2.0 source package" bit here initially lead me to assume that there were somehow duplicated files in the tarball, whereas what its actually trying to say is that I had two orig tarballs, when only one is allowed. What was actually going on was that in my build-products-dir (~/build-area in my case) there already existed a openqa_4.6.1618324929.5c4cb4a68.orig.tar.gz file, whereas it seems that at some point I'd managed to have that produced as openqa_4.6.1618324929.5c4cb4a68.orig.tar.xz in the directory above the source. dgit, noticing the lack of an .xz file and hardlinked it into ~/build-area, at which point there are two copies of the tarball, and dpkg-source gets upset. I guess that dgit should check for such duplication before doing the hardlink, and bail out with a more helpful message at that point. HTH Cheers, Phil. -- System Information: Debian Release: 11.0 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable'), (500, 'oldstable'), (99, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dgit depends on: ii apt 2.2.4 ii ca-certificates 20210119 ii coreutils 8.32-4+b1 ii curl 7.74.0-1.3+b1 ii devscripts 2.21.3 ii dpkg-dev 1.20.9 ii dput 1.1.0 ii git [git-core] 1:2.30.2-1 ii git-buildpackage 0.9.22 ii libdpkg-perl 1.20.9 ii libjson-perl 4.03000-1 ii liblist-moreutils-perl 0.430-2 ii liblocale-gettext-perl 1.07-4+b1 ii libtext-csv-perl 2.00-1 ii libtext-glob-perl 0.11-1 ii libtext-iconv-perl 1.7-7+b1 ii libwww-curl-perl 4.17-7+b1 ii perl [libdigest-sha-perl] 5.32.1-4+deb11u1 Versions of packages dgit recommends: ii distro-info-data 0.51 ii liburi-perl 5.08-1 ii openssh-client [ssh-client] 1:8.4p1-5 Versions of packages dgit suggests: ii cowbuilder 0.89 ii pbuilder 0.231 ii sbuild 0.81.2 -- no debconf information