Bug#873289: uscan: pgpmode=previous: fail to match

Jerome Benoit calculus at rezozer.net
Sat Aug 26 07:55:12 UTC 2017


Package: devscripts
Version: 2.17.9
Severity: important

Dear Maintainer,

	it appears that when in pgpmode=previous uscan fails to match, at least
	in the following example:

--8><------- d/watch
version=4
opts=repack,dversionmangle=s/\+ds$//,repacksuffix=+ds,pgpmode=next \
https://gforge.inria.fr/frs/?group_id=1015 (?:|.*/)@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian
opts=pgpmode=previous \
https://gforge.inria.fr/frs/?group_id=1015 (?:|.*/)@PACKAGE@@ANY_VERSION@@SIGNATURE_EXT@ previous
-----------><8-----

then

	uscan --no-conf --download-current-version --compression xz --verbose

gives

-------8><----------
[ ... ]
uscan info: Found the following matching hrefs on the web page (newest first):
  /frs/download.php/file/36271/sollya-6.0.tar.bz2 (6.0) index=6.0-2 matched with the download version
  /frs/download.php/latestfile/1349/sollya-6.0.tar.bz2 (6.0) index=6.0-2 matched with the download version
  /frs/download.php/file/36270/sollya-6.0.tar.gz (6.0) index=6.0-1 matched with the download version
  /frs/download.php/latestfile/1349/sollya-6.0.tar.gz (6.0) index=6.0-1 matched with the download version
  /frs/download.php/file/36272/sollya-6.0.zip (6.0) index=6.0-0 matched with the download version
  /frs/download.php/latestfile/1349/sollya-6.0.zip (6.0) index=6.0-0 matched with the download version
  /frs/download.php/file/35959/sollya-5.0.tar.bz2 (5.0) index=5.0-2
  /frs/download.php/latestfile/1349/sollya-5.0.tar.bz2 (5.0) index=5.0-2
[...]
uscan info: Found the following matching hrefs on the web page (newest first):
  /frs/download.php/file/36275/sollya-6.0.tar.bz2.sig (6.0) index=6.0-2
  /frs/download.php/latestfile/1349/sollya-6.0.tar.bz2.sig (6.0) index=6.0-2
  /frs/download.php/file/36274/sollya-6.0.tar.gz.sig (6.0) index=6.0-1
  /frs/download.php/latestfile/1349/sollya-6.0.tar.gz.sig (6.0) index=6.0-1
  /frs/download.php/file/36276/sollya-6.0.zip.sig (6.0) index=6.0-0
  /frs/download.php/latestfile/1349/sollya-6.0.zip.sig (6.0) index=6.0-0
uscan warn: In debian/watch no matching hrefs for version  in watch line
[...]
------------------><8---------------------------------------------------

It might be related to #840943 .

hth,
Jerome
-- Package-specific info:

--- /etc/devscripts.conf ---
DEBUILD_PRESERVE_ENVVARS="TMPDIR"
DEBUILD_SET_ENVVAR_TMPDIR=/scratch/tmp

--- ~/.devscripts ---
DEBUILD_LINTIAN_OPTS='--info --display-info --display-experimental --show-overrides --pedantic'
DEBCHANGE_TZ=UTC

-- System Information:
Debian Release: Stretch*
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.30-0211-amd64-mbp62 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages devscripts depends on:
ii  dpkg-dev              1.18.24
ii  libc6                 2.24-11+deb9u1
ii  libfile-homedir-perl  1.00-1
ii  perl                  5.24.1-3+deb9u1
ii  python3               3.5.3-1

Versions of packages devscripts recommends:
ii  apt                         1.4.7
ii  at                          3.1.20-3
ii  curl                        7.52.1-5
ii  dctrl-tools                 2.24-2+b1
ii  debian-keyring              2017.05.28
ii  dput-ng [dput]              1.13
pn  equivs                      <none>
ii  fakeroot                    1.21-3.1
ii  file                        1:5.30-1
ii  gnupg                       2.1.18-6
ii  gnupg2                      2.1.18-6
pn  libdistro-info-perl         <none>
ii  libdpkg-perl                1.18.24
ii  libencode-locale-perl       1.05-1
pn  libgit-wrapper-perl         <none>
pn  liblist-compare-perl        <none>
ii  liblwp-protocol-https-perl  6.06-2
pn  libsoap-lite-perl           <none>
ii  liburi-perl                 1.71-1
ii  libwww-perl                 6.15-1
ii  licensecheck                3.0.29-1
ii  lintian                     2.5.50.4
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
pn  python3-magic               <none>
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.4
pn  bls-standalone               <none>
ii  bsd-mailx [mailx]            8.1.2-0.20160123cvs-4
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>
ii  gnuplot                      5.0.5+dfsg1-6+deb9u1
ii  gpgv                         2.1.18-6
pn  how-can-i-help               <none>
pn  libauthen-sasl-perl          <none>
pn  libfile-desktopentry-perl    <none>
pn  libnet-smtps-perl            <none>
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
pn  libyaml-syck-perl            <none>
ii  mozilla-devscripts           0.47
ii  mutt                         1.7.2-1
ii  openssh-client [ssh-client]  1:7.2p2-5.1~jgmb0
ii  piuparts                     0.77
pn  ratt                         <none>
pn  reprotest                    <none>
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-34

-- no debconf information



More information about the devscripts-devel mailing list