Bug#1053072: osgi-foundation-ee: FTBFS with default Java 21
Vladimir Petko
vpa1977 at gmail.com
Tue Sep 26 23:16:32 BST 2023
Source: osgi-foundation-ee
Version: 4.2.0-4
Severity: important
Tags: ftbfs
User: debian-java at lists.debian.org
Usertags: default-java21
X-Debbugs-Cc: vladimir.petko at canonical.com
Dear Maintainers,
The package osgi-foundation-ee ftbfs with default Java 21.
The relevant part of the build log:
---------------
debian/rules build
dh build --with javahelper --with jh_maven_repo_helper
dh_update_autotools_config
dh_autoreconf
jh_linkjars
debian/rules override_jh_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
jh_build --javadoc-opts="--release 7" --javacopts="--release 7"
error: release version 7 not supported
Usage: javac <options> <source files>
use --help for a list of possible options
jh_build: error: find ./src -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.ee.foundation -d debian/_jh_build.ee.foundation --release 7 -encoding ISO8859-1 returned exit code 123
make[1]: *** [debian/rules:15: override_jh_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
---------------
-- System Information:
Debian Release: bookworm/sid
APT prefers lunar-updates
APT policy: (500, 'lunar-updates'), (500, 'lunar-security'), (500, 'lunar'), (100, 'lunar-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.2.0-33-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_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