Package: dgit
Version: 9.7
Severity: normal

Steps to reproduce:

* Have an upstream project that releases tarballs with detached signatures
  (in this case dbus-python_1.2.10.orig.tar.gz{,.asc})
* Have the .asc next to your .orig.tar.gz
* Build a source-only .changes file in a way that will pick up the orig
  tarball and detached signature
* dgit push-source -C /path/to/dbus-python_1.2.10-1_source.changes

Expected result:

* It uploads

Actual result:

> $ dgit push-source -C ~/tmp/build-area/dbus-python_latest/*_source.changes
> Format `3.0 (quilt)', need to check/update patch stack
> canonical suite name for unstable is sid
> gzip: warning: GZIP environment variable is deprecated; use an alias or script
> dgit: split brain (separate dgit view) may be needed (--quilt=unapplied).
> examining quilt state (multiple patches, unapplied mode)
> dgit: base trees orig=b6bbca609900c3739fa8 o+d/p=b6bbca609900c3739fa8
> dgit: quilt differences: src:  == orig ==     gitignores:  == orig ==
> dgit: quilt differences:      HEAD == o+d/p               HEAD == o+d/p
> dgit view: created (commit id 3cab30a85d7ad0c0cc2d7a98f27fa4b9d366b0ed)
> purportedly source-only changes polluted by dbus-python_1.2.10.orig.tar.gz.asc
> 
> dgit: error: user-specified changes file is not source-only
> ! Push failed, before we got started.
> ! You can retry the push, after fixing the problem, if you like.

Workaround:

* Use dgit push instead (but give it a source-only changes file anyway)

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-debug'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dgit depends on:
ii  apt                        1.8.3
ii  ca-certificates            20190110
ii  coreutils                  8.30-3+b1
ii  curl                       7.65.3-1
ii  devscripts                 2.19.6
ii  dpkg-dev                   1.19.7
ii  dput                       1.0.3
ii  git [git-core]             1:2.23.0-1
ii  git-buildpackage           0.9.14
ii  libdpkg-perl               1.19.7
ii  libjson-perl               4.02000-1
ii  liblist-moreutils-perl     0.416-1+b4
ii  liblocale-gettext-perl     1.07-3+b4
ii  libtext-glob-perl          0.10-1
ii  libtext-iconv-perl         1.7-6
ii  libwww-curl-perl           4.17-5
ii  perl [libdigest-sha-perl]  5.28.1-6

Versions of packages dgit recommends:
ii  openssh-client [ssh-client]  1:8.0p1-6

Versions of packages dgit suggests:
ii  cowbuilder  0.88
ii  pbuilder    0.230.4
ii  sbuild      0.78.1-2

-- no debconf information

Reply via email to