Bug#1058533: libitext5-java: FTBFS: [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[1287, 48] cannot find symbol

Lucas Nussbaum lucas at debian.org
Tue Dec 12 20:46:39 GMT 2023


Source: libitext5-java
Version: 5.5.13.3-2
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):
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibitext5-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] iText Core                                                         [jar]
> [INFO] iText PDF/A                                                        [jar]
> [INFO] iText XML Worker                                                   [jar]
> [INFO] iText                                                              [pom]
> [INFO] 
> [INFO] -----------------------< com.itextpdf:itextpdf >------------------------
> [INFO] Building iText Core 5.5.13.3                                       [1/4]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.0
> [WARNING] The artifact org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 has been relocated to org.apache.maven.plugins:maven-compiler-plugin:jar:3.10.1
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ itextpdf ---
> [INFO] Copying 23 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ itextpdf ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 630 source files to /<<PKGBUILDDIR>>/itext/target/classes
> [INFO] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/PdfPublicKeySecurityHandler.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/PdfPublicKeySecurityHandler.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/io/ByteBufferRandomAccessSource.java: Some input files use or override a deprecated API that is marked for removal.
> [INFO] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/io/ByteBufferRandomAccessSource.java: Recompile with -Xlint:removal for details.
> [INFO] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/xmp/options/Options.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/xmp/options/Options.java: Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[223,95] cannot find symbol
>   symbol:   method getObject()
>   location: class org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[246,109] cannot find symbol
>   symbol:   method getObject()
>   location: class org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[346,70] cannot find symbol
>   symbol:   method getObject()
>   location: variable tg of type org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[350,70] cannot find symbol
>   symbol:   method getObject()
>   location: variable tg of type org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[1286,28] cannot find symbol
>   symbol:   method getObject()
>   location: variable tag of type org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[1287,48] cannot find symbol
>   symbol:   method getObject()
>   location: variable tag of type org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/CertificateUtil.java:[123,67] incompatible types: org.bouncycastle.asn1.ASN1IA5String cannot be converted to org.bouncycastle.asn1.DERIA5String
> [INFO] 7 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for iText 5.5.13.3:
> [INFO] 
> [INFO] iText Core ......................................... FAILURE [  7.469 s]
> [INFO] iText PDF/A ........................................ SKIPPED
> [INFO] iText XML Worker ................................... SKIPPED
> [INFO] iText .............................................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  8.064 s
> [INFO] Finished at: 2023-12-11T20:15:03Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project itextpdf: Compilation failure: Compilation failure: 
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[223,95] cannot find symbol
> [ERROR]   symbol:   method getObject()
> [ERROR]   location: class org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[246,109] cannot find symbol
> [ERROR]   symbol:   method getObject()
> [ERROR]   location: class org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[346,70] cannot find symbol
> [ERROR]   symbol:   method getObject()
> [ERROR]   location: variable tg of type org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[350,70] cannot find symbol
> [ERROR]   symbol:   method getObject()
> [ERROR]   location: variable tg of type org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[1286,28] cannot find symbol
> [ERROR]   symbol:   method getObject()
> [ERROR]   location: variable tag of type org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/PdfPKCS7.java:[1287,48] cannot find symbol
> [ERROR]   symbol:   method getObject()
> [ERROR]   location: variable tag of type org.bouncycastle.asn1.ASN1TaggedObject
> [ERROR] /<<PKGBUILDDIR>>/itext/src/main/java/com/itextpdf/text/pdf/security/CertificateUtil.java:[123,67] incompatible types: org.bouncycastle.asn1.ASN1IA5String cannot be converted to org.bouncycastle.asn1.DERIA5String
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:4: build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/libitext5-java_5.5.13.3-2_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