There's possibly something I'm just misunderstanding here, but when I
run uscan to try to update something, it ends up generating a corrupt
archive:
pkg-perl/packages/libmojolicious-perl$ LANG=C uscan --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
opts=dversionmangle=s/\+dfsg\d*//,repacksuffix=+dfsg https://metacpan.org/release/Mojolicious .*/Mojolicious-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
-- Found the following matching hrefs:
https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-6.08.tar.gz (6.08)
Newest version on remote site is 6.08, local version is 5.54+dfsg
(mangled local version number 5.54)
=> Newer version available from
https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-6.08.tar.gz
-- Downloading updated package Mojolicious-6.08.tar.gz
-- Checking for common possible upstream OpenPGP signatures
No files matched excluded pattern: lib/Mojolicious/public/mojo/prettify/prettify.js
...blah blah blah...
No files matched excluded pattern: lib/Mojolicious/public/mojo/prettify/lang-yaml.js
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
mk-origtargz: error: tar --list --auto-compress --file ../libmojolicious-perl_6.08+dfsg.orig.tar.gz gave error exit status 2
uscan: error: mk-origtargz --package libmojolicious-perl --version 6.08 --repack-suffix +dfsg --compression gzip --directory .. --copyright-file debian/copyright ../Mojolicious-6.08.tar.gz gave error exit status 2
If I look at the files created:
-rw-r--r-- 1 robin robin 629K apr 15 18:26 Mojolicious-6.08.tar.gz
-rw-r--r-- 1 robin robin 598K apr 15 18:26 libmojolicious-perl_6.08+dfsg.orig.tar.gz
Should I expect them to be the same size? The larger one passes a tar
-t, but the smaller one doesn't. In previous situations, the .orig is
actually a symlink to the real archive.
Any thoughts on diagnosing this?
--
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
Attachment:
signature.asc
Description: This is a digitally signed message part