Bug#654899: libarchive-zip-perl: jh_manifest from javahelper creates corrupt archives (jars)
Niko Tyni
ntyni at debian.org
Sun Jan 8 17:58:28 UTC 2012
On Sun, Jan 08, 2012 at 02:15:31PM +0000, Wookey wrote:
> +++ Niko Tyni [2012-01-06 21:33 +0200]:
> > On Fri, Jan 06, 2012 at 04:59:35PM +0000, Wookey wrote:
> > > Package: libarchive-zip-perl
> > > Version: 1.30-3
> > > Severity: important
> > > Tags: upstream
> > >
> > > jh_manifest generates corrupt jars using this code:
> >
> > I'm having trouble reproducing this on sid/amd64 with a self made trivial
> > jar file. Could you please provide a test case? (I suppose that's a
> > jar file that breaks, the necessary bits in debian/ and a jh_manifest
> > invocation that goes wrong.)
>
> I can upload my actual case later, but I made me test case by using terraintool
> from debian, and adding a dh_override_jh_manifest: to the rules files
> so that jh_manifest didn't get run.
>
> That made me a vaid jar (test with unzip -t). Then running
> 'jh_manifest' in the terraintool source dir corrupted it reliably.
Still no luck on amd64 (javahelper 0.37). 'unzip -t' reports no errors
before or after I run jh_manifest.
Are you on i386? I guess I'll have to test that next.
BTW, I had to comment out "export JAVA_HOME=/usr/lib/jvm/java-6-openjdk"
from the terraintool debian/rules file because I only have
java-6-openjdk-amd64 and java-6-openjdk-common here (but the build-deps
are obviously satisfied.)
> > Also, #634089 talks about wheezy/sid but you've filed this with
> > the squeeze versions. Is that an accident or is this really broken
> > on stable too?
> no it's fine on stable.
OK, thanks for the info.
Cc'ing the bug, hope that's OK with you. I tried to remove any remotely
private information in case you left the bug out intentionally.
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list