Source: libpdfbox-java Version: 1:1.8.16-4 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@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>>' > # work around downloading adobe file > mkdir -p pdfbox/target/classes/org/apache/pdfbox/resources/cmap > cp pdfbox/src/main/resources/org/apache/pdfbox/resources/cmap/* > pdfbox/target/classes/org/apache/pdfbox/resources/cmap/ > mkdir -p pdfbox/target/classes/org/apache/pdfbox/resources/afm > cp /usr/share/htmldoc/fonts/*.afm > pdfbox/target/classes/org/apache/pdfbox/resources/afm/ > cp /usr/share/aglfn/glyphlist.txt > pdfbox/target/classes/org/apache/pdfbox/resources > 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. > [0m[0m[INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Build Order: > [INFO] > [INFO] Apache FontBox > [jar] > [INFO] Apache JempBox > [jar] > [INFO] Apache PDFBox > [jar] > [INFO] PDFBox reactor > [pom] > [INFO] > [INFO] ---------------------< org.apache.pdfbox:fontbox > >---------------------- > [INFO] Building Apache FontBox 1.8.16 > [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 > [WARNING] The artifact > org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4 has been relocated > to org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.3 > [WARNING] The artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 has > been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0 > [INFO] > [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ > fontbox --- > [INFO] skip non existing resourceDirectory > /<<PKGBUILDDIR>>/fontbox/src/main/resources > [INFO] > [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ fontbox > --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 80 source files to /<<PKGBUILDDIR>>/fontbox/target/classes > [INFO] > /<<PKGBUILDDIR>>/fontbox/src/main/java/org/apache/fontbox/cmap/CMapParser.java: > > /<<PKGBUILDDIR>>/fontbox/src/main/java/org/apache/fontbox/cmap/CMapParser.java > uses or overrides a deprecated API that is marked for removal. > [INFO] > /<<PKGBUILDDIR>>/fontbox/src/main/java/org/apache/fontbox/cmap/CMapParser.java: > Recompile with -Xlint:removal for details. > [INFO] > /<<PKGBUILDDIR>>/fontbox/src/main/java/org/apache/fontbox/cmap/CMapParser.java: > > /<<PKGBUILDDIR>>/fontbox/src/main/java/org/apache/fontbox/cmap/CMapParser.java > uses unchecked or unsafe operations. > [INFO] > /<<PKGBUILDDIR>>/fontbox/src/main/java/org/apache/fontbox/cmap/CMapParser.java: > Recompile with -Xlint:unchecked for details. > [INFO] > [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) > @ fontbox --- > [INFO] Not copying test resources > [INFO] > [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ > fontbox --- > [INFO] Not compiling test sources > [INFO] > [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ fontbox --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ fontbox --- > [INFO] Building jar: /<<PKGBUILDDIR>>/fontbox/target/fontbox-1.8.16.jar > [INFO] > [INFO] ---------------------< org.apache.pdfbox:jempbox > >---------------------- > [INFO] Building Apache JempBox 1.8.16 > [2/4] > [INFO] --------------------------------[ jar > ]--------------------------------- > [INFO] > [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ > jempbox --- > [INFO] skip non existing resourceDirectory > /<<PKGBUILDDIR>>/jempbox/src/main/resources > [INFO] > [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ jempbox > --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 24 source files to /<<PKGBUILDDIR>>/jempbox/target/classes > [INFO] > /<<PKGBUILDDIR>>/jempbox/src/main/java/org/apache/jempbox/xmp/XMPMetadata.java: > Some input files use or override a deprecated API that is marked for removal. > [INFO] > /<<PKGBUILDDIR>>/jempbox/src/main/java/org/apache/jempbox/xmp/XMPMetadata.java: > Recompile with -Xlint:removal for details. > [INFO] > [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) > @ jempbox --- > [INFO] Not copying test resources > [INFO] > [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ > jempbox --- > [INFO] Not compiling test sources > [INFO] > [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ jempbox --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ jempbox --- > [INFO] Building jar: /<<PKGBUILDDIR>>/jempbox/target/jempbox-1.8.16.jar > [INFO] > [INFO] ----------------------< org.apache.pdfbox:pdfbox > >---------------------- > [INFO] Building Apache PDFBox 1.8.16 > [3/4] > [INFO] --------------------------------[ jar > ]--------------------------------- > [INFO] > [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ > pdfbox --- > [INFO] Copying 253 resources > [INFO] The encoding used to copy filtered properties files have not been set. > This means that the same encoding will be used to copy filtered properties > files as when copying other filtered resources. This might not be what you > want! Run your build with --debug to see which files might be affected. Read > more at > https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html > [INFO] > [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ pdfbox --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 546 source files to /<<PKGBUILDDIR>>/pdfbox/target/classes > [INFO] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1CFont.java: > Some input files use or override a deprecated API. > [INFO] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1CFont.java: > Recompile with -Xlint:deprecation for details. > [INFO] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDictionary.java: > Some input files use or override a deprecated API that is marked for removal. > [INFO] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDictionary.java: > Recompile with -Xlint:removal for details. > [INFO] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/util/ImageParameters.java: > Some input files use unchecked or unsafe operations. > [INFO] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/util/ImageParameters.java: > Recompile with -Xlint:unchecked for details. > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:[45,29] > org.bouncycastle.asn1.DEROutputStream is not public in > org.bouncycastle.asn1; cannot be accessed from outside package > [ERROR] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:[316,17] > org.bouncycastle.asn1.DEROutputStream is not public in > org.bouncycastle.asn1; cannot be accessed from outside package > [ERROR] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:[316,41] > org.bouncycastle.asn1.DEROutputStream is not public in > org.bouncycastle.asn1; cannot be accessed from outside package > [ERROR] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:[431,63] > cannot find symbol > symbol: method getObjectId() > location: variable algorithmidentifier of type > org.bouncycastle.asn1.x509.AlgorithmIdentifier > [INFO] 4 errors > [INFO] ------------------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for PDFBox reactor 1.8.16: > [INFO] > [INFO] Apache FontBox ..................................... SUCCESS [ 2.710 > s] > [INFO] Apache JempBox ..................................... SUCCESS [ 0.365 > s] > [INFO] Apache PDFBox ...................................... FAILURE [ 6.627 > s] > [INFO] PDFBox reactor ..................................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9.823 s > [INFO] Finished at: 2023-12-11T21:07:27Z > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile > (default-compile) on project pdfbox: Compilation failure: Compilation > failure: > [ERROR] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:[45,29] > org.bouncycastle.asn1.DEROutputStream is not public in > org.bouncycastle.asn1; cannot be accessed from outside package > [ERROR] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:[316,17] > org.bouncycastle.asn1.DEROutputStream is not public in > org.bouncycastle.asn1; cannot be accessed from outside package > [ERROR] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:[316,41] > org.bouncycastle.asn1.DEROutputStream is not public in > org.bouncycastle.asn1; cannot be accessed from outside package > [ERROR] > /<<PKGBUILDDIR>>/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:[431,63] > cannot find symbol > [ERROR] symbol: method getObjectId() > [ERROR] location: variable algorithmidentifier of type > org.bouncycastle.asn1.x509.AlgorithmIdentifier > [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 > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <args> -rf :pdfbox > [0m[0mdh_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[1]: *** [debian/rules:23: override_dh_auto_build-indep] Error 25 The full build log is available from: http://qa-logs.debian.net/2023/12/12/libpdfbox-java_1.8.16-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@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.