Your message dated Thu, 14 Sep 2017 03:05:16 +0000
with message-id <[email protected]>
and subject line Bug#869150: fixed in devscripts 2.17.10
has caused the Debian Bug report #869150,
regarding /usr/bin/uscan: doesn't find the correct version for directory based 
version detection
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
869150: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869150
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.17.6
Severity: normal
File: /usr/bin/uscan

Recently I started improving the packaging of the festvox packages in
the tts team. Most of my upstream sources can be found by URL's like
http://festvox.org/packed/festival/2.4/voices/festvox_kallpc16k.tar.gz

The previous time that I worked on the packages, uscan didn't support
the version to originate from the diretory tree. Luckily, it now does,
but it seems to be processing the version in a weird way. With the
attached (and uploaded) watch file for festlex-cmu, uscan reports that
there is a version 4 available, while the version it found is 2.4. Also
running "uscan -v" before the changelog was updated showed the wrong
behavior.

I don't know enough perl to know how to do it, but I think that the
expression for the version in the next line isn't greedy (I found this
on line 3293 in the version in stretch):
        # uversionmanglesd version is '', make best effort to set it
            $newfile_base =~
m/^.+[-_]?(\d[\-+\.:\~\da-zA-Z]*)(?:\.tar\.(gz|bz2|xz)|\.zip)$/i;
            $newversion = $1;
                                   ^^^^^^^^^^^^^^^^^^^^^^^

paul@testavoira ~/packages/a11y/festvox-rablpc16k $ uscan -v
uscan info: uscan (version 2.17.6) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="festvox-rablpc16k" version="1.4.0-3" (as seen in
debian/changelog)
uscan info: package="festvox-rablpc16k" version="1.4.0" (no epoch/revision)
uscan info: Check debian/watch and debian/changelog in ./.git/refs/tags
uscan info: Check debian/watch and debian/changelog in
./.git/dgit/unpack/festvox-rablpc16k-1.4.0
uscan info: ./debian/changelog sets package="festvox-rablpc16k"
version="1.4.0"
uscan info: Process ./debian/watch (package=festvox-rablpc16k version=1.4.0)
uscan info: opts:
filenamemangle=s#.*/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/voices/festvox_rablpc16k#festvox-rablpc16k_$1#
uscan info: line:
http://festvox.org/packed/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/voices/
festvox_rablpc16k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip)
uscan info: Parsing
filenamemangle=s#.*/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/voices/festvox_rablpc16k#festvox-rablpc16k_$1#
uscan info: line:
http://festvox.org/packed/festival/[-_]?(\d[\-+\.:\~\da-zA-Z]*)/voices/
festvox_rablpc16k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip)
uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.4.0
uscan info: Last orig.tar.* tarball version (dversionmangled): 1.4.0
uscan info: dir=>/packed/festival/  dirpattern=>[-_]?(\d[\-+\.:\~\da-zA-Z]*)
uscan info: Requesting URL:
   http://festvox.org/packed/festival/
uscan info: Matching pattern:

(?:(?:http://festvox.org)?\/packed\/festival\/)?[-_]?(\d[\-+\.:\~\da-zA-Z]*)
uscan info: Matching target for dirversionmangle:   ?C=N;O=D
uscan info: Matching target for dirversionmangle:   ?C=M;O=A
uscan info: Matching target for dirversionmangle:   ?C=S;O=A
uscan info: Matching target for dirversionmangle:   ?C=D;O=A
uscan info: Matching target for dirversionmangle:   /packed/
uscan info: Matching target for dirversionmangle:   1.4.1/
uscan info: Matching target for dirversionmangle:   1.4.2/
uscan info: Matching target for dirversionmangle:   1.4.3/
uscan info: Matching target for dirversionmangle:   1.95/
uscan info: Matching target for dirversionmangle:   1.96/
uscan info: Matching target for dirversionmangle:   2.0.95/
uscan info: Matching target for dirversionmangle:   2.1/
uscan info: Matching target for dirversionmangle:   2.4/
uscan info: Matching target for dirversionmangle:   Linux-1.4.1/
uscan info: Matching target for dirversionmangle:   Linux-1.4.2/
uscan info: Matching target for dirversionmangle:   free-1.4.1/
uscan info: Matching target for dirversionmangle:   free-1.4.2/
uscan info: Matching target for dirversionmangle:   free-1.4.3/
uscan info: Matching target for dirversionmangle:   latest/
uscan info: Found the following matching directories (newest first):
   2.4/ (2.4)
   2.1/ (2.1)
   2.0.95/ (2.0.95)
   1.96/ (1.96)
   1.95/ (1.95)
   1.4.3/ (1.4.3)
   1.4.2/ (1.4.2)
   1.4.1/ (1.4.1)
uscan info: newest_dir => '2.4'
uscan info: Requesting URL:
   http://festvox.org/packed/festival/2.4/voices/
uscan info: Matching pattern:

(?:(?:http://festvox.org)?\/packed\/festival\/2\.4\/voices\/)?festvox_rablpc16k(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip)
uscan info: Found the following matching hrefs on the web page (newest
first):
   festvox_rablpc16k.tar.gz () index=-1
uscan info: Matching target for downloadurlmangle:
http://festvox.org/packed/festival/2.4/voices/festvox_rablpc16k.tar.gz
uscan info: Upstream URL (downloadurlmangled):
   http://festvox.org/packed/festival/2.4/voices/festvox_rablpc16k.tar.gz
uscan info: Matching target for filenamemangle:
http://festvox.org/packed/festival/2.4/voices/festvox_rablpc16k.tar.gz
uscan info: Newest upstream tarball version from the filenamemangled
filename: 4
uscan info: Download filename (filenamemangled):
festvox-rablpc16k_2.4.tar.gz
uscan: Newest version of festvox-rablpc16k on remote site is 4, local
version is 1.4.0
uscan:    => Newer package available from
      http://festvox.org/packed/festival/2.4/voices/festvox_rablpc16k.tar.gz
uscan info: Downloading upstream package: festvox-rablpc16k_2.4.tar.gz
uscan info: Requesting URL:
   http://festvox.org/packed/festival/2.4/voices/festvox_rablpc16k.tar.gz
uscan info: Successfully downloaded package: festvox-rablpc16k_2.4.tar.gz
uscan info: Start checking for common possible upstream OpenPGP
signature files
uscan info: End checking for common possible upstream OpenPGP signature
files
uscan info: Missing OpenPGP signature.
uscan info: New orig.tar.* tarball version (oversionmangled): 4
uscan info: Executing internal command:
   mk-origtargz --package festvox-rablpc16k --version 4 --compression
gzip --directory .. --copyright-file debian/copyright
../festvox-rablpc16k_2.4.tar.gz
uscan info: New orig.tar.* tarball version (after mk-origtargz): 4
uscan info: Successfully symlinked ../festvox-rablpc16k_2.4.tar.gz to
../festvox-rablpc16k_4.orig.tar.gz.
uscan info: Scan finished


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

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (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.24
ii  libc6                 2.24-11+deb9u1
ii  libfile-homedir-perl  1.00-1
ii  perl                  5.24.1-3
ii  python3               3.5.3-1

Versions of packages devscripts recommends:
ii  apt                         1.4.6
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
ii  equivs                      2.0.9+nmu1
ii  fakeroot                    1.21-3.1
ii  file                        1:5.30-1
ii  gnupg                       2.1.18-6
ii  gnupg2                      2.1.18-6
ii  libdistro-info-perl         0.14
ii  libdpkg-perl                1.18.24
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.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
ii  python3-magic               1:5.30-1
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  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-10
pn  piuparts                     <none>
pn  ratt                         <none>
pn  reprotest                    <none>
pn  svn-buildpackage             <none>
pn  w3m                          <none>

- -- no debconf information
version=4
# Note that a "new" version doesn't seem to imply new content.
opts="filenamemangle=s#.*/festival/@ANY_VERSION@/festlex_CMU#@PACKAGE@_$1#" \
  http://festvox.org/packed/festival/@ANY_VERSION@/ festlex_CMU@ARCHIVE_EXT@

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.17.10

We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <[email protected]> (supplier of updated devscripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 13 Sep 2017 22:08:30 -0400
Source: devscripts
Binary: devscripts
Architecture: source
Version: 2.17.10
Distribution: unstable
Urgency: medium
Maintainer: Devscripts Devel Team <[email protected]>
Changed-By: James McCoy <[email protected]>
Description:
 devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 698240 727096 753838 807754 820426 832267 837173 837380 840232 840943 
842468 845610 852537 864914 869150 869842 870281 870640 872514 873289 873379 
874569 874666 874667
Changes:
 devscripts (2.17.10) unstable; urgency=medium
 .
   [ Mattia Rizzolo ]
   * debian/tests/control:
     + Add dependency on debhelper; apparently autopkgtest in ubuntu doesn't
       pull it otherwise
   * debian/control:
     + Mark build-dependencies needed only for the tests with the <!nocheck>
       build profile; partially addresses: #870640
   * debian/source/options:
     + Remove the file, compression=xz has been the default for a long while.
   * debian/TODO:
     + Remove the file, unusued (=> outdated) since 2008 and mostly empty.
   * debian/rules:
     + Enable hardening build flags.  Closes: #873379
       Thanks Chris Lamb <[email protected]> for the patch.
   * reproducible-check:
     + New script from Chris Lamb to check the reproducibility status of the
       installed packages.  Closes: #872514
 .
   [ Antonio Terceiro ]
   * debc:
     + add --list-changes option, similar to --list-debs but for displaying the
       path to the .changes file.
   * debrepro:
     + proof-read manpage.
 .
   [ James McCoy ]
   * Add hardening-check script.
   * debuild:
     + Add "--" in --help output for debian/rules mode.
   * test_package_lifecycle:
     + Fix expected output when run as root.
   * build-rdeps:
     + Use apt interfaces to find and read the sources files, fixing --old
       (non-dose) behavior when sources files are compressed.  (Closes:
       #698240)
     + Check Build-Depends-Arch for dependencies.
   * debcheckout:
     + Using --auth for git repositories now performs the clone with the
       Vcs-Git URL, but sets remote.<name>.pushurl to the rewritten
       authenticated URL.  Thanks to Andreas Henriksson for the patch!
       (Closes: #753838)
   * debsign:
     + Use --with-colons in bash completion to fix key completion with gpg2.
       (Closes: #837380)
   * rc-alert:
     + Clarify the error when curl/wget dies.  (Closes: #820426)
   * suspicious-source:
     + Whitelist elisp (.el) files.  (Closes: #807754)
   * Declare compliance with Policy 4.1.0, no changes needed.
 .
   [ Daniel Shahaf ]
   * bts:
     + Add devscripts.conf(5) to "See also".  Closes: #869842
 .
   [ Osamu Aoki ]
   * uscan:
     + Fix the new package version regex for filenamemangle.  Closes: #869150
     + Fix example URL for pagemangle.  Closes: #864914
     + Set $origcount to 0 for each watch file. Closes: #840232
     + Don't fail on pgpmode=auto. Closes: #852537
     + Don't fail on pgpmode=previous. Closes: #840943, #873289
     + Rename and convert the detached signature with updated mk-origtargz.
       Closes: #727096, #874666
     + Use correct extension for the downloaded signature. Closes: #874569
   * mk-origtargz
     + Rename and convert the detached signature. Closes: #832267, #837173,
       #870281
     + Skip upstream signature when repacking.  Closes: #874667
   * uupdate
     + -b option is not "New upstream release". Closes: #842468, #845610
     + Use space as the argument of debchange to create an empty entry
       template.
   * debchange: Handle multimaint case properly.  Closes: #842468
   * Made source package bootstrappable. Closes: #870640
 .
   [ Antonio Terceiro ]
   * suspicious-source:
     - whitelist text/x-ruby
     - whitelist text/xml
Checksums-Sha1:
 cef860868e91c1ec0f7d75cff97761e1b0ca7656 2829 devscripts_2.17.10.dsc
 8ecac384a5e00d50e50c1eeaf554ba32459da22f 706396 devscripts_2.17.10.tar.xz
 f991962a208057889240f19d4ebc2e655b3d43c6 10278 
devscripts_2.17.10_amd64.buildinfo
Checksums-Sha256:
 cd668fd1518e91406fac56e4c56c377decc27b62ae425940d5036f8860e3039e 2829 
devscripts_2.17.10.dsc
 fc28882f4e6f6a0a74119b811df308dac758e1a097f947398ae895e574043aff 706396 
devscripts_2.17.10.tar.xz
 f5b61278728b69513ec19ebd5007018431a95e4614cf6a2b78d1e20d05454bf1 10278 
devscripts_2.17.10_amd64.buildinfo
Files:
 2337232aa497994c6cf7b2b1aae3bb93 2829 devel optional devscripts_2.17.10.dsc
 3cc5885c54153017173813134d74d33c 706396 devel optional 
devscripts_2.17.10.tar.xz
 80ac49a5993d2e1e3cc97dbcd1796062 10278 devel optional 
devscripts_2.17.10_amd64.buildinfo

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

iQKSBAEBCgB9FiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAlm55rpfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIACgkQ3+aRrjMb
o9sbrQ/3TJz47vp9H0O/lgCC3E+4AcmmcVg+J7A4/i5UQutabflGWHwxdt7SYvME
CJeM/dTWYGONY1GasCv8wOXja+uIJsT7iXhKJClNgVvwp8O4EeKmLXVHtToxd4IC
x+5W/MEW0GcOAUMb6jiFZFYrNpvmmxMKkhe4NZYd5GsuhXoyT8FtxcOUqYnDHkYS
3cm+RnkRHl6YZ90uH+B6xHhuOIDuVUzcjn99rngMGxY5iU9PaaFqIP5MWb+P5x0a
BOaWKHnHPCBR5+pE+f1OESvpG1M1+xzkCqx7ImdDbKSt0FUr3WAWh7qwts8T9L0C
I0kfQEAAiouUpQwydkyM+6+Vt024cgMo+4o4uLczo35d/55OpqW7uhZQAe3xDDS1
eW/t5JHZmtCnAyqNgxkopB+eE+lAxkVOL+2fp+G1LMsMhjqsqxfTV2AOHTsYDx+1
a9lVRYLsw3IPHy0UA42zulpuv31I+B/19u8euud5VJMLv15QIT6UQKOXhZuoG+fW
9MdfgyBBUHMjHO7L6oX+QvgT65QfIdnlHscxzXKqxnbkBRI1dYs63WKiYC9E6QCO
/USS5aM4LbMaE7zb+9Jg1YvdjXGzCkkJ56ioljHHyanwExzcslg0ZFM4D2+sMwqx
CwoulZTPKBSYvAiDa5jRE6vKuw8qjF3hRzY9xUlJ9cXPXFE8ig==
=PmXN
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to