Bug#1108572: junit5-system-exit: FTBFS with default Java 25
Vladimir Petko
vpa1977 at gmail.com
Tue Jul 1 05:20:46 BST 2025
Source: junit5-system-exit
Version: 1.1.2-5
Severity: normal
Tags: ftbfs
Usertags: default-java25
Dear Maintainers,
The package junit5-system-exit ftbfs with default Java 25.
The relevant part of the build log:
---------------
java \
-Djava.security.manager=allow \
-jar /usr/share/java/junit-platform-console-standalone.jar \
-cp build/libs/junit5-system-exit.jar:build/libs/junit5-system-exit-tests.jar \
--scan-classpath \
--fail-if-no-tests
Error occurred during initialization of VM
java.lang.Error: A command line option has attempted to allow or enable the Security Manager. Enabling a Security Manager is not supported.
at java.lang.System.initPhase3(java.base at 25-ea/System.java:1947)
make[1]: *** [debian/rules:21: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-06-11T20:23:35Z
---------------
-- System Information:
Debian Release: trixie/sid
APT prefers plucky-updates
APT policy: (500, 'plucky-updates'), (500, 'plucky-security'), (500, 'plucky')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.14.0-22-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the pkg-java-maintainers
mailing list