Bug#654899: libarchive-zip-perl: jh_manifest from javahelper creates corrupt archives (jars)

Niko Tyni ntyni at debian.org
Tue Feb 21 17:43:06 UTC 2012


On Tue, Feb 21, 2012 at 06:16:34PM +0100, gregor herrmann wrote:

> #   Failed test 'output zip isn't corrupted'
> #   at t/17_bug_73797.t line 26.
> #          got: '-1'
> #     expected: '0'
> # Looks like you failed 1 test of 4.
> t/17_bug_73797.t .............. 
> Dubious, test returned 1 (wstat 256, 0x100)

> Aha, seems like tests (not only in this file) are skipped if there is
> no unzip program around.

Hm, the new test should have been skipped too.

> Next step: now testZip() tries to run `unzip -t testin.zip' (instead
> of testout.zip). Plain test output:
> 
> warning: unzip -t  doesn't seem to work, may skip some tests at t/common.pl line 200.
> Label not found for "last SKIP" at /usr/share/perl/5.14/Test/More.pm line 1256.
> # Looks like your test exited with 9 just after 4.
> t/17_bug_73797.t .............. 

It looks like it needs the 'zip' package. No idea why exactly though.
-- 
Niko





More information about the pkg-perl-maintainers mailing list