Bug#1058346: libitext-java: FTBFS: [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:88: error: cannot find symbol
Lucas Nussbaum
lucas at debian.org
Tue Dec 12 08:44:10 GMT 2023
Source: libitext-java
Version: 2.1.7-14
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- jar jar.rtf
> ant -propertyfile ./debian/ant.properties -Duser.name debian jar jar.rtf
> Buildfile: /<<PKGBUILDDIR>>/build.xml
>
> jar:
>
> compile:
> [mkdir] Created dir: /<<BUILDDIR>>/build/bin
> [javac] /<<PKGBUILDDIR>>/ant/compile.xml:45: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> [javac] Using javac -source 1.5 is no longer supported, switching to 7
> [javac] Using javac -target 1.5 is no longer supported, switching to 7
> [javac] Compiling 359 source files to /<<BUILDDIR>>/build/bin
> [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
> [javac] warning: [options] source value 7 is obsolete and will be removed in a future release
> [javac] warning: [options] target value 7 is obsolete and will be removed in a future release
> [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:88: error: cannot find symbol
> [javac] import org.bouncycastle.asn1.DEREnumerated;
> [javac] ^
> [javac] symbol: class DEREnumerated
> [javac] location: package org.bouncycastle.asn1
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:89: error: cannot find symbol
> [javac] import org.bouncycastle.asn1.DERInteger;
> [javac] ^
> [javac] symbol: class DERInteger
> [javac] location: package org.bouncycastle.asn1
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:91: error: cannot find symbol
> [javac] import org.bouncycastle.asn1.DERObjectIdentifier;
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: package org.bouncycastle.asn1
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:93: error: DEROutputStream is not public in org.bouncycastle.asn1; cannot be accessed from outside package
> [javac] import org.bouncycastle.asn1.DEROutputStream;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1478: error: cannot find symbol
> [javac] public static final DERObjectIdentifier C = new DERObjectIdentifier("2.5.4.6");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1483: error: cannot find symbol
> [javac] public static final DERObjectIdentifier O = new DERObjectIdentifier("2.5.4.10");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1488: error: cannot find symbol
> [javac] public static final DERObjectIdentifier OU = new DERObjectIdentifier("2.5.4.11");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1493: error: cannot find symbol
> [javac] public static final DERObjectIdentifier T = new DERObjectIdentifier("2.5.4.12");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1498: error: cannot find symbol
> [javac] public static final DERObjectIdentifier CN = new DERObjectIdentifier("2.5.4.3");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1503: error: cannot find symbol
> [javac] public static final DERObjectIdentifier SN = new DERObjectIdentifier("2.5.4.5");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1508: error: cannot find symbol
> [javac] public static final DERObjectIdentifier L = new DERObjectIdentifier("2.5.4.7");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1513: error: cannot find symbol
> [javac] public static final DERObjectIdentifier ST = new DERObjectIdentifier("2.5.4.8");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1516: error: cannot find symbol
> [javac] public static final DERObjectIdentifier SURNAME = new DERObjectIdentifier("2.5.4.4");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1518: error: cannot find symbol
> [javac] public static final DERObjectIdentifier GIVENNAME = new DERObjectIdentifier("2.5.4.42");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1520: error: cannot find symbol
> [javac] public static final DERObjectIdentifier INITIALS = new DERObjectIdentifier("2.5.4.43");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1522: error: cannot find symbol
> [javac] public static final DERObjectIdentifier GENERATION = new DERObjectIdentifier("2.5.4.44");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1524: error: cannot find symbol
> [javac] public static final DERObjectIdentifier UNIQUE_IDENTIFIER = new DERObjectIdentifier("2.5.4.45");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1530: error: cannot find symbol
> [javac] public static final DERObjectIdentifier EmailAddress = new DERObjectIdentifier("1.2.840.113549.1.9.1");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1535: error: cannot find symbol
> [javac] public static final DERObjectIdentifier E = EmailAddress;
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1538: error: cannot find symbol
> [javac] public static final DERObjectIdentifier DC = new DERObjectIdentifier("0.9.2342.19200300.100.1.25");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1541: error: cannot find symbol
> [javac] public static final DERObjectIdentifier UID = new DERObjectIdentifier("0.9.2342.19200300.100.1.1");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/MappedRandomAccessFile.java:58: warning: [removal] AccessController in java.security has been deprecated and marked for removal
> [javac] import java.security.AccessController;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPublicKeySecurityHandler.java:112: error: cannot find symbol
> [javac] import org.bouncycastle.asn1.DERObjectIdentifier;
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: package org.bouncycastle.asn1
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPublicKeySecurityHandler.java:114: error: DEROutputStream is not public in org.bouncycastle.asn1; cannot be accessed from outside package
> [javac] import org.bouncycastle.asn1.DEROutputStream;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:343: error: cannot find symbol
> [javac] if ((seq.getObjectAt(0) instanceof DERObjectIdentifier)
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:344: error: cannot find symbol
> [javac] && ((DERObjectIdentifier)seq.getObjectAt(0)).getId().equals(OCSPObjectIdentifiers.id_pkix_ocsp_basic.getId())) {
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:356: error: cannot find symbol
> [javac] if (tag.getObject() instanceof ASN1Sequence) {
> [javac] ^
> [javac] symbol: method getObject()
> [javac] location: variable tag of type ASN1TaggedObject
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:357: error: cannot find symbol
> [javac] seq = (ASN1Sequence)tag.getObject();
> [javac] ^
> [javac] symbol: method getObject()
> [javac] location: variable tag of type ASN1TaggedObject
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:400: error: cannot find symbol
> [javac] DERObjectIdentifier objId = (DERObjectIdentifier)signedData.getObjectAt(0);
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:400: error: cannot find symbol
> [javac] DERObjectIdentifier objId = (DERObjectIdentifier)signedData.getObjectAt(0);
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:403: error: cannot find symbol
> [javac] ASN1Sequence content = (ASN1Sequence)((DERTaggedObject)signedData.getObjectAt(1)).getObject();
> [javac] ^
> [javac] symbol: method getObject()
> [javac] location: class DERTaggedObject
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:412: error: cannot find symbol
> [javac] version = ((DERInteger)content.getObjectAt(0)).getValue().intValue();
> [javac] ^
> [javac] symbol: class DERInteger
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:420: error: cannot find symbol
> [javac] DERObjectIdentifier o = (DERObjectIdentifier)s.getObjectAt(0);
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:420: error: cannot find symbol
> [javac] DERObjectIdentifier o = (DERObjectIdentifier)s.getObjectAt(0);
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:435: error: cannot find symbol
> [javac] DEROctetString rsaDataContent = (DEROctetString)((DERTaggedObject)rsaData.getObjectAt(1)).getObject();
> [javac] ^
> [javac] symbol: method getObject()
> [javac] location: class DERTaggedObject
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:453: error: cannot find symbol
> [javac] signerversion = ((DERInteger)signerInfo.getObjectAt(0)).getValue().intValue();
> [javac] ^
> [javac] symbol: class DERInteger
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:456: error: cannot find symbol
> [javac] BigInteger serialNumber = ((DERInteger)issuerAndSerialNumber.getObjectAt(1)).getValue();
> [javac] ^
> [javac] symbol: class DERInteger
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:468: error: cannot find symbol
> [javac] digestAlgorithm = ((DERObjectIdentifier)((ASN1Sequence)signerInfo.getObjectAt(2)).getObjectAt(0)).getId();
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:477: error: cannot find symbol
> [javac] if (((DERObjectIdentifier)seq2.getObjectAt(0)).getId().equals(ID_MESSAGE_DIGEST)) {
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:481: error: cannot find symbol
> [javac] else if (((DERObjectIdentifier)seq2.getObjectAt(0)).getId().equals(ID_ADBE_REVOCATION)) {
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:488: error: cannot find symbol
> [javac] ASN1Sequence seqin = (ASN1Sequence)tg.getObject();
> [javac] ^
> [javac] symbol: method getObject()
> [javac] location: variable tg of type ASN1TaggedObject
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:497: error: cannot find symbol
> [javac] digestEncryptionAlgorithm = ((DERObjectIdentifier)((ASN1Sequence)signerInfo.getObjectAt(next++)).getObjectAt(0)).getId();
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:507: error: constructor ContentInfo in class ContentInfo cannot be applied to given types;
> [javac] ContentInfo contentInfo = new ContentInfo(tokenSequence);
> [javac] ^
> [javac] required: ASN1Sequence
> [javac] found: ASN1Sequence
> [javac] reason: ContentInfo(ASN1Sequence) has private access in ContentInfo
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:970: error: cannot find symbol
> [javac] if ((AccessDescription.getObjectAt(0) instanceof DERObjectIdentifier) && ((DERObjectIdentifier)AccessDescription.getObjectAt(0)).getId().equals("1.3.6.1.5.5.7.48.1")) {
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:970: error: cannot find symbol
> [javac] if ((AccessDescription.getObjectAt(0) instanceof DERObjectIdentifier) && ((DERObjectIdentifier)AccessDescription.getObjectAt(0)).getId().equals("1.3.6.1.5.5.7.48.1")) {
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1098: error: ASN1OutputStream(OutputStream) is not public in ASN1OutputStream; cannot be accessed from outside package
> [javac] ASN1OutputStream dout = new ASN1OutputStream(bOut);
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1185: error: cannot find symbol
> [javac] algos.add(new DERObjectIdentifier((String)it.next()));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1192: error: cannot find symbol
> [javac] v.add(new DERObjectIdentifier(ID_PKCS7_DATA));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1213: error: cannot find symbol
> [javac] signerinfo.add(new DERInteger(signerversion));
> [javac] ^
> [javac] symbol: class DERInteger
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1217: error: cannot find symbol
> [javac] v.add(new DERInteger(signCert.getSerialNumber()));
> [javac] ^
> [javac] symbol: class DERInteger
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1222: error: cannot find symbol
> [javac] v.add(new DERObjectIdentifier(digestAlgorithm));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1223: error: DERNull() has private access in DERNull
> [javac] v.add(new DERNull());
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1232: error: cannot find symbol
> [javac] v.add(new DERObjectIdentifier(digestEncryptionAlgorithm));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1233: error: DERNull() has private access in DERNull
> [javac] v.add(new DERNull());
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1255: error: cannot find symbol
> [javac] body.add(new DERInteger(version));
> [javac] ^
> [javac] symbol: class DERInteger
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1277: error: cannot find symbol
> [javac] whole.add(new DERObjectIdentifier(ID_PKCS7_SIGNED_DATA));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1282: error: ASN1OutputStream(OutputStream) is not public in ASN1OutputStream; cannot be accessed from outside package
> [javac] ASN1OutputStream dout = new ASN1OutputStream(bOut);
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1313: error: cannot find symbol
> [javac] v.add(new DERObjectIdentifier(ID_TIME_STAMP_TOKEN)); // id-aa-timeStampToken
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1362: error: cannot find symbol
> [javac] v.add(new DERObjectIdentifier(ID_CONTENT_TYPE));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1363: error: cannot find symbol
> [javac] v.add(new DERSet(new DERObjectIdentifier(ID_PKCS7_DATA)));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1366: error: cannot find symbol
> [javac] v.add(new DERObjectIdentifier(ID_SIGNING_TIME));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1370: error: cannot find symbol
> [javac] v.add(new DERObjectIdentifier(ID_MESSAGE_DIGEST));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1375: error: cannot find symbol
> [javac] v.add(new DERObjectIdentifier(ID_ADBE_REVOCATION));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1381: error: cannot find symbol
> [javac] DEREnumerated den = new DEREnumerated(0);
> [javac] ^
> [javac] symbol: class DEREnumerated
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1381: error: cannot find symbol
> [javac] DEREnumerated den = new DEREnumerated(0);
> [javac] ^
> [javac] symbol: class DEREnumerated
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1391: error: cannot find symbol
> [javac] v.add(new DERObjectIdentifier(ID_ADBE_REVOCATION));
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPKCS7
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1478: error: cannot find symbol
> [javac] public static final DERObjectIdentifier C = new DERObjectIdentifier("2.5.4.6");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1483: error: cannot find symbol
> [javac] public static final DERObjectIdentifier O = new DERObjectIdentifier("2.5.4.10");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1488: error: cannot find symbol
> [javac] public static final DERObjectIdentifier OU = new DERObjectIdentifier("2.5.4.11");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1493: error: cannot find symbol
> [javac] public static final DERObjectIdentifier T = new DERObjectIdentifier("2.5.4.12");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1498: error: cannot find symbol
> [javac] public static final DERObjectIdentifier CN = new DERObjectIdentifier("2.5.4.3");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1503: error: cannot find symbol
> [javac] public static final DERObjectIdentifier SN = new DERObjectIdentifier("2.5.4.5");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1508: error: cannot find symbol
> [javac] public static final DERObjectIdentifier L = new DERObjectIdentifier("2.5.4.7");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1513: error: cannot find symbol
> [javac] public static final DERObjectIdentifier ST = new DERObjectIdentifier("2.5.4.8");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1516: error: cannot find symbol
> [javac] public static final DERObjectIdentifier SURNAME = new DERObjectIdentifier("2.5.4.4");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1518: error: cannot find symbol
> [javac] public static final DERObjectIdentifier GIVENNAME = new DERObjectIdentifier("2.5.4.42");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1520: error: cannot find symbol
> [javac] public static final DERObjectIdentifier INITIALS = new DERObjectIdentifier("2.5.4.43");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1522: error: cannot find symbol
> [javac] public static final DERObjectIdentifier GENERATION = new DERObjectIdentifier("2.5.4.44");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1524: error: cannot find symbol
> [javac] public static final DERObjectIdentifier UNIQUE_IDENTIFIER = new DERObjectIdentifier("2.5.4.45");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1530: error: cannot find symbol
> [javac] public static final DERObjectIdentifier EmailAddress = new DERObjectIdentifier("1.2.840.113549.1.9.1");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1538: error: cannot find symbol
> [javac] public static final DERObjectIdentifier DC = new DERObjectIdentifier("0.9.2342.19200300.100.1.25");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPKCS7.java:1541: error: cannot find symbol
> [javac] public static final DERObjectIdentifier UID = new DERObjectIdentifier("0.9.2342.19200300.100.1.1");
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class X509Name
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/FontDetails.java:264: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
> [javac] Integer codeKey = new Integer(code);
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/TrueTypeFontUnicode.java:144: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
> [javac] inverseCmap.put(new Integer(metrics[0]), code);
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/TrueTypeFontUnicode.java:150: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
> [javac] return inverseCmap == null ? null : (Integer) inverseCmap.get(new Integer(code));
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/MappedRandomAccessFile.java:203: warning: [removal] AccessController in java.security has been deprecated and marked for removal
> [javac] Boolean b = (Boolean) AccessController.doPrivileged(new PrivilegedAction() {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPublicKeySecurityHandler.java:251: error: DEROutputStream is not public in org.bouncycastle.asn1; cannot be accessed from outside package
> [javac] DEROutputStream k = new DEROutputStream(baos);
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPublicKeySecurityHandler.java:251: error: DEROutputStream is not public in org.bouncycastle.asn1; cannot be accessed from outside package
> [javac] DEROutputStream k = new DEROutputStream(baos);
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPublicKeySecurityHandler.java:300: error: cannot find symbol
> [javac] AlgorithmIdentifier algorithmidentifier = new AlgorithmIdentifier(new DERObjectIdentifier(s), derobject);
> [javac] ^
> [javac] symbol: class DERObjectIdentifier
> [javac] location: class PdfPublicKeySecurityHandler
> [javac] /<<PKGBUILDDIR>>/core/com/lowagie/text/pdf/PdfPublicKeySecurityHandler.java:321: error: cannot find symbol
> [javac] Cipher cipher = Cipher.getInstance(algorithmidentifier.getObjectId().getId());
> [javac] ^
> [javac] symbol: method getObjectId()
> [javac] location: variable algorithmidentifier of type AlgorithmIdentifier
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
> [javac] 85 errors
> [javac] 9 warnings
>
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:44: The following error occurred while executing this line:
> /<<PKGBUILDDIR>>/ant/compile.xml:45: Compile failed; see the compiler error output for details.
>
> Total time: 5 seconds
> dh_auto_build: error: ant -propertyfile ./debian/ant.properties -Duser.name debian jar jar.rtf returned exit code 1
> make[1]: *** [debian/rules:7: override_dh_auto_build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/libitext-java_2.1.7-14_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-java-maintainers
mailing list