Package: devscripts
Version: 2.21.4
Severity: normal
Hi,
after switching socket++ watch file to git mode[1] since upstream does not
provide any tags, I've got:
$ uscan --verbose --force-download
uscan info: uscan (version 2.21.4) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="socket++" version="1.12.13+git20131030.5d039ba-1" (as seen
in debian/changelog)
uscan info: package="socket++" version="1.12.13+git20131030.5d039ba" (no
epoch/revision)
uscan info: ./debian/changelog sets package="socket++"
version="1.12.13+git20131030.5d039ba"
uscan info: Process watch file at: debian/watch
package = socket++
version = 1.12.13+git20131030.5d039ba
pkg_dir = .
uscan info: opts: mode=git,pretty=1.12.13+git%cd.%h
uscan info: line: https://github.com/malaterre/socketxx-1.git HEAD
uscan info: Parsing mode=git
uscan info: Parsing pretty=1.12.13+git%cd.%h
uscan info: line: https://github.com/malaterre/socketxx-1.git HEAD
uscan info: Last orig.tar.* tarball version (from debian/changelog):
1.12.13+git20131030.5d039ba
uscan info: Last orig.tar.* tarball version (dversionmangled):
1.12.13+git20131030.5d039ba
uscan info: Looking at $base = https://github.com/malaterre/socketxx-1.git with
$filepattern = HEAD found
$newfile = HEAD
$newversion = 1.12.13+git20131030.5d039ba
$lastversion = 1.12.13+git20131030.5d039ba
uscan info: Upstream URL(+tag) to download is identified as
https://github.com/malaterre/socketxx-1.git HEAD
uscan info: Filename (filenamemangled) for downloaded file:
socket++-1.12.13+git20131030.5d039ba.tar.xz
uscan info: Newest version of socket++ on remote site is
1.12.13+git20131030.5d039ba, local version is 1.12.13+git20131030.5d039ba
uscan info: => Package is up to date from:
=> https://github.com/malaterre/socketxx-1.git HEAD
uscan info: => Forcing download as requested
uscan info: Downloading upstream package:
socket++-1.12.13+git20131030.5d039ba.tar.xz
Use of uninitialized value in subroutine entry at
/usr/share/perl5/Devscripts/Uscan/Downloader.pm line 145.
Use of uninitialized value $ver in concatenation (.) or string at
/usr/share/perl5/Devscripts/Uscan/Downloader.pm line 274.
Use of uninitialized value $ver in concatenation (.) or string at
/usr/share/perl5/Devscripts/Uscan/Downloader.pm line 274.
Use of uninitialized value $suffix in string eq at
/usr/share/perl5/Devscripts/Uscan/Downloader.pm line 283.
Use of uninitialized value $suffix in string eq at
/usr/share/perl5/Devscripts/Uscan/Downloader.pm line 285.
Use of uninitialized value $suffix in string eq at
/usr/share/perl5/Devscripts/Uscan/Downloader.pm line 287.
Use of uninitialized value $suffix in string eq at
/usr/share/perl5/Devscripts/Uscan/Downloader.pm line 289.
Use of uninitialized value $suffix in concatenation (.) or string at
/usr/share/perl5/Devscripts/Uscan/Downloader.pm line 292.
uscan die: 1 at /usr/share/perl5/Devscripts/Uscan/Output.pm line 60.
The following simple change enabled me to download a tarball flawlessly:
diff --git a/debian/changelog b/debian/changelog
index 0e843ed..f37fcd1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-socket++ (1.12.13+git20131030.5d039ba-1) UNRELEASED; urgency=medium
+socketpp (1.12.13+git20131030.5d039ba-1) UNRELEASED; urgency=medium
* d/watch: use git mode since upstream does not use release tags
diff --git a/debian/control b/debian/control
index 2719404..41650c3 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: socket++
+Source: socketpp
Maintainer: Debian Med Packaging Team
<[email protected]>
Uploaders: Andreas Tille <[email protected]>
Section: libs
So my guess is that the two '+' signs in the end of the source package
name are condusing /usr/share/perl5/Devscripts/Uscan/Downloader.pm.
Kind regards
Andreas.
[1]
https://salsa.debian.org/med-team/socketplusplus/-/commit/593dce960953a683d4cd6542ba666e97a56099aa
-- Package-specific info:
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts ---
DEBSIGN_PROGRAM=gpg
[email protected]
-- System Information:
Debian Release: 11.0
APT prefers testing
APT policy: (501, 'testing'), (50, 'buildd-unstable'), (50, 'unstable'), (5,
'experimental'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE:de
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.25.3-1.1
ii file 1:5.39-3
ii gnupg 2.2.27-2
ii gnupg2 2.2.27-2
ii gpgv 2.2.27-2
ii libc6 2.31-13
ii libfile-dirlist-perl 0.05-2
ii libfile-homedir-perl 1.006-1
ii libfile-touch-perl 0.11-1
ii libfile-which-perl 1.23-1
ii libipc-run-perl 20200505.0-1
ii libmoo-perl 2.004004-1
ii libwww-perl 6.52-1
ii patchutils 0.4.2-1
ii perl 5.32.1-4
ii python3 3.9.2-3
ii sensible-utils 0.0.14
ii wdiff 1.2.2-2+b1
Versions of packages devscripts recommends:
ii apt 2.2.4
ii curl 7.74.0-1.3+b1
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.0
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.08-1
ii licensecheck 3.2.11-1
ii lintian 2.106.1
ii man-db 2.9.4-2
ii patch 2.7.6-7
ii pristine-tar 1.49
ii python3-apt 2.2.1
ii python3-debian 0.1.39
ii python3-magic 2:0.4.20-3
ii python3-requests 2.25.1+dfsg-2
pn python3-unidiff <none>
ii python3-xdg 0.27-2
ii strace 5.10-1
ii unzip 6.0-26
ii wget 1.21-1+b1
ii xz-utils 5.2.5-2
Versions of packages devscripts suggests:
ii adequate 0.15.6
ii at 3.1.23-1.1
ii autopkgtest 5.16
ii bls-standalone 0.20151231+b1
ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-2
ii build-essential 12.9
ii check-all-the-things 2017.05.20+nmu1
pn cvs-buildpackage <none>
ii debhelper 13.3.4
pn devscripts-el <none>
pn diffoscope <none>
pn disorderfs <none>
pn dose-extra <none>
ii duck 0.13.2
pn faketime <none>
ii gnuplot 5.4.1+dfsg1-1
ii gnuplot-x11 [gnuplot] 5.4.1+dfsg1-1
ii how-can-i-help 17
ii libauthen-sasl-perl 2.1600-1.1
ii libdbd-pg-perl 3.14.2-1+b1
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>
ii mailutils [mailx] 1:3.10-3+b1
pn mmdebstrap <none>
pn mozilla-devscripts <none>
ii mutt 2.0.5-4.1
ii openssh-client [ssh-client] 1:8.4p1-5
ii piuparts 1.1.3
ii postgresql-client 13+225
ii postgresql-client-12 [postgresql-client] 12.4-3
ii postgresql-client-13 [postgresql-client] 13.3-1
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