Bug#814559: mk-origtargz: uscan “Successfully =?UTF-8?Q?downloaded=E2=80=9D, ?= then “Can't open” the same tarball

Ben Finney ben+debian at benfinney.id.au
Sat Feb 13 00:37:34 UTC 2016


Package: devscripts
Version: 2.15.10
Severity: normal

After ‘uscan’ successfully downloads an upstream tarball file, it then
exits with an error complaining it can't find the file it just downloaded:

=====
$ uscan --download-current-version --force
uscan: uscan (version 2.15.10) See uscan(1) for help
uscan: Scan watch files in .
uscan: ./debian/changelog sets package="xkcdpass" version="1.4.3"
uscan: Newest version on remote site is 1.4.3, specified download version is 1.4.3
uscan: Downloading upstream package: xkcdpass-1.4.3.tar.gz
uscan: Start checking for common possible upstream OpenPGP signature files
uscan: End checking for common possible upstream OpenPGP signature files
uscan: Successfully downloaded package xkcdpass-1.4.3.tar.gz
Can't open 'xkcdpass-1.4.3.tar.gz': No such file or directory at /usr/bin/uscan line 3705.
=====

By enabling ‘--verbose’ on the command line, it appears the failure is
actually from ‘mk-origtargz’:

=====
$ uscan --verbose --download-current-version --force
uscan: uscan (version 2.15.10) See uscan(1) for help
uscan: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="xkcdpass" version="1.4.3-1" (as seen in debian/changelog)
uscan info: package="xkcdpass" version="1.4.3" (no epoch/revision)
uscan: ./debian/changelog sets package="xkcdpass" version="1.4.3"
uscan info: Process ./debian/watch (package=xkcdpass version=1.4.3)
uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.4.3
uscan info: Download the --download-current-version specified version: 1.4.3
uscan info: Requesting URL:
   https://github.com/redacted/XKCD-password-generator/releases/
uscan info: Matching pattern:
   (?:(?:https://github.com)?\/redacted\/XKCD\-password\-generator\/releases\/)?/redacted/XKCD-password-generator/archive/xkcdpass-(\S+)\.tar\.(?:gz|bz2|xz)
uscan info: Found the following matching hrefs on the web page (newest first):
   /redacted/XKCD-password-generator/archive/xkcdpass-1.4.3.tar.gz (1.4.3) index=1.4.3.1 matched with the download version
   /redacted/XKCD-password-generator/archive/xkcdpass-1.4.2.tar.gz (1.4.2) index=1.4.2.1
   /redacted/XKCD-password-generator/archive/xkcdpass-1.4.1.tar.gz (1.4.1) index=1.4.1.1
   /redacted/XKCD-password-generator/archive/xkcdpass-1.4.0.tar.gz (1.4.0) index=1.4.0.1
   /redacted/XKCD-password-generator/archive/xkcdpass-1.2.5.tar.gz (1.2.5) index=1.2.5.1
   /redacted/XKCD-password-generator/archive/xkcdpass-1.2.4.tar.gz (1.2.4) index=1.2.4.1
   /redacted/XKCD-password-generator/archive/xkcdpass-1.2.3.tar.gz (1.2.3) index=1.2.3.1
   /redacted/XKCD-password-generator/archive/xkcdpass-1.2.2.tar.gz (1.2.2) index=1.2.2.1
   /redacted/XKCD-password-generator/archive/xkcdpass-1.2.1.tar.gz (1.2.1) index=1.2.1.1
   /redacted/XKCD-password-generator/archive/xkcdpass-1.2.0.tar.gz (1.2.0) index=1.2.0.1
uscan info: Matching target for downloadurlmangle: https://github.com/redacted/XKCD-password-generator/archive/xkcdpass-1.4.3.tar.gz
uscan info: Upstream URL (downloadurlmangled):
   https://github.com/redacted/XKCD-password-generator/archive/xkcdpass-1.4.3.tar.gz
uscan info: Newest upstream tarball version selected for download (uversionmangled): 1.4.3
uscan info: Download filename (filenamemangled): xkcdpass-1.4.3.tar.gz
uscan: Newest version on remote site is 1.4.3, specified download version is 1.4.3
uscan: Downloading upstream package: xkcdpass-1.4.3.tar.gz
uscan info: Requesting URL:
   https://github.com/redacted/XKCD-password-generator/archive/xkcdpass-1.4.3.tar.gz
uscan: Start checking for common possible upstream OpenPGP signature files
uscan: End checking for common possible upstream OpenPGP signature files
uscan info: Missing OpenPGP signature.
uscan info: New orig.tar.* tarball version (oversionmangled): 1.4.3
uscan: Successfully downloaded package xkcdpass-1.4.3.tar.gz
uscan info: Executing internal command:
   mk-origtargz --package xkcdpass --version 1.4.3 --compression gzip --directory ../tarballs --copyright-file debian/copyright ../tarballs/xkcdpass-1.4.3.tar.gz
uscan info: New orig.tar.* tarball version (after mk-origtargz): 1.4.3
Can't open 'xkcdpass-1.4.3.tar.gz': No such file or directory at /usr/bin/uscan line 3705.
=====

Any settings that affect where ‘uscan’ puts its files should be obeyed
by the ‘mk-origtargz’ command invoked by ‘uscan’ in the same session.

Possibly ‘mk-origtargz’ should also obey any relevant ‘uscan’
configuration when running ‘mk-origtargz’ stand alone.


-- Package-specific info:

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

--- ~/.devscripts ---
. $HOME/.profile
USCAN_DESTDIR="../tarballs"
USCAN_SYMLINK=symlink

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages devscripts depends on:
ii  dpkg-dev     1.18.4
ii  libc6        2.21-7
ii  perl         5.22.1-5
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  apt                         1.2.2
ii  at                          3.1.18-2
ii  curl                        7.47.0-1
ii  dctrl-tools                 2.24-2
ii  debian-keyring              2016.01.20
ii  dput                        0.9.6.4+nmu1
ii  equivs                      2.0.9+nmu1
ii  fakeroot                    1.20.2-1
ii  file                        1:5.25-2
ii  gnupg                       1.4.20-1
ii  gnupg2                      2.0.28-3
ii  libdistro-info-perl         0.14
ii  libencode-locale-perl       1.05-1
ii  libjson-perl                2.90-1
ii  liblwp-protocol-https-perl  6.06-2
ii  libsoap-lite-perl           1.19-1
ii  liburi-perl                 1.71-1
ii  libwww-perl                 6.15-1
ii  lintian                     2.5.40.2
ii  man-db                      2.7.5-1
ii  patch                       2.7.5-1
ii  patchutils                  0.3.4-1
ii  python3-debian              0.1.27
ii  python3-magic               1:5.25-2
ii  sensible-utils              0.0.9
ii  strace                      4.10-3
ii  unzip                       6.0-20
ii  wdiff                       1.2.2-1+b1
ii  wget                        1.17.1-1+b1
ii  xz-utils                    5.1.1alpha+20120614-2.1

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20160123cvs-2
ii  build-essential              11.7
pn  cvs-buildpackage             <none>
pn  debbindiff                   <none>
ii  devscripts-el                35.12
ii  gnuplot                      4.6.6-3
ii  gnuplot5 [gnuplot]           5.0.2+dfsg1-2
ii  gpgv                         1.4.20-1
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.22-1
ii  libnet-smtp-ssl-perl         1.03-1
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
pn  libyaml-syck-perl            <none>
ii  mailutils [mailx]            1:2.99.99-1
pn  mozilla-devscripts           <none>
ii  mutt                         1.5.24-1+b1
ii  openssh-client [ssh-client]  1:7.1p2-2
ii  svn-buildpackage             0.8.5+nmu1
ii  w3m                          0.5.3-26

-- no debconf information

-- 
 \       “When I get new information, I change my position. What, sir, |
  `\             do you do with new information?” —John Maynard Keynes |
_o__)                                                                  |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20160213/b0580991/attachment.sig>


More information about the devscripts-devel mailing list