You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2013/09/10 18:52:09 UTC

Build failed in Jenkins: PDFBox-ant #978

See <https://builds.apache.org/job/PDFBox-ant/978/changes>

Changes:

[lehmi] PDFBOX-1672: implemented the character encoding following to the pdf specs

------------------------------------------
Started by an SCM change
Building remotely on solaris1 in workspace <https://builds.apache.org/job/PDFBox-ant/ws/>
Updating http://svn.apache.org/repos/asf/pdfbox/trunk at revision '2013-09-10T16:49:05.936 +0000'
U         pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java
U         pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/font/TTFGlyph2D.java
U         pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDXObjectImage.java
U         pdfbox/src/main/java/org/apache/pdfbox/filter/JBIG2Filter.java
U         pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
At revision 1521547
[pdfbox] $ /home/hudson/tools/ant/apache-ant-1.7.0/bin/ant -file build.xml dist
Buildfile: build.xml

pdfbox.clean:
   [delete] Deleting directory /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target
   [delete] Deleting directory /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/bin

get.externallibs.pdfbox:

testexist:

downloadfile:

testexist:

downloadfile:

testexist:

downloadfile:

testexist:

downloadfile:

testexist:

downloadfile:

testexist:

downloadfile:

get.externallibs.fontbox:

testexist:

downloadfile:

testexist:

downloadfile:

fontbox.init:

fontbox.compile:

fontbox.package:

get.externallibs.jempbox:

testexist:

downloadfile:

testexist:

downloadfile:

jempbox.init:

jempbox.compile:

jempbox.package:

pdfbox.init:
    [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes
    [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/bin
    [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output
    [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output/rendering
    [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output-ext
    [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output-ext/rendering

find.adobefiles:

get.adobefiles:

testexist:

downloadfile:
    [unjar] Expanding: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/download/pcfi-2010.08.09.jar into /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes/org/apache/pdfbox/resources/afm

pdfbox.compile:
    [javac] Compiling 510 source files to /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/exceptions/COSVisitorException.java:25: warning: [deprecation] org.apache.pdfbox.exceptions.WrappedException in org.apache.pdfbox.exceptions has been deprecated
    [javac] public class COSVisitorException extends WrappedException
    [javac]                                          ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:43: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated
    [javac] import org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption;
    [javac]                                            ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/font/TTFGlyph2D.java:38: cannot find symbol
    [javac] symbol  : class MacOSRomanEncoding
    [javac] location: package org.apache.pdfbox.encoding
    [javac] import org.apache.pdfbox.encoding.MacOSRomanEncoding;
    [javac]                                  ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineNode.java:84: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated
    [javac]         COSDictionary parent = (COSDictionary)node.getDictionaryObject( "Parent", "P" );
    [javac]                                                   ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineNode.java:87: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated
    [javac]             if( parent.getDictionaryObject( "Parent", "P" ) == null )
    [javac]                       ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java:609: cannot find symbol
    [javac] symbol  : method getCMap()
    [javac] location: class org.apache.pdfbox.pdmodel.font.PDType0Font
    [javac]                                     font.getFontEncoding(), type0Font.getCMap());
    [javac]                                                                      ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/font/TTFGlyph2D.java:244: package MacOSRomanEncoding does not exist
    [javac]                         code = MacOSRomanEncoding.INSTANCE.getCode(charactername);
    [javac]                                                  ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:186: warning: [deprecation] getContent(java.security.Key,java.lang.String) in org.bouncycastle.cms.RecipientInformation has been deprecated
    [javac] 	                      envelopedData = ri.getContent(material.getPrivateKey(), "BC");
    [javac] 	                                        ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:400: warning: [deprecation] AlgorithmIdentifier(org.bouncycastle.asn1.DERObjectIdentifier,org.bouncycastle.asn1.ASN1Encodable) in org.bouncycastle.asn1.x509.AlgorithmIdentifier has been deprecated
    [javac]         AlgorithmIdentifier algorithmidentifier = new AlgorithmIdentifier(new DERObjectIdentifier(s), derobject);
    [javac]                                                   ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:416: warning: [deprecation] getAlgorithmId() in org.bouncycastle.asn1.x509.SubjectPublicKeyInfo has been deprecated
    [javac]         AlgorithmIdentifier algorithmidentifier = tbscertificatestructure.getSubjectPublicKeyInfo().getAlgorithmId();
    [javac]                                                                                                    ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:421: warning: [deprecation] getObjectId() in org.bouncycastle.asn1.x509.AlgorithmIdentifier has been deprecated
    [javac]         Cipher cipher = Cipher.getInstance(algorithmidentifier.getObjectId().getId());
    [javac]                                                               ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationPopup.java:105: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated
    [javac]                 PDAnnotation.createAnnotation( getDictionary().getDictionaryObject( "Parent", "P" ) );
    [javac]                                                               ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java:136: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated
    [javac]                 while (((COSDictionary) parent).getDictionaryObject("Parent", "P") != null) {
    [javac]                                                ^
    [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java:137: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated
    [javac]                     parent = ((COSDictionary) parent).getDictionaryObject( "Parent", "P" );
    [javac]                                                      ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors
    [javac] 11 warnings

BUILD FAILED
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/build.xml:193: Compile failed; see the compiler error output for details.

Total time: 1 minute 14 seconds
Build step 'Invoke Ant' marked build as failure