Article View: linux.debian.bugs.rc
Article #770Bug#1151146: jboss-logging: FTBFS: java.lang.ClassCastException: class org.apache.logging.log4j.simple.SimpleLoggerContext canno...
From: Santiago Vila
Date: Sat, 17 Oct 2026 13:40
Date: Sat, 17 Oct 2026 13:40
78 lines
6754 bytes
6754 bytes
Package: src:jboss-logging Version: 3.5.3-2 Severity: serious Tags: ftbfs forky sid Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202610/ 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 cannot 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:jboss-logging, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] [ERROR] testMdc Time elapsed: 0.001 s <<< ERROR! java.lang.ClassCastException: class org.apache.logging.log4j.simple.SimpleLoggerContext cannot be cast to class org.apache.logging.log4j.core.LoggerContext (org.apache.logging.log4j.simple.SimpleLoggerContext and org.apache.logging.log4j.core.LoggerContext are in unnamed module of loader 'app') at org.jboss.logging.Log4j2ProviderTestCase.setupLogContext(Log4j2ProviderTestCase.java:58) [ERROR] testNdc Time elapsed: 0.002 s <<< ERROR! java.lang.ClassCastException: class org.apache.logging.log4j.simple.SimpleLoggerContext cannot be cast to class org.apache.logging.log4j.core.LoggerContext (org.apache.logging.log4j.simple.SimpleLoggerContext and org.apache.logging.log4j.core.LoggerContext are in unnamed module of loader 'app') at org.jboss.logging.Log4j2ProviderTestCase.setupLogContext(Log4j2ProviderTestCase.java:58) [INFO] Running org.jboss.logging.JulProviderTestCase [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s - in org.jboss.logging.JulProviderTestCase [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [ERROR] Log4j2ProviderTestCase.setupLogContext:58 ClassCast class org.apache.logging.l... [INFO] [ERROR] Tests run: 51, Failures: 0, Errors: 10, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:05 min [INFO] Finished at: 2026-10-17T13:01:18Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default) on project jboss-logging: There are test failures. [ERROR] [ERROR] Please refer to /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [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_test: 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 test returned exit code 1 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
Technical Details
Message-ID:
<NPcNI-68V2-45@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1151146: jboss-logging: FTBFS: java.lang.ClassCastException: class org.apache.logging.log4j.simple.SimpleLoggerContext cannot be cast to class org.apache.logging.log4j.core.LoggerContext (org.apache.logging.log4j.simple.SimpleLoggerContext and org.apache.logging.log4j.core.LoggerContext are in unnamed module of loader 'app') Date: Sat, 17 Oct 2026 15:40:02 +0200 Message-ID: <NPcNI-68V2-45@gated-at.bofh.it> X-Original-To: Debian BTS <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sat Oct 17 13:39:26 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1151146@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, pkg-java-maintainers@lists.alioth.debian.org X-Debian-Pr-Message: report 1151146 X-Debian-Pr-Package: src:jboss-logging X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: jboss-logging X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834756 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 78 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 17 Oct 2026 13:38:13 +0000 X-Original-Message-ID: <E1xI4c1-008JqY-2t@paradis.debian.org>