Bug#380363: Corrupted jar file /usr/share/ant/lib/nice.jar

Christian Hammers ch at debian.org
Sat Jul 29 14:44:43 UTC 2006


Package: ant
Version: 1.6.5-6
Severity: important

Hello

ant seems to contain a jar file which is slightly corrupted. I verified
the files md5sum against /var/lib/dpkg/info/ant.md5sums.

I noticed it as ant gave the following error when compiling
log4j-1.3alpha:
 build.core:
     [javac] Compiling 266 source files to
 /home/ch/tmp/log4j/logging-log4j-1.3alpha-8/dist/classes
     [javac] An exception has occurred in the compiler (1.5.0_07). Please
 file a bug at the Java Developer Connection
 (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade
 for duplicates. Include your program and the following diagnostic in
 your report.  Thank you.
     [javac] java.lang.InternalError: jzentry == 0,
     [javac]  jzfile = 46912498205312,
     [javac]  total = 799,
     [javac]  name = /usr/share/ant/lib/nice.jar,
     [javac]  i = 148,
     [javac]  message = invalid LOC header (bad signature)
     [javac]     at java.util.zip.ZipFile$3.nextElement(ZipFile.java:429)
     [javac]     at java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)




$ unzip -t /usr/share/ant/lib/nice.jar|grep -v OK$

  error:  invalid compressed data to inflate
META-INF/:  mismatching "local" filename (META-INF/MANIFEST.MF),
         continuing with "central" filename version
nice/:  mismatching "local" filename
(nice/tools/compiler/console/ConsoleOutput.class),
         continuing with "central" filename version
file #148:  bad zipfile offset (local header sig):  181295
file #149:  bad zipfile offset (local header sig):  188300
nice/tools/repository/:  mismatching "local" filename
(nice/tools/repository/dispatch.class),
         continuing with "central" filename version
file #180:  bad zipfile offset (local header sig):  304436
file #187:  bad zipfile offset (local header sig):  315421
file #222:  bad zipfile offset (local header sig):  227563
file #244:  bad zipfile offset (local header sig):  237390
file #245:  bad zipfile offset (local header sig):  332193
file #246:  bad zipfile offset (local header sig):  171240
file #382:  bad zipfile offset (local header sig):  52365
file #604:  bad zipfile offset (local header sig):  45262
Archive:  /usr/share/ant/lib/nice.jar
    testing: nice/doc/fun$printMan.class  
  error:  invalid compressed data to inflate
META-INF/:  mismatching "local" filename (META-INF/MANIFEST.MF),
         continuing with "central" filename version
nice/:  mismatching "local" filename
(nice/tools/compiler/console/ConsoleOutput.class),
         continuing with "central" filename version
file #148:  bad zipfile offset (local header sig):  181295
file #149:  bad zipfile offset (local header sig):  188300
nice/tools/repository/:  mismatching "local" filename
(nice/tools/repository/dispatch.class),
         continuing with "central" filename version
file #180:  bad zipfile offset (local header sig):  304436
file #187:  bad zipfile offset (local header sig):  315421
file #222:  bad zipfile offset (local header sig):  227563
file #244:  bad zipfile offset (local header sig):  237390
file #245:  bad zipfile offset (local header sig):  332193
file #246:  bad zipfile offset (local header sig):  171240
file #382:  bad zipfile offset (local header sig):  52365
file #604:  bad zipfile offset (local header sig):  45262
At least one error was detected in /usr/share/ant/lib/nice.jar.



bye,

-christian-


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15) (ignored: LC_ALL set to de_DE at euro)

Versions of packages ant depends on:
ii  gij [java-virtual-machine]    4:4.1.1-5  The GNU Java bytecode interpreter
ii  gij-4.0 [java1-runtime]       4.0.3-2    The GNU Java bytecode interpreter
ii  gij-4.1 [java1-runtime]       4.1.1-9    The GNU Java bytecode interpreter
ii  libxerces2-java               2.6.2-4    Validating XML parser for Java wit
ii  sun-java5-jre [java2-runtime] 1.5.0-07-1 Sun Java(TM) Runtime Environment (

Versions of packages ant recommends:
ii  ant-optional                  1.6.5-6    Java based build tool like make - 
ii  jikes                         1:1.22-4   Fast Java compiler adhering to lan
ii  sun-java5-jdk [java-compiler] 1.5.0-07-1 Sun Java(TM) Development Kit (JDK)

-- no debconf information





More information about the pkg-java-maintainers mailing list