Bug#763382: mk-origtargz: "Use of uninitialized value $mime" and failure to handle upstream jam-2.6.tar
Yann Dirson
ydirson at free.fr
Mon Sep 29 19:29:27 UTC 2014
Package: devscripts
Version: 2.14.6
Severity: normal
While updating watch file for new upstream URL for jam:
jam-2.5rel$ uscan --verb
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
opts="dversionmangle=s/rel$//" https://swarm.workshop.perforce.com/projects/perforce_software-jam/files/main /projects/perforce_software-jam/files/main/jam-(.+)\.tar
-- Found the following matching hrefs:
/projects/perforce_software-jam/files/main/jam-2.2-215.tar (2.2-215)
/projects/perforce_software-jam/files/main/jam-2.3.2.tar (2.3.2)
/projects/perforce_software-jam/files/main/jam-2.3.tar (2.3)
/projects/perforce_software-jam/files/main/jam-2.4.tar (2.4)
/projects/perforce_software-jam/files/main/jam-2.5.tar (2.5)
/projects/perforce_software-jam/files/main/jam-2.6.tar (2.6)
Newest version on remote site is 2.6, local version is 2.5rel
(mangled local version number 2.5)
=> Newer version available from
https://swarm.workshop.perforce.com/projects/perforce_software-jam/files/main/jam-2.6.tar
-- Downloading updated package jam-2.6.tar
-- Checking for common possible upstream OpenPGP signatures
Use of uninitialized value $mime in string eq at /usr/bin/mk-origtargz line 315.
Parameter ../jam-2.6.tar does not look like a tar archive or a zip file. at /usr/bin/mk-origtargz line 320.
uscan: error: mk-origtargz --package jam --version 2.6 --compression gzip --directory .. --copyright-file debian/copyright ../jam-2.6.tar gave error exit status 255
The downloaded stuff is indeed an HTML page (ie. the "does not look
like a tar archive" part of the diagnostic) is correct, though.
But if I download the real tar manually[1], and launch mk-origtargz
manually, I still get the uninitialized warning and a "does not look
like a tar archive" error, which this time is wrong:
jam-2.5rel$ mk-origtargz --package jam --version 2.6 --compression gzip --directory .. --copyright-file debian/copyright ../jam-2.6.tar
Use of uninitialized value $mime in string eq at /usr/bin/mk-origtargz line 315.
Parameter ../jam-2.6.tar does not look like a tar archive or a zip file. at /usr/bin/mk-origtargz line 320.
jam-2.5rel$ file ../jam-2.6.tar
../jam-2.6.tar: POSIX tar archive
jam-2.5rel$ tar -tvf ../jam-2.6.tar | head -3
drwxr-xr-x laurette/staff 0 2014-08-07 20:24 jam-2.6/
-r--r--r-- laurette/staff 1115 2014-08-07 20:24 jam-2.6/Build.com
-r--r--r-- laurette/staff 3338 2014-08-07 20:24 jam-2.6/Build.mpw
[1] https://swarm.workshop.perforce.com/projects/perforce_software-jam/download/main/jam-2.6.tar
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii dpkg-dev 1.17.13
ii libc6 2.19-11
ii perl 5.20.1-1
ii python3 3.4.1-1
pn python3:any <none>
Versions of packages devscripts recommends:
ii at 3.1.15-1
ii curl 7.38.0-1
ii dctrl-tools 2.23
ii debian-keyring 2014.08.31
ii dput 0.9.6.4
ii equivs 2.0.9
ii fakeroot 1.20.1-1.1
ii file 1:5.19-2
ii gnupg 1.4.18-4
ii libdistro-info-perl 0.13
ii libencode-locale-perl 1.03-1
ii libjson-perl 2.61-1
ii liblwp-protocol-https-perl 6.06-2
ii libparse-debcontrol-perl 2.005-4
ii libsoap-lite-perl 1.11-1
ii liburi-perl 1.64-1
ii libwww-perl 6.08-1
ii lintian 2.5.27
ii man-db 2.6.7.1-1
ii patch 2.7.1-6
ii patchutils 0.3.3-1
ii python3-debian 0.1.23
ii python3-magic 1:5.19-2
ii sensible-utils 0.0.9
ii strace 4.9-2
ii unzip 6.0-12
ii wdiff 1.2.2-1
ii wget 1.15-1+b1
ii xz-utils 5.1.1alpha+20120614-2
Versions of packages devscripts suggests:
ii bsd-mailx [mailx] 8.1.2-0.20140825cvs-1
ii build-essential 11.7
pn cvs-buildpackage <none>
ii devscripts-el 35.12
ii gnuplot 4.6.5-10
ii gpgv 1.4.18-4
ii libauthen-sasl-perl 2.1600-1
ii libfile-desktopentry-perl 0.07-1
ii libnet-smtp-ssl-perl 1.01-3
pn libterm-size-perl <none>
ii libtimedate-perl 2.3000-2
ii libyaml-syck-perl 1.27-2+b2
ii mailx 1:20071201-3
ii mutt 1.5.23-1.1
ii openssh-client [ssh-client] 1:6.6p1-7
pn svn-buildpackage <none>
ii w3m 0.5.3-17
-- no debconf information
More information about the devscripts-devel
mailing list