Package: devscripts
Version: 2.20.3
Severity: normal
File: /usr/bin/dch
User: devscri...@packages.debian.org
Usertags: dch debchange

The behaviour of the dch --rebuild option does not match what the
documentation says. It should append build1 (or increment to build2
etc) to the version number but it instead increments the Debian portion
of the version number.

$ head -n1 debian/changelog 
iotop (0.6-24-g733f3f8-1) unstable; urgency=medium
$ dch --rebuild 'Rebuild for a test'
$ head -n1 debian/changelog 
iotop (0.6-24-g733f3f8-2) UNRELEASED; urgency=medium

$ dch --help | grep rebuild
  -R, --rebuild
         Increment the Debian release number for a no-change rebuild
$ man dch | grep -B1 'no-change rebuild'
       --rebuild, -R
              Increment the Debian release number for a no-change 
              rebuild by appending a "build1" or by incrementing a
              rebuild version number.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages devscripts depends on:
ii  dpkg-dev              1.19.7
ii  fakeroot              1.24-1
ii  file                  1:5.38-4
ii  gnupg                 2.2.20-1
ii  gnupg2                2.2.20-1
ii  gpgv                  2.2.20-1
ii  libc6                 2.30-8
ii  libfile-homedir-perl  1.004-1
ii  libfile-which-perl    1.23-1
ii  libipc-run-perl       20200505.0-1
ii  libmoo-perl           2.004000-1
ii  libwww-perl           6.44-1
ii  patchutils            0.3.4-2+b1
ii  perl                  5.30.0-10
ii  pseudo [fakeroot]     1.9.0+git20190802+060058b-1
ii  python3               3.8.2-3
ii  sensible-utils        0.0.12+nmu1
ii  wdiff                 1.2.2-2+b1

Versions of packages devscripts recommends:
ii  apt                         2.1.2
ii  at                          3.1.23-1+b1
ii  curl                        7.68.0-1
ii  dctrl-tools                 2.24-3+b1
ii  debian-keyring              2020.03.24
ii  dput                        1.0.3
ii  dupload                     2.9.5
ii  equivs                      2.3.0
ii  libdistro-info-perl         0.23
ii  libdpkg-perl                1.19.7
ii  libencode-locale-perl       1.05-1
pn  libgit-wrapper-perl         <none>
ii  libgitlab-api-v4-perl       0.25-1
ii  liblist-compare-perl        0.53-1
ii  liblwp-protocol-https-perl  6.07-2
ii  libsoap-lite-perl           1.27-1
ii  libstring-shellquote-perl   1.04-1
ii  libtry-tiny-perl            0.30-1
ii  liburi-perl                 1.76-2
ii  licensecheck                3.0.46-1
ii  lintian                     2.74.0
ii  man-db                      2.9.1-1
ii  patch                       2.7.6-6
ii  python3-apt                 2.1.3
ii  python3-debian              0.1.37
ii  python3-magic               2:0.4.15-4
ii  python3-requests            2.23.0+dfsg-2
pn  python3-unidiff             <none>
ii  python3-xdg                 0.26-3
ii  strace                      5.5-3
ii  unzip                       6.0-25
ii  wget                        1.20.3-1+b2
ii  xz-utils                    5.2.4-1+b1

Versions of packages devscripts suggests:
ii  adequate                                  0.15.2
ii  autopkgtest                               5.13.1
ii  bls-standalone                            0.20151231+b1
ii  bsd-mailx [mailx]                         8.1.2-0.20180807cvs-1+b1
ii  build-essential                           12.8
ii  check-all-the-things                      2017.05.20+nmu1
pn  cvs-buildpackage                          <none>
ii  debhelper                                 13
pn  devscripts-el                             <none>
ii  diffoscope                                144
ii  disorderfs                                0.5.9-2
ii  dose-extra                                5.0.1-14+b2
ii  duck                                      0.13
ii  faketime                                  0.9.7-3
pn  gnuplot                                   <none>
ii  how-can-i-help                            16
ii  libauthen-sasl-perl                       2.1600-1
pn  libdbd-pg-perl                            <none>
ii  libfile-desktopentry-perl                 0.22-1
pn  libnet-smtps-perl                         <none>
ii  libterm-size-perl                         0.209-1+b2
ii  libtimedate-perl                          2.3200-1
ii  libyaml-syck-perl                         1.32-2
ii  mozilla-devscripts                        0.54
ii  mutt                                      1.13.2-1
ii  openssh-client [ssh-client]               1:8.2p1-4
ii  piuparts                                  1.1.1
ii  postgresql-client                         12+215
ii  postgresql-client-12 [postgresql-client]  12.3-1
ii  quilt                                     0.66-2
pn  ratt                                      <none>
ii  reprotest                                 0.7.14
ii  svn-buildpackage                          0.8.7
ii  w3m                                       0.5.3-38

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to