Bug#736063: uscan: URL trouble in screen/debug output when running inside directory - URL mixup of different watch files
Daniel Leidert
daniel.leidert at wgdd.de
Sun Jan 19 11:24:19 UTC 2014
Package: devscripts
Version: 2.13.9
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm sometimes running uscan inside the debichem subversion root. It has the
structure $svnroot/[dist]/[package-name]. When I'm running uscan inside dist,
the result contains these lines:
[..]
Processing watchfile line for package aces3...
Newest version on remote site is 3.0.7, local version is 3.0.6
aces3: Newer version (3.0.7) available on remote site:
http://code.google.com/p/rdkit/downloads/downloads/source/ACESIII_release_307.tar.gz
(local version is 3.0.6)
Processing watchfile line for package aces2...
Newest version on remote site is 2.9.0, local version is 2.8.0
aces2: Newer version (2.9.0) available on remote site:
http://code.google.com/p/rdkit/downloads/downloads/source/ACESII-2.9.0-RELEASE.tar.gz
(local version is 2.8.0)
[..]
But the URL shown before the tarball name belongs to the rdkit package watch
file. The aces source URLs are something like http://www.qtp.ufl.edu/[..]. So for
some reason, uscan seems to use an older variable value of the URL for the screen
output or maybe it is related to some url-mangles we use in the aces watch files?
There is clearly shown some mixup in the --debug output. E.g.
[..]
uscan debug: requesting URL http://qa.debian.org/watch/sf.php/psicode/
uscan debug: redirections: http://code.google.com/p/rdkit/downloads/list http://download-mirror.savannah.gnu.org/releases/xmakemol/
uscan debug: received content:
[..]
uscan debug: matching pattern(s) (?:(?:http://qa.debian.org)?\/watch\/sf\.php\/psicode\/)?psi([\db.]+)\.tar\.gz(?:\?.*)? (?:(?:http://code.google.com)?\/p\/rdkit\/downloads\/list)?psi([\db.]+)\.tar\.gz(?:\?.*)? (?:(?:http://code.google.com)?\/p\/rdkit\/downloads\/)?psi([\db.]+)\.tar\.gz(?:\?.*)? (?:(?:http://download-mirror.savannah.gnu.org)?\/releases\/xmakemol\/)?psi([\db.]+)\.tar\.gz(?:\?.*)?
[..]
uscan debug: matching pattern(s) (?:(?:http://qa.debian.org)?\/watch\/sf\.php\/chemical\-mime\/)?chemical-mime-data-([\d\.]+)\.tar\.gz(?:\?.*)? (?:(?:http://code.google.com)?\/p\/rdkit\/downloads\/list)?chemical-mime-data-([\d\.]+)\.tar\.gz(?:\?.*)? (?:(?:http://code.google.com)?\/p\/rdkit\/downloads\/)?chemical-mime-data-([\d\.]+)\.tar\.gz(?:\?.*)? (?:(?:http://download-mirror.savannah.gnu.org)?\/releases\/xmakemol\/)?chemical-mime-data-([\d\.]+)\.tar\.gz(?:\?.*)? (?:(?:http://download-mirror.savannah.gnu.org)?\/releases\/gchemutils\/)?chemical-mime-data-([\d\.]+)\.tar\.gz(?:\?.*)? (?:(?:http://download-mirror.savannah.gnu.org)?\/releases\/gchemutils\/0\.14\/)?chemical-mime-data-([\d\.]+)\.tar\.gz(?:\?.*)?
[..]
Please note, that the URLs shown above are from completely different watch files
(psi4, xmakemol, rdkit, chemical-mime, gchemutils).
If you want to test yourself:
svn co svn://anonscm.debian.org/debichem/unstable/
cd unstable
uscan --report
The watch files are attched. Also the output of running uscan with --debug.
If I can help to debug this, please don't hesitate to send me, which
further information is required.
Regards, Daniel
- -- Package-specific info:
- --- /etc/devscripts.conf ---
- --- ~/.devscripts ---
DEBSIGN_KEYID=088F6B8C
DEBUILD_LINTIAN=yes
DEBUILD_LINTIAN_OPTS="-i -I -E --pedantic"
DEBCHANGE_RELEASE_HEURISTIC=changelog
- -- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (850, 'unstable'), (700, 'testing'), (560, 'stable'), (500, 'oldstable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii dpkg-dev 1.17.6
ii libc6 2.17-97
ii perl 5.18.2-2
ii python3 3.3.2-17
pn python3:any <none>
Versions of packages devscripts recommends:
ii at 3.1.14-1
ii curl 7.34.0-1
ii dctrl-tools 2.23
ii debian-keyring 2013.12.13
ii dput 0.9.6.4
ii equivs 2.0.9
ii fakeroot 1.20-3
ii gnupg 1.4.16-1
ii libdistro-info-perl 0.12
ii libencode-locale-perl 1.03-1
ii libjson-perl 2.61-1
ii liblwp-protocol-https-perl 6.04-2
ii libparse-debcontrol-perl 2.005-4
ii libsoap-lite-perl 1.09-1
ii liburi-perl 1.60-1
ii libwww-perl 6.05-2
ii lintian 2.5.21
ii man-db 2.6.5-3
ii patch 2.7.1-4
ii patchutils 0.3.2-3
ii python3-debian 0.1.21+nmu2
pn python3-magic <none>
ii sensible-utils 0.0.9
ii strace 4.5.20-2.3
ii unzip 6.0-10
pn wdiff <none>
ii wget 1.14-5
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>
ii gnuplot 4.6.4-1
ii gpgv 1.4.16-1
ii libauthen-sasl-perl 2.1500-1
pn libfile-desktopentry-perl <none>
ii libnet-smtp-ssl-perl 1.01-3
pn libterm-size-perl <none>
ii libtimedate-perl 2.3000-1
ii libyaml-syck-perl 1.27-2+b1
ii mutt 1.5.21-6.4
ii openssh-client [ssh-client] 1:6.4p1-2
ii svn-buildpackage 0.8.5
ii w3m 0.5.3-15
- -- no debconf information
- -- debsums errors found:
debsums: changed file /usr/bin/uscan (from devscripts package)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlLbtd4ACgkQm0bx+wiPa4wCBgCeOHjCLpJIqRtUbLjDTpip/zDV
RBsAoJyEppIRoyEk0Uch/CAdiMH3gqu7
=U9Tc
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20140119/913c8c0a/attachment-0001.html>
-------------- next part --------------
# See uscan(1) for format
version=3
opts=\
uversionmangle=s#_##g,\
downloadurlmangle=s|.*[?]name=(.*?)&.*|http://rdkit.googlecode.com/files/$1|,\
filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \
http://code.google.com/p/rdkit/downloads/detail[?]name=RDKit_([\d_]+)_(?:\d+)\.tgz.*
-------------- next part --------------
version=3
http://www.qtp.ufl.edu/ACES/download_aces2.shtml .*/ACESII-([\d.]+)-RELEASE\.tar\.gz
-------------- next part --------------
version=3
http://www.qtp.ufl.edu/ACES/download.shtml#source .*/ACESIII_release_(3)(\d)(\d+)\.tar\.gz
More information about the devscripts-devel
mailing list