Your message dated Sun, 22 Nov 2026 15:23:14 +0000
with message-id <[email protected]>
and subject line Bug#1151146: fixed in apache-log4j2 2.26.1-2
has caused the Debian Bug report #1151146,
regarding 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')
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1151146: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151146
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: apache-log4j2
Source-Version: 2.26.1-2
Done: Emmanuel Bourg <[email protected]>
We believe that the bug you reported is fixed in the latest version of
apache-log4j2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emmanuel Bourg <[email protected]> (supplier of updated apache-log4j2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 21 Nov 2026 02:10:51 +0100
Source: apache-log4j2
Architecture: source
Version: 2.26.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Emmanuel Bourg <[email protected]>
Closes: 1151144 1151146
Changes:
apache-log4j2 (2.26.1-2) unstable; urgency=medium
.
* Build with the logging-parent POM
* Generate the service loader files and the OSGi metadata with
bnd-maven-plugin (Closes: #1151144, #1151146)
Checksums-Sha1:
05bc234f255ff0ccb79d2b04bdb18669fc7e4409 2979 apache-log4j2_2.26.1-2.dsc
0c8527d4a6a6b717b497360c910ac962173ee969 10640
apache-log4j2_2.26.1-2.debian.tar.xz
02dc3df9e667ae029cc0c13c1c8ea50b0ebecf0d 16841
apache-log4j2_2.26.1-2_source.buildinfo
Checksums-Sha256:
b784761386671e2f4c4f141375c65a9016a922300a9dba8a8e105998ed695824 2979
apache-log4j2_2.26.1-2.dsc
dc6ec9e75a41517ca400aee338da7cd95829f93834f12696a7d49a59864ff44e 10640
apache-log4j2_2.26.1-2.debian.tar.xz
865b8bebe78a7dfb0118ff23162b628dc11b70c36a43aadc47c24ef87b21cf42 16841
apache-log4j2_2.26.1-2_source.buildinfo
Files:
e159dc5b42392642e209508506624591 2979 java optional apache-log4j2_2.26.1-2.dsc
5afb0913dc14980e5c5e452bd1ae1891 10640 java optional
apache-log4j2_2.26.1-2.debian.tar.xz
c4b73d7faaa6a87e8576fc6739459ab3 16841 java optional
apache-log4j2_2.26.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmsDBN4SHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCs22IQAJIWanhQhP45ojytHuNqHwZQSsd8g6WZ
8wbvuAAB7x5KPPhPwdZhCe7IxD0cWute+2YSKUf0QqJ8FRIDZ2oWJ0vKpPlVshAo
Lu9ypNwlF3hbgW1L08wONlWEcF9hCi5AbGohmwwTfEUx6rh3oMFsglrElaM5FX6r
r30iFXJPhfZNd65ZGD4eF5+kzqRyDvmK0QIJy3dkanu8t8v4YOP34i7hgb9tMsPE
MTOpAXTccpGzyhpZQxZrGSWcMa4uIzVyJD7X+GRXHrA3oHcGTp7QyTRvzb69tDYB
TX2lh5ShGgZnZl73/SRTCLUSx1SY3iF6NeF7vQJMfK+FYmsMzGZPJvH3mPvQHPPt
JYaJrzOtOc1f//wsTkhI3NFYCOmUY/pguXZOtZrtRWGwBqr5dZsuf0VPjuKVRxmx
DlUBdtr3aDBUOLhB0klvGAD3RfA6lgUOzvK7nsXq8et5kjQg55NsozZSDcE0+5du
ASWQL0Lh/D8Nwt9ftNlBgG9pVFROa+kDWD3nPRBxs+dqK08fDX8v0x/x6fxYqzUO
gVZUUrG6+gDGvn1rQmyweOW9CZ7+5W6PM4WZvsiLfdtzAfgSJoiLubyEE5DIg72b
F8pNTmjU2JiaHOA1/V7P6mdFO3rv9HFOGdfDkBOgrILeq3n+iJCAkTg/FHy0aY1S
MQZ1rmXxLiPQ
=4LMs
-----END PGP SIGNATURE-----
pgpVb5dZiZQEA.pgp
Description: PGP signature
--- End Message ---