Bug#1052617: xml-commons-external: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7

Emmanuel Bourg ebourg at apache.org
Mon Sep 25 12:48:03 BST 2023


Source: xml-commons-external
Version: 1.4.01-5
Severity: important
Tags: ftbfs
User: debian-java at lists.debian.org
Usertags: default-java21

Dear Maintainers,

The package xml-commons-external ftbfs with default Java 21.
The relevant part of the build log:
---------------
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Build all classes
mkdir classes
javac -source 7 -target 7 -d classes `find org/ javax/ -name '*.java'`
warning: [options] bootstrap class path not set in conjunction with -source 7
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
---------------


-- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.108-1-pve (SMP w/8 CPU threads)
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 not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)



More information about the pkg-java-maintainers mailing list