Bug#858611: /usr/bin/mk-origtargz: --compression is ignored during repack when not explicitely telling to repack

Paul Gevers elbrus at debian.org
Fri Mar 24 12:47:15 UTC 2017


Package: devscripts
Version: 2.17.5
Severity: normal
File: /usr/bin/mk-origtargz

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

During my work on castle-game-engine, where I am stripping files from the
upstream tar ball via Files-Excluded in d/copyright, I was surprized to see
that the compression=xz in d/watch was ignored. I had to explicitely add the
repack option to change the compression, although it was already repacking the
source correctly due to the excluded files.

Without repack option:
uscan info: Executing internal command:
   mk-origtargz --package castle-game-engine --version 6.0.2 --repack-suffix +dfsg1 --compression xz --directory .. --copyright-file debian/copyright ../v6.0.2.tar.gz
uscan info: New orig.tar.* tarball version (after mk-origtargz): 6.0.2+dfsg1
uscan info: Successfully repacked ../v6.0.2.tar.gz as ../castle-game-engine_6.0.2+dfsg1.orig.tar.gz, deleting 65 files from it.

With repack option:
uscan info: Executing internal command:
   mk-origtargz --package castle-game-engine --version 6.0.2 --repack-suffix +dfsg1 --repack --compression xz --directory .. --copyright-file debian/copyright ../v6.0.2.tar.gz
uscan info: New orig.tar.* tarball version (after mk-origtargz): 6.0.2+dfsg1
uscan info: Successfully repacked ../v6.0.2.tar.gz as ../castle-game-engine_6.0.2+dfsg1.orig.tar.xz, deleting 65 files from it.

Paul
PS: thanks for this powerfull tool

- -- Package-specific info:

- --- /etc/devscripts.conf ---

- -- System Information:
Debian Release: 9.0
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'testing'), (50, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages devscripts depends on:
ii  dpkg-dev     1.18.23
ii  libc6        2.24-9
ii  perl         5.24.1-2
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  apt                         1.4~rc2
ii  at                          3.1.20-3
ii  curl                        7.52.1-3
ii  dctrl-tools                 2.24-2+b1
ii  debian-keyring              2017.01.20
ii  dput-ng [dput]              1.11
ii  equivs                      2.0.9+nmu1
ii  fakeroot                    1.21-3.1
ii  file                        1:5.29-3
ii  gnupg                       2.1.18-6
ii  gnupg2                      2.1.18-6
ii  libdistro-info-perl         0.14
ii  libdpkg-perl                1.18.23
ii  libencode-locale-perl       1.05-1
ii  libgit-wrapper-perl         0.047-1
ii  liblist-compare-perl        0.53-1
ii  liblwp-protocol-https-perl  6.06-2
ii  libsoap-lite-perl           1.20-1
ii  liburi-perl                 1.71-1
ii  libwww-perl                 6.15-1
ii  licensecheck                3.0.29-1
ii  lintian                     2.5.50.1
ii  man-db                      2.7.6.1-2
ii  patch                       2.7.5-1+b2
ii  patchutils                  0.3.4-2
ii  python3-debian              0.1.30
ii  python3-magic               1:5.29-3
ii  sensible-utils              0.0.9
ii  strace                      4.15-2
ii  unzip                       6.0-21
ii  wdiff                       1.2.2-2
ii  wget                        1.18-5
ii  xz-utils                    5.2.2-1.2+b1

Versions of packages devscripts suggests:
pn  adequate                     <none>
ii  autopkgtest                  4.3
pn  bls-standalone               <none>
ii  build-essential              12.3
pn  check-all-the-things         <none>
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
pn  diffoscope                   <none>
pn  disorderfs                   <none>
pn  dose-extra                   <none>
pn  duck                         <none>
pn  faketime                     <none>
pn  gnuplot                      <none>
ii  gpgv                         2.1.18-6
pn  how-can-i-help               <none>
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.22-1
ii  libnet-smtps-perl            0.04-1
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
ii  libyaml-syck-perl            1.29-1+b2
ii  mailutils [mailx]            1:3.1.1-1
pn  mozilla-devscripts           <none>
pn  mutt                         <none>
ii  openssh-client [ssh-client]  1:7.4p1-9
pn  piuparts                     <none>
pn  ratt                         <none>
pn  reprotest                    <none>
pn  svn-buildpackage             <none>
pn  w3m                          <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAljVFUkACgkQnFyZ6wW9
dQoDgwf+LUw/S4Rx19Xjhwi8YPTEzMVKZSsVYFz9S8i97uCFJkvE00e9Db7X7WlV
6fFQLNLmms2Cc+FG+7IcxffcMvrDNHo+lfg8Bk8U6wRe4LCwIMwGn52IvCjXYALn
hCnb3aTe31XrKlTHAfI37RTN02hUjgrSz2YoACHn8t/98/mirBy3dYBXo6Vf+bvZ
tFI7vrJuP3rkq8T8TFEKrLSgeT8gRtq4NfBhhdCYlgRbiVIdqoc7B3QxIAASBDEq
nA9d94UiFLxl93NHpbkcIhWUPPM2ykW8a62W072wN4thBotGQcZaH9OZMHrf+AbJ
Ogyh9VV0L9X44bg9E7sGdevbel6yOw==
=h3xL
-----END PGP SIGNATURE-----



More information about the devscripts-devel mailing list