Hello,

I’m trying to build PDFBox from the sources and I get the following
error:
[...]
downloadfile:
    [mkdir] Created dir: src/download
      [get] Getting:
http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2009.06.14/pcfi-2009.06.14.jar
      [get] To: src/download/pcfi-2009.06.14.jar

testexist:

downloadfile:
      [get] Getting:
http://issues.apache.org/jira/secure/attachment/12413828/additional_cmaps.jar
      [get] To: src/download/additional_cmaps.jar

testexist:

downloadfile:
      [get] Getting:
http://issues.apache.org/jira/secure/attachment/12413648/removed_cmaps.jar
      [get] To: src/download/removed_cmaps.jar

testexist:

downloadfile:
    [mkdir] Created dir: src/target/classes/Resources
      [get] Getting:
http://issues.apache.org/jira/secure/attachment/12413646/glyphlist.txt
      [get] To: src/target/classes/Resources/glyphlist.txt
    [unjar] Expanding: src/download/pcfi-2009.06.14.jar into
src/target/classes/Resources/cmap
    [unjar] Expanding: src/download/additional_cmaps.jar into
src/target/classes/Resources/cmap

BUILD FAILED
src/build.xml:202: Error while expanding src/download/additional_cmaps.jar
java.io.IOException: Negative seek offset

When trying to manually expand that jar with the command line utility
I get the following error message:
java.io.EOFException: Unexpected end of ZLIB input stream
        at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223)
        at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:146)
        at sun.tools.jar.Main.extractFile(Main.java:827)
        at sun.tools.jar.Main.extract(Main.java:762)
        at sun.tools.jar.Main.run(Main.java:210)
        at sun.tools.jar.Main.main(Main.java:1022)

This happens both when building the 0.8.0-incubating release and the
Trunk checked out from Subversion.

Am I missing anything?

Thanks,
Vincent

Reply via email to