Package: dgit
Version: 2.11
Severity: normal

In at least some cases, --build-products-dir is not sufficient for dgit
to find the .dsc.

    mattia@chase ~/devel/RFS/ocrmypdf/ocrmypdf (git)-[dgit/sid] % dgit 
--build-products-dir=~/pbuilder/results/sid/amd64 push
    canonical suite name for unstable is sid
    downloading 
http://ftp.debian.org/debian//pool/main/o/ocrmypdf/ocrmypdf_4.2.5-1.dsc...
    last upload to archive specified git hash
    using existing ocrmypdf_4.2.5.orig.tar.xz
    dgit: looked for .dsc ocrmypdf_4.3.2-1.dsc, but No such file or
    directory; maybe you forgot to build
    ! Push failed, while preparing your push.
    ! You can retry the push, after fixing the problem, if you like.

Mattia confirmed that the file

   ~/pbuilder/results/sid/amd64/ocrmypdf_4.3.2-1.dsc

exists.  His successful workaround was to use

    % dgit -C ~/pbuilder/results/sid/amd64/ocrmypdf_4.2.4-1_amd64.changes push

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dgit depends on:
ii  apt                               1.3.1
ii  ca-certificates                   20160104
ii  coreutils                         8.25-2
ii  curl                              7.50.1-1
ii  devscripts                        2.16.8
ii  dpkg-dev                          1.18.10
ii  dput                              0.10.3
ii  git [git-core]                    1:2.9.3-1
ii  git-buildpackage                  0.8.6
ii  libdpkg-perl                      1.18.10
ii  libjson-perl                      2.90-1
ii  liblist-moreutils-perl            0.416-1+b1
ii  libperl5.24 [libdigest-sha-perl]  5.24.1~rc3-3
ii  libtext-glob-perl                 0.10-1
ii  libtext-iconv-perl                1.7-5+b4
ii  libwww-perl                       6.15-1
ii  perl                              5.24.1~rc3-3

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

Versions of packages dgit suggests:
ii  sbuild  0.72.0-2

-- no debconf information

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to