Package: devscripts Version: 2.21.5 Severity: serious Hi,
since upgrading to devscrips 2.21.5, uscan fails when trying to run it for the systemd package: $ uscan --report --verbose uscan info: uscan (version 2.21.5) See uscan(1) for help uscan info: Scan watch files in . find: Dateisystemschleife erkannt; ‘./test/testdata’ ist ein Teil der gleichen Schleife wie ‘./test’. uscan info: Check debian/watch and debian/changelog in . uscan info: package="systemd" version="249.6-3" (as seen in debian/changelog) uscan info: package="systemd" version="249.6" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./debian/patches uscan info: ./debian/changelog sets package="systemd" version="249.6" uscan info: Process watch file at: debian/watch package = systemd version = 249.6 pkg_dir = . uscan info: opts: uversionmangle=s/-rc/~rc/,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/systemd-$1\.tar\.gz/ uscan info: line: https://github.com/systemd/systemd-stable/tags .*/v?(\d\S*)\.tar\.gz uscan info: Parsing uversionmangle=s/-rc/~rc/ uscan info: Parsing filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/systemd-$1\.tar\.gz/ uscan info: line: https://github.com/systemd/systemd-stable/tags .*/v?(\d\S*)\.tar\.gz uscan info: Last orig.tar.* tarball version (from debian/changelog): 249.6 uscan info: Last orig.tar.* tarball version (dversionmangled): 249.6 uscan info: Requesting URL: https://github.com/systemd/systemd-stable/tags uscan info: Matching pattern: (?:(?:https://github.com)?\/systemd\/systemd\-stable\/)?.*/v?(\d\S*)\.tar\.gz uscan info: Found the following matching hrefs on the web page (newest first): https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz (249.7) index=249.7-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz (249.7) index=249.7-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.6.tar.gz (249.6) index=249.6-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.6.tar.gz (249.6) index=249.6-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.5.tar.gz (249.5) index=249.5-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.5.tar.gz (249.5) index=249.5-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.4.tar.gz (249.4) index=249.4-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.4.tar.gz (249.4) index=249.4-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.3.tar.gz (249.3) index=249.3-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.3.tar.gz (249.3) index=249.3-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249-4.tar.gz (249-4) index=249-4-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249-4.tar.gz (249-4) index=249-4-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v248.9.tar.gz (248.9) index=248.9-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v248.9.tar.gz (248.9) index=248.9-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v248.8.tar.gz (248.8) index=248.8-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v248.8.tar.gz (248.8) index=248.8-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v247.10.tar.gz (247.10) index=247.10-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v247.10.tar.gz (247.10) index=247.10-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v239-50.tar.gz (239-50) index=239-50-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v239-50.tar.gz (239-50) index=239-50-1 uscan info: Looking at $base = https://github.com/systemd/systemd-stable/tags with $filepattern = .*/v?(\d\S*)\.tar\.gz found $newfile = https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz $newversion = 249.7 $lastversion = 249.6 uscan info: Matching target for downloadurlmangle: https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz uscan info: Upstream URL(+tag) to download is identified as https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz uscan info: Matching target for filenamemangle: v249.7.tar.gz uscan die: filenamemangle failed for v249.7.tar.gz at /usr/share/perl5/Devscripts/Uscan/Output.pm line 60. Running uscan 2.21.4 succeeds: $ uscan --rename --verbose uscan info: uscan (version 2.21.4) See uscan(1) for help uscan info: Scan watch files in . find: File system loop detected; './test/testdata' is part of the same file system loop as './test'. uscan info: Check debian/watch and debian/changelog in . uscan info: package="systemd" version="249.6-3" (as seen in debian/changelog) uscan info: package="systemd" version="249.6" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./debian/patches uscan info: ./debian/changelog sets package="systemd" version="249.6" uscan info: Process watch file at: debian/watch package = systemd version = 249.6 pkg_dir = . uscan info: opts: uversionmangle=s/-rc/~rc/,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/systemd-$1\.tar\.gz/ uscan info: line: https://github.com/systemd/systemd-stable/tags .*/v?(\d\S*)\.tar\.gz uscan info: Parsing uversionmangle=s/-rc/~rc/ uscan info: Parsing filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/systemd-$1\.tar\.gz/ uscan info: line: https://github.com/systemd/systemd-stable/tags .*/v?(\d\S*)\.tar\.gz uscan info: Last orig.tar.* tarball version (from debian/changelog): 249.6 uscan info: Last orig.tar.* tarball version (dversionmangled): 249.6 uscan info: Requesting URL: https://github.com/systemd/systemd-stable/tags uscan info: Matching pattern: (?:(?:https://github.com)?\/systemd\/systemd\-stable\/)?.*/v?(\d\S*)\.tar\.gz uscan info: Found the following matching hrefs on the web page (newest first): https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz (249.7) index=249.7-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz (249.7) index=249.7-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.6.tar.gz (249.6) index=249.6-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.6.tar.gz (249.6) index=249.6-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.5.tar.gz (249.5) index=249.5-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.5.tar.gz (249.5) index=249.5-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.4.tar.gz (249.4) index=249.4-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.4.tar.gz (249.4) index=249.4-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.3.tar.gz (249.3) index=249.3-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249.3.tar.gz (249.3) index=249.3-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249-4.tar.gz (249-4) index=249-4-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v249-4.tar.gz (249-4) index=249-4-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v248.9.tar.gz (248.9) index=248.9-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v248.9.tar.gz (248.9) index=248.9-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v248.8.tar.gz (248.8) index=248.8-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v248.8.tar.gz (248.8) index=248.8-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v247.10.tar.gz (247.10) index=247.10-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v247.10.tar.gz (247.10) index=247.10-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v239-50.tar.gz (239-50) index=239-50-1 https://github.com/systemd/systemd-stable/archive/refs/tags/v239-50.tar.gz (239-50) index=239-50-1 uscan info: Looking at $base = https://github.com/systemd/systemd-stable/tags with $filepattern = .*/v?(\d\S*)\.tar\.gz found $newfile = https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz $newversion = 249.7 $lastversion = 249.6 uscan info: Matching target for downloadurlmangle: https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz uscan info: Upstream URL(+tag) to download is identified as https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz uscan info: Matching target for filenamemangle: https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz uscan info: Filename (filenamemangled) for downloaded file: systemd-249.7.tar.gz uscan: Newest version of systemd on remote site is 249.7, local version is 249.6 uscan: => Newer package available from: => https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz uscan info: Downloading upstream package: systemd-249.7.tar.gz uscan info: Requesting URL: https://github.com/systemd/systemd-stable/archive/refs/tags/v249.7.tar.gz uscan info: Successfully downloaded package: systemd-249.7.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): 249.7 uscan info: Launch mk-origtargz with options: --package systemd --version 249.7 --rename --compression default --directory .. --copyright-file debian/copyright ../systemd-249.7.tar.gz Successfully renamed ../systemd-249.7.tar.gz to ../systemd_249.7.orig.tar.gz. uscan info: New orig.tar.* tarball version (after mk-origtargz): 249.7 uscan info: Scan finished Since this is a regression, I'm marking the issue as RC. Please adjust accordingly. The watch file in question is $ cat debian/watch version=3 opts=uversionmangle=s/-rc/~rc/,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/systemd-$1\.tar\.gz/ \ https://github.com/systemd/systemd-stable/tags .*/v?(\d\S*)\.tar\.gz Regards, Michael -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.14.0-4-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages devscripts depends on: ii dpkg-dev 1.20.9 ii fakeroot 1.26-1 ii file 1:5.39-3 ii gnupg 2.2.27-2 ii gpgv 2.2.27-2 ii libc6 2.32-4 ii libfile-dirlist-perl 0.05-2 ii libfile-homedir-perl 1.006-1 ii libfile-touch-perl 0.12-1 ii libfile-which-perl 1.23-1 ii libipc-run-perl 20200505.0-1 ii libmoo-perl 2.005004-2 ii libwww-perl 6.58-1 ii patchutils 0.4.2-1 ii perl 5.32.1-6 ii python3 3.9.8-1 ii sensible-utils 0.0.17 ii wdiff 1.2.2-2+b1 Versions of packages devscripts recommends: ii apt 2.3.12 ii curl 7.79.1-2 ii dctrl-tools 2.24-3+b1 ii debian-keyring 2021.09.25 ii dput-ng [dput] 1.33 ii equivs 2.3.1 ii libdistro-info-perl 1.1 ii libdpkg-perl 1.20.9 ii libencode-locale-perl 1.05-1.1 ii libgit-wrapper-perl 0.048-1 ii libgitlab-api-v4-perl 0.26-1 ii liblist-compare-perl 0.55-1 ii liblwp-protocol-https-perl 6.10-1 ii libsoap-lite-perl 1.27-1 ii libstring-shellquote-perl 1.04-1 ii libtry-tiny-perl 0.30-1 ii liburi-perl 5.10-1 ii licensecheck 3.2.13-1 ii lintian 2.112.0 ii man-db 2.9.4-2 ii patch 2.7.6-7 ii pristine-tar 1.49 ii python3-apt 2.3.0+b1 ii python3-debian 0.1.42 ii python3-magic 2:0.4.24-2 ii python3-requests 2.25.1+dfsg-2 ii python3-unidiff 0.5.5-2 ii python3-xdg 0.27-2 ii strace 5.10-1 ii unzip 6.0-26 ii wget 1.21.2-2+b1 ii xz-utils 5.2.5-2 Versions of packages devscripts suggests: pn adequate <none> ii at 3.1.23-1.1 ii autopkgtest 5.18 pn bls-standalone <none> ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-2 ii build-essential 12.9 pn check-all-the-things <none> pn cvs-buildpackage <none> ii debhelper 13.5.2 pn devscripts-el <none> ii diffoscope 192 pn disorderfs <none> ii dose-extra 6.0.1-2+b1 pn duck <none> ii faketime 0.9.8-9 ii gnuplot 5.4.1+dfsg1-1 ii gnuplot-qt [gnuplot] 5.4.1+dfsg1-1 pn how-can-i-help <none> ii libauthen-sasl-perl 2.1600-1.1 ii libdbd-pg-perl 3.15.0-2 ii libfile-desktopentry-perl 0.22-2 pn libnet-smtps-perl <none> pn libterm-size-perl <none> ii libtimedate-perl 2.3300-2 pn libyaml-syck-perl <none> pn mmdebstrap <none> pn mozilla-devscripts <none> ii mutt 2.0.5-4.1 ii openssh-client [ssh-client] 1:8.7p1-2 pn piuparts <none> pn postgresql-client <none> pn pristine-lfs <none> ii quilt 0.66-2.1 pn ratt <none> pn reprotest <none> pn svn-buildpackage <none> ii w3m 0.5.3+git20210102-6 -- no debconf information