Source: canl-java Version: 2.7.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211104 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --buildsystem=maven > dh_update_autotools_config -O--buildsystem=maven > dh_autoreconf -O--buildsystem=maven > dh_auto_configure -O--buildsystem=maven > mh_patchpoms -plibcanl-java --debian-build --keep-pom-version > --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo > dh_auto_build -O--buildsystem=maven > /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 > 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 > javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US > [INFO] Scanning for projects... > [WARNING] The project eu.eu-emi.security:canl:jar:2.7.0 uses prerequisites > which is only intended for maven-plugin projects but not for non maven-plugin > projects. For such purposes you should use the maven-enforcer-plugin. See > https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html > [INFO] > [INFO] ----------------------< eu.eu-emi.security:canl > >----------------------- > [INFO] Building canl 2.7.0 > [INFO] --------------------------------[ jar > ]--------------------------------- > [INFO] > [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ canl > --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > [INFO] > [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ canl --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 167 source files to /<<PKGBUILDDIR>>/target/classes > [INFO] > /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/RFC3280CertPathUtilitiesCanl.java: > Some input files use or override a deprecated API. > [INFO] > /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/RFC3280CertPathUtilitiesCanl.java: > Recompile with -Xlint:deprecation for details. > [INFO] > /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/PKIXPolicyNode.java: > Some input files use unchecked or unsafe operations. > [INFO] > /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/PKIXPolicyNode.java: > Recompile with -Xlint:unchecked for details. > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/trust/OpensslTruststoreHelper.java:[80,17] > <anonymous > eu.emi.security.authn.x509.helpers.trust.OpensslTruststoreHelper$1> is not > abstract and does not override abstract method > accept(java.nio.file.Path,java.nio.file.attribute.BasicFileAttributes) in > org.apache.commons.io.file.PathFilter > [INFO] 1 error > [INFO] ------------------------------------------------------------- > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Skipping canl > [INFO] This project has been banned from the build due to previous failures. > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2.558 s > [INFO] Finished at: 2021-11-04T09:29:19Z > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile > (default-compile) on project canl: Compilation failure > [ERROR] > /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/trust/OpensslTruststoreHelper.java:[80,17] > <anonymous > eu.emi.security.authn.x509.helpers.trust.OpensslTruststoreHelper$1> is not > abstract and does not override abstract method > accept(java.nio.file.Path,java.nio.file.attribute.BasicFileAttributes) in > org.apache.commons.io.file.PathFilter > [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 > 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 > javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US > returned exit code 1 > make: *** [debian/rules:5: build] Error 25 The full build log is available from: http://qa-logs.debian.net/2021/11/04/canl-java_2.7.0-1_unstable.log 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 marking 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.