Package: src:apache-log4j2 Version: 2.19.0-2 Severity: serious Tags: ftbfs trixie sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules clean dh clean dh_auto_clean bash -c "for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done" mh_unpatchpoms -pliblog4j2-java dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure mh_patchpoms -pliblog4j2-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] Apache Log4j 2 [pom] [INFO] Apache Log4j API Java 9 support [pom] [INFO] Apache Log4j API [jar] [INFO] Apache Log4j Implementation Java 9 support [pom] [INFO] Apache Log4j Core [jar] [INFO] Apache Log4j 1.x Compatibility API [jar] [INFO] Apache Log4j to SLF4J Adapter [jar] [INFO] Apache Log4j to JUL Bridge [jar] [INFO] Apache Log4j Commons Logging Bridge [jar] [INFO] Apache Log4j BOM [pom] [INFO] Apache Log4j CouchDB [jar] [INFO] Apache Log4j MongoDB 3 [jar] [INFO] Apache Log4j Web [jar] [INFO] Apache Log4j JUL Adapter [jar] [INFO] [INFO] -------------------< org.apache.logging.log4j:log4j >------------------- [INFO] Building Apache Log4j 2 2.19.0 [1/14] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --------------< org.apache.logging.log4j:log4j-api-java9 >-------------- [INFO] Building Apache Log4j API Java 9 support 2.19.0 [2/14] [INFO] from log4j-api-java9/pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ log4j-api-java9 --- [WARNING] Parameter 'compilerArguments' is deprecated: use compilerArgs instead. [INFO] Recompiling the module because of changed source code. [INFO] Compiling 18 source files with javac [forked debug deprecation release 9] to target/classes [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment. [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/SystemPropertiesPropertySource.java:[23,7] [missing-explicit-ctor] class SystemPropertiesPropertySource in exported package org.apache.logging.log4j.util declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java:[19,7] [missing-explicit-ctor] class ProcessIdUtil in exported package org.apache.logging.log4j.util declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/status/StatusLogger.java:[25,13] [missing-explicit-ctor] class StatusLogger in exported package org.apache.logging.log4j.status declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/LoaderUtil.java:[23,13] [missing-explicit-ctor] class LoaderUtil in exported package org.apache.logging.log4j.util declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/Dummy.java:[23,7] [missing-explicit-ctor] class Dummy in exported package org.apache.logging.log4j declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/simple/Dummy.java:[23,7] [missing-explicit-ctor] class Dummy in exported package org.apache.logging.log4j.simple declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/EnvironmentPropertySource.java:[23,7] [missing-explicit-ctor] class EnvironmentPropertySource in exported package org.apache.logging.log4j.util declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/status/Dummy.java:[23,7] [missing-explicit-ctor] class Dummy in exported package org.apache.logging.log4j.status declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/spi/Provider.java:[23,7] [missing-explicit-ctor] class Provider in exported package org.apache.logging.log4j.spi declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/message/ThreadDumpMessage.java:[23,7] [missing-explicit-ctor] class ThreadDumpMessage in exported package org.apache.logging.log4j.message declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [WARNING] /<<PKGBUILDDIR>>/log4j-api-java9/src/main/java/org/apache/logging/log4j/message/Dummy.java:[23,7] [missing-explicit-ctor] class Dummy in exported package org.apache.logging.log4j.message declares no explicit constructors, thereby exposing a default constructor to clients of module org.apache.logging.log4j [INFO] [INFO] --- compiler:3.13.0:testCompile (default-test-compile) @ log4j-api-java9 --- [WARNING] Parameter 'compilerArguments' is deprecated: use compilerArgs instead. [INFO] Not compiling test sources [INFO] [INFO] --- compiler:3.13.0:testCompile (test-compile-module) @ log4j-api-java9 --- [WARNING] Parameter 'compilerArguments' is deprecated: use compilerArgs instead. [INFO] Not compiling test sources [INFO] [INFO] --- assembly:3.4.2:single (zip) @ log4j-api-java9 --- [WARNING] Parameter 'finalName' is read-only, must not be used in configuration [INFO] Reading assembly descriptor: src/assembly/java9.xml [INFO] Building zip: /<<PKGBUILDDIR>>/log4j-api-java9/target/log4j-api-java9-2.19.0.zip [INFO] [INFO] -----------------< org.apache.logging.log4j:log4j-api >----------------- [INFO] Building Apache Log4j API 2.19.0 [3/14] [INFO] from log4j-api/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The artifact org.apache.maven.plugins:maven-surefire-plugin:jar:2.17 has been relocated to org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.3 [WARNING] The artifact org.osgi:org.osgi.core:jar:debian has been relocated to org.osgi:osgi.core:jar:debian [WARNING] The artifact org.apache.commons:commons-lang3:jar:3.x has been relocated to org.apache.commons:commons-lang3:jar:debian [INFO] [INFO] --- build-helper:3.3.0:add-source (add-source) @ log4j-api --- [INFO] Source directory: /<<PKGBUILDDIR>>/log4j-api/target/log4j-api-java9 added. [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ log4j-api --- [INFO] Copying 2 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ log4j-api --- [WARNING] Parameter 'compilerArguments' is deprecated: use compilerArgs instead. [INFO] Recompiling the module because of changed source code. [INFO] Compiling 143 source files with javac [forked debug deprecation release 8] to target/classes [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment. [WARNING] [options] source value 8 is obsolete and will be removed in a future release [WARNING] [options] target value 8 is obsolete and will be removed in a future release [WARNING] [options] To suppress warnings about obsolete options, use -Xlint:-options. [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableSimpleMessage.java:[29,25] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/spi/MutableThreadContextStack.java:[38,31] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java:[597,16] [deprecation] entry(Object...) in Logger has been deprecated [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java:[111,34] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java:[112,37] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/simple/SimpleLogger.java:[57,24] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/message/DefaultFlowMessageFactory.java:[120,29] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java:[90,45] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java:[94,32] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java:[96,36] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/status/StatusLogger.java:[100,23] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/message/ThreadDumpMessage.java:[40,65] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/spi/ExtendedLoggerWrapper.java:[35,35] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/util/Timer.java:[41,30] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/spi/DefaultThreadContextMap.java:[45,51] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/util/SortedArrayStringMap.java:[147,35] [this-escape] possible 'this' escape before subclass is fully initialized [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/util/SortedArrayStringMap.java:[155,20] [this-escape] possible 'this' escape before subclass is fully initialized [WARNING] /<<PKGBUILDDIR>>/log4j-api/src/main/java/org/apache/logging/log4j/message/StructuredDataCollectionMessage.java:[32,46] [serial] non-transient instance field of a serializable class declared with a non-serializable type [INFO] [INFO] --- bundle:3.5.1:manifest (default) @ log4j-api --- [WARNING] The artifact org.osgi:org.osgi.core:jar:debian has been relocated to org.osgi:osgi.core:jar:debian [WARNING] Manifest org.apache.logging.log4j:log4j-api:jar:2.19.0 : Export org.apache.logging.log4j.spi, has 1, private references [org.apache.logging.log4j.internal] [INFO] [INFO] --- bundle:3.5.1:manifest (default-manifest) @ log4j-api --- [WARNING] The artifact org.osgi:org.osgi.core:jar:debian has been relocated to org.osgi:osgi.core:jar:debian [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ log4j-api --- [INFO] Not copying test resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ log4j-api --- [WARNING] Parameter 'compilerArguments' is deprecated: use compilerArgs instead. [INFO] Not compiling test sources [INFO] [INFO] --- bundle:3.5.1:manifest (default-test-manifest) @ log4j-api --- [WARNING] The artifact org.osgi:org.osgi.core:jar:debian has been relocated to org.osgi:osgi.core:jar:debian [WARNING] Manifest org.apache.logging.log4j:log4j-api:jar:2.19.0 : Unused Export-Package instructions: [org.apache.logging.log4j.*] [WARNING] Manifest org.apache.logging.log4j:log4j-api:jar:2.19.0 : Host org.apache.logging.log4j.api= for this fragment/require bundle cannot be found on the classpath [WARNING] Manifest org.apache.logging.log4j:log4j-api:jar:2.19.0 : Host org.apache.logging.log4j.api= for this fragment cannot be found on the classpath [INFO] [INFO] --- surefire:2.22.3:test (default-test) @ log4j-api --- [INFO] Tests are skipped. [INFO] [INFO] --- dependency:3.8.1:unpack (unpack-classes) @ log4j-api --- [INFO] Configured Artifact: org.apache.logging.log4j:log4j-api-java9:2.19.0:zip [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ log4j-api --- [INFO] Building jar: /<<PKGBUILDDIR>>/log4j-api/target/log4j-api-2.19.0.jar [INFO] [INFO] --- jar:3.3.0:test-jar (default) @ log4j-api --- [INFO] Skipping packaging of the test-jar [INFO] [INFO] -------------< org.apache.logging.log4j:log4j-core-java9 >-------------- [INFO] Building Apache Log4j Implementation Java 9 support 2.19.0 [4/14] [INFO] from log4j-core-java9/pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ log4j-core-java9 --- [WARNING] Parameter 'compilerArguments' is deprecated: use compilerArgs instead. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 5 source files with javac [forked debug deprecation release 8] to target/classes [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment. [WARNING] [options] source value 8 is obsolete and will be removed in a future release [WARNING] [options] target value 8 is obsolete and will be removed in a future release [WARNING] [options] To suppress warnings about obsolete options, use -Xlint:-options. [WARNING] /<<PKGBUILDDIR>>/log4j-core-java9/src/main/java/org/apache/logging/log4j/core/time/MutableInstant.java:[38,7] [serial] serializable class MutableInstant has no definition of serialVersionUID [INFO] [INFO] --- compiler:3.13.0:testCompile (default-test-compile) @ log4j-core-java9 --- [WARNING] Parameter 'compilerArguments' is deprecated: use compilerArgs instead. [INFO] Not compiling test sources [INFO] [INFO] --- assembly:3.4.2:single (zip) @ log4j-core-java9 --- [WARNING] Parameter 'finalName' is read-only, must not be used in configuration [INFO] Reading assembly descriptor: src/assembly/java9.xml [INFO] Building zip: /<<PKGBUILDDIR>>/log4j-core-java9/target/log4j-core-java9-2.19.0.zip [INFO] [INFO] ----------------< org.apache.logging.log4j:log4j-core >----------------- [INFO] Building Apache Log4j Core 2.19.0 [5/14] [INFO] from log4j-core/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for org.yaml:snakeyaml:jar:1.x is missing, no dependency information available [WARNING] The artifact org.osgi:org.osgi.core:jar:debian has been relocated to org.osgi:osgi.core:jar:debian [WARNING] The artifact org.codehaus.woodstox:woodstox-core-lgpl:jar:debian has been relocated to com.fasterxml.woodstox:woodstox-core:jar:debian [WARNING] The artifact javax.activation:javax.activation-api:jar:debian has been relocated to com.sun.activation:javax.activation:jar:debian [WARNING] The artifact org.apache.commons:commons-lang3:jar:3.x has been relocated to org.apache.commons:commons-lang3:jar:debian [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache Log4j 2 2.19.0: [INFO] [INFO] Apache Log4j 2 ..................................... SUCCESS [ 0.001 s] [INFO] Apache Log4j API Java 9 support .................... SUCCESS [ 1.221 s] [INFO] Apache Log4j API ................................... SUCCESS [ 3.945 s] [INFO] Apache Log4j Implementation Java 9 support ......... SUCCESS [ 0.534 s] [INFO] Apache Log4j Core .................................. FAILURE [ 0.029 s] [INFO] Apache Log4j 1.x Compatibility API ................. SKIPPED [INFO] Apache Log4j to SLF4J Adapter ...................... SKIPPED [INFO] Apache Log4j to JUL Bridge ......................... SKIPPED [INFO] Apache Log4j Commons Logging Bridge ................ SKIPPED [INFO] Apache Log4j BOM ................................... SKIPPED [INFO] Apache Log4j CouchDB ............................... SKIPPED [INFO] Apache Log4j MongoDB 3 ............................. SKIPPED [INFO] Apache Log4j Web ................................... SKIPPED [INFO] Apache Log4j JUL Adapter ........................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.372 s [INFO] Finished at: 2025-04-12T12:48:28Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project log4j-core: Could not resolve dependencies for project org.apache.logging.log4j:log4j-core:jar:2.19.0 [ERROR] dependency: org.yaml:snakeyaml:jar:1.x (compile?) [ERROR] Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.yaml:snakeyaml:jar:1.x has not been downloaded from it before. [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/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :log4j-core 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: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202504/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:apache-log4j2, so that this is still visible in the BTS web page for this package. Thanks.