Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11446

Bug#940973: libarchive-zip-perl breaks strip-nondeterminism autopkgtest: error: becoming Archive::Zip::DirectoryMember

From tony mancill <tmancill@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.java
Subject Bug#940973: libarchive-zip-perl breaks strip-nondeterminism autopkgtest: error: becoming Archive::Zip::DirectoryMember
Date 2019-10-12 19:40 +0200
Message-ID <yQtwZ-2nb-1@gated-at.bofh.it> (permalink)
References (3 earlier) <yJgbv-4Nv-1@gated-at.bofh.it> <yPGPD-59Z-5@gated-at.bofh.it> <yQsrg-1It-7@gated-at.bofh.it> <yJgbv-4Nv-1@gated-at.bofh.it> <yQsrg-1It-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Oct 12, 2019 at 06:29:08PM +0200, gregor herrmann wrote:
> On Thu, 10 Oct 2019 06:30:52 -0700, tony mancill wrote:
> 
> error: No member named $memberName 
>  at /usr/share/perl5/Archive/Zip/Archive.pm line 411.
> 	Archive::Zip::Archive::contents(Archive::Zip::Archive=HASH(0x5622c68d6100), "META-INF/MANIFEST.MF") called at /usr/bin/jh_manifest line 297
> 	main::update_jar("/build/libquartz2-java-2.3.0/debian/libquartz2-java/usr/share"..., undef) called at /usr/bin/jh_manifest line 147
> Could not read manifest from /build/libquartz2-java-2.3.0/debian/libquartz2-java/usr/share/java/quartz2-2.3.0.jar (2):  at /usr/bin/jh_manifest line 298.
> 
> 
> So the same error as above. What jh_manifest is doing is:
> 
> sub update_jar{
>     my $jar = shift;
>     my $merge = shift;
>     my $zip = Archive::Zip->new();
>     my $con;
>     my $manifest;
>     my $stat;
>     my $dirty = 0;
>     my $main;
>     my $new_manifest = 0;
>     # stringify or $zip will make a call back that fails.
>     $zip->read( "$jar" ) == AZ_OK or error("Could not read $jar: $!");
>     ($con, $stat) = $zip->contents( 'META-INF/MANIFEST.MF' );
>     die("Could not read manifest from $jar ($stat): $!")
>         unless(!defined($stat) || $stat == AZ_OK);
> 
> i.e. it tries to return META-INF/MANIFEST.MF from the jar file.
> 
> But:
> 
> # unzip -l debian/libquartz2-java/usr/share/java/quartz2-2.3.0.jar | grep -c MANIFEST
> 0

Thank you Gregor!  I'll start rooting around in the Java toolchain.

Cheers,
tony

Back to linux.debian.maint.java | Previous | Next | Find similar


Thread

Bug#940973: libarchive-zip-perl breaks strip-nondeterminism autopkgtest: error: becoming Archive::Zip::DirectoryMember tony mancill <tmancill@debian.org> - 2019-10-12 19:40 +0200

csiph-web