Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1280354

Bug#1122181: #1122181 uscan: Failure to --download-current-version

From Dmitry Smirnov <onlyjob@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1122181: #1122181 uscan: Failure to --download-current-version
Date 2026-02-01 03:00 +0100
Message-ID <MjuUN-ePAP-1@gated-at.bofh.it> (permalink)
References <LZHUB-1hXn-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I have encountered this issue in "wasix-libc" package, where
"uscan --download-current-version" failed to match upstream
version "2025.12.24.1" despite having that very release listed
among Github tags:

```
$ uscan --destdir=.. --repack   --download-current-version -v
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="wasix-libc" version="2025.12.24.1+ds-1" (as seen in 
debian/changelog)
uscan info: package="wasix-libc" version="2025.12.24.1+ds" (no epoch/
revision)
uscan info: ./debian/changelog sets package="wasix-libc" 
version="2025.12.24.1+ds"
uscan info: Process watch file at: debian/watch
    package = wasix-libc
    version = 2025.12.24.1+ds
    pkg_dir = .
uscan info: debian/watch isn't formatted in version 5, trying version 4
uscan info: File debian/watch converted into << ==EOF==
Version: 5

# https://salsa.debian.org/snippets/95
# https://wiki.debian.org/debian/watch
# uscan(1) configuration file.
Source: https://api.github.com/repos/wasix-org/wasix-libc/releases?
per_page=99
Matching-Pattern: https://api.github.com/repos/[^/]+/[^/]+/tarball/v?
([\d.\-]+)
Compression: xz
Dversionmangle: s{[+~](dfsg|ds)\d*}{}
Filenamemangle: s%v?@ANY_VERSION@%@PACKAGE@-$1.tar.xz%
Pgpmode: none
Repack: yes
Repacksuffix: +ds
Searchmode: plain
Update-Script: uupdate
Uversionmangle: s{[\-]}{.}g

==EOF==
uscan info: Reset watch_version to 4 because default value may change in 
version 5
uscan info: Parsing compression: xz
uscan info: Parsing dversionmangle: s{[+~](dfsg|ds)\d*}{}
uscan info: Parsing filenamemangle: s%v?(?:[-_]?[Vv]?(\d[\-+\.:\~\da-zA-
Z]*))%wasix-libc-$1.tar.xz%
uscan info: Parsing pgpmode: none
uscan info: Parsing repack: yes
uscan info: Parsing repacksuffix: +ds
uscan info: Parsing searchmode: plain
uscan info: Parsing uversionmangle: s{[\-]}{.}g
uscan info: Last orig.tar.* tarball version (from debian/changelog): 
2025.12.24.1+ds
uscan info: Download the --download-current-version specified version: 
2025.12.24.1
uscan info: Requesting URL:
   https://api.github.com/repos/wasix-org/wasix-libc/releases?
per_page=99
uscan info: Found the following matching files on the web page (newest 
first):
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-12-24.1 (2025.12.24.1) index=2025.12.24.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-12-22.1 (2025.12.22.1) index=2025.12.22.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-12-10.1 (2025.12.10.1) index=2025.12.10.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-11-06.1 (2025.11.06.1) index=2025.11.06.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-09-02.1 (2025.09.02.1) index=2025.09.02.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-08-14.1 (2025.08.14.1) index=2025.08.14.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-07-15.2 (2025.07.15.2) index=2025.07.15.2-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-07-07.1 (2025.07.07.1) index=2025.07.07.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-06-12.1 (2025.06.12.1) index=2025.06.12.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2025-06-11.1 (2025.06.11.1) index=2025.06.11.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2024-07-08.1 (2024.07.08.1) index=2024.07.08.1-0
   https://api.github.com/repos/wasix-org/wasix-libc/tarball/
v2024-06-20.1 (2024.06.20.1) index=2024.06.20.1-0
uscan warn: In debian/watch no matching files for version 2025.12.24.1 
in watch line
uscan info: Scan finished
```

It is a regression, because when I downgraded "devscripts" from
(2.25.22~bpo13+1) to (2.25.15+deb13u1), "uscan" was able to obtain
upstream source without any issues.

I have tried proposed patch (by Uwe Kleine-König) and I confirm
that it fixes the problem, however I did not attempt any regression
testing with other packages.

-- 
Cheers,
 Dmitry Smirnov
 GPG key : 4096R/52B6BBD953968D1B

---

Where justice is denied, where poverty is enforced, where ignorance
prevails, and where any one class is made to feel that society is an
organized conspiracy to oppress, rob and degrade them, neither persons 
nor property will be safe.
 -- Frederick Douglass

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1122181: uscan: Failure to download current version of libpwm Uwe Kleine-König <ukleinek@debian.org> - 2025-12-08 12:50 +0100
  Bug#1122181: #1122181 uscan: Failure to --download-current-version Dmitry Smirnov <onlyjob@debian.org> - 2026-02-01 03:00 +0100
  Bug#1122181: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle) Thomas Dickey <dickey@invisible-island.net> - 2026-03-12 15:20 +0100
  Bug#1122181: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle) Agustin Martin <agmartin@debian.org> - 2026-03-14 20:10 +0100
    Bug#1122181: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle) Thomas Dickey <dickey@invisible-island.net> - 2026-03-15 00:30 +0100
      Bug#1122181: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle) Agustin Martin <agmartin@debian.org> - 2026-03-15 12:00 +0100
        Bug#1112388: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle) Agustin Martin <agmartin@debian.org> - 2026-03-18 00:20 +0100

csiph-web