Bug#754328: devscripts: mk-origtargz fails on .zip files

Barry Warsaw barry at debian.org
Wed Jul 9 22:38:28 UTC 2014


Package: devscripts
Version: 2.14.5
Severity: important

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

Dear Maintainer,

I have a debian/watch file that points to a .zip on PyPI:

version=3
http://pypi.python.org/packages/source/z/zope.browserpage/zope.browserpage-(\d.*)\.(?:tar\.gz|zip)

mk-orig-targz fails with the following error message:

% uscan --force-download --repack
zope.browserpage: Version (4.1.0a1) available on remote site:
  http://pypi.python.org/packages/source/z/zope.browserpage/zope.browserpage-4.1.0a1.zip
    (local version is 4.0.0)
    Use of uninitialized value $mime in string eq at /usr/bin/mk-origtargz line 315.
Parameter ../zope.browserpage-4.1.0a1.zip does not look like a tar archive or a zip file. at /usr/bin/mk-origtargz line 320.
uscan: error: mk-origtargz --package zope.browserpage --version 4.1.0a1 --repack --compression gzip --directory .. --copyright-file debian/copyright ../zope.browserpage-4.1.0a1.zip gave error exit status 255


- -- Package-specific info:

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

- --- ~/.devscripts ---
DEBSIGN_KEYID=A74B06BF
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-us -uc"

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev     1.17.10
ii  libc6        2.19-5
ii  perl         5.18.2-6
ii  python3      3.4.1-1
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  at                          3.1.14-1
ii  curl                        7.37.0-1+b1
ii  dctrl-tools                 2.23
ii  debian-keyring              2014.04.25
ii  dput-ng [dput]              1.7
ii  equivs                      2.0.9
ii  fakeroot                    1.20-3
ii  file                        1:5.19-1
ii  gnupg                       1.4.18-2
ii  libdistro-info-perl         0.13
ii  libencode-locale-perl       1.03-1
ii  libjson-perl                2.61-1
ii  liblwp-protocol-https-perl  6.04-3
ii  libparse-debcontrol-perl    2.005-4
ii  libsoap-lite-perl           1.11-1
ii  liburi-perl                 1.61-1
ii  libwww-perl                 6.07-1
ii  lintian                     2.5.24
ii  man-db                      2.6.7.1-1
ii  patch                       2.7.1-5
ii  patchutils                  0.3.3-1
ii  python3-debian              0.1.22
ii  python3-magic               1:5.19-1
ii  sensible-utils              0.0.9
ii  strace                      4.5.20-2.3
ii  unzip                       6.0-12
ii  wdiff                       1.2.2-1
ii  wget                        1.15-1+b1
ii  xz-utils                    5.1.1alpha+20120614-2

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20131005cvs-1
ii  build-essential              11.6
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
pn  gnuplot                      <none>
ii  gpgv                         1.4.18-2
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.07-1
ii  libnet-smtp-ssl-perl         1.01-3
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
pn  libyaml-syck-perl            <none>
ii  mutt                         1.5.23-1
ii  openssh-client [ssh-client]  1:6.6p1-6
ii  svn-buildpackage             0.8.5
ii  w3m                          0.5.3-16

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTvcRiAAoJEBJutWOnSwa/K1oP/jIcNZi1aggTeQ3eYnjoaxDE
rx21nmLRY9ebCxcf3zKxcnTNkW9Z9/9wKB+UP8E8qCapBkNBXomzq2jFT+CQE8Iy
s/0S7gi46HELxHLgMRGHidMacIQYOOTaKUnv0fMwlUlI7x1tj0BA7UBJgqoJAGTX
WFWYqdU9y/dPfEA2Ap8SMvtMpokj354lSWAkO4V/cE3u7xvcDvu5FcBfppUSBsZA
oc+CcQIdSf2QT1IqMfz2rBR/skGa3tpDl0zyodAFYTlr56jcFecn0dOZHgy8NpIX
U2DEDWSxZwmKXTtKnQMRCOxru+1HI/lSJCTXWcQ1Ml2JnR6/aBnTMRYlzq0X2raX
LhH5cSgI3h3ACoRE8KTA+vta02jxxI4f6XdrBNj/zLgnKb05H6iCOLpPvufKl+s3
LAIKYOcYortRGX0ZVKei0RZGQJ+Dvw2vTen8/TvKBlenE7TeAlYF9Su6AiSXTh2G
00Q0xPWOeClllv+cUgpFM9/uRhT+xVJpednTCPI71TFVRkLXuXf7OCFMuwvQB/Kf
LxDps3xWWt/HXHjg2GjsgbYxV3eWUG1cyiYPPM+YhahBoOVopOnF7z/Lwbx1Jnr5
RlGaTg/Z1sZOnGwgHdeZT7hU/Ct7nigNsiIxAyvDGcdaKb4G1dpengpWZbxA8p/W
vpkXvPRAL5D0aoFJvzSc
=F8e1
-----END PGP SIGNATURE-----



More information about the devscripts-devel mailing list