Package: dgit
Version: 9.12
Severity: normal

Hi,

As discussed on IRC, I had a slightly bad experience using dgit to
prepare an NMU for f2fs-tools.

paul@mulciber ~/packages/bugs $ dgit clone f2fs-tools
canonical suite name for unstable is sid
fetching existing git history
last upload to archive: NO git hash
using existing f2fs-tools_1.11.0.orig.tar.gz
using existing f2fs-tools_1.11.0-1.1.debian.tar.xz
dpkg-source: info: extracting f2fs-tools in f2fs-tools-1.11.0
dpkg-source: info: unpacking f2fs-tools_1.11.0.orig.tar.gz
dpkg-source: info: unpacking f2fs-tools_1.11.0-1.1.debian.tar.xz
synthesised git commit from .dsc 1.11.0-1.1

Version actually in archive:   1.11.0-1.1 (older)
Last version pushed with dgit: 1.12.0-1 (newer or same)
Perhaps the upload is stuck in incoming.  Using the version from git.

HEAD is now at fa204f3 Declare fast forward from 1.11.0-1.1
dgit ok: ready for work in f2fs-tools


So apparently the previous upload was done with dgit, cool.... Unless
that previous upload included a new upstream version and the upload went
through new and the upload was rejected...

paul@mulciber ~/packages/bugs $ cd f2fs-tools
paul@mulciber ~/packages/bugs/f2fs-tools $ dch -i "bla"
paul@mulciber ~/packages/bugs/f2fs-tools $ dch -r ""
paul@mulciber ~/packages/bugs/f2fs-tools $ git commit -m"Commit
changelog" debian/changelog
[dgit/sid 003cb83] Commit changelog
 1 file changed, 7 insertions(+)
paul@mulciber ~/packages/bugs/f2fs-tools $ dgit build-source
Format `3.0 (quilt)', need to check/update patch stack
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)
dpkg-source: error: missing orig.tar or debian.tar file in v2.0 source
package
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 new upsteam tar ball is missing, and as the upload was rejected, I
don't know where to obtain that tar ball.

Once I discovered the problem (I had initially missed the "Perhaps the
upload is stuck in incoming.  Using the version from git." part), it
would have helped if it was clear to me where to start working if I
wanted to have the version in unstable.

In the end I resorted to
paul@mulciber ~/packages/bugs $ dgit clone f2fs-tools testing
as unstable and testing have the same version, but that doesn't work if
unstable and testing don't have the same version.

Paul

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-4-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US: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.1.12
ii  ca-certificates            20200601
ii  coreutils                  8.32-4+b1
ii  curl                       7.72.0-1
ii  devscripts                 2.20.5
ii  dpkg-dev                   1.20.5
ii  dput-ng [dput]             1.31
ii  git [git-core]             1:2.29.2-1
ii  git-buildpackage           0.9.20
ii  libdpkg-perl               1.20.5
ii  libjson-perl               4.02000-2
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.0-6

Versions of packages dgit recommends:
ii  distro-info-data             0.45
ii  liburi-perl                  5.05-1
ii  openssh-client [ssh-client]  1:8.4p1-3

Versions of packages dgit suggests:
ii  cowbuilder  0.89
ii  pbuilder    0.230.4

-- no debconf information

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to