Bug#1053045: king: FTBFS with default Java 21

2023-09-28 Thread Emmanuel Bourg

Control: notfound -1 2.24+dfsg2-1

This was already fixed with ant/1.10.14-1. I've rebuilt with OpenJDK 21 
and besides the language level there was no compilation error.


Emmanuel Bourg



Bug#1053045: king: FTBFS with default Java 21

2023-09-26 Thread Vladimir Petko
Source: king
Version: 2.24+dfsg2-1
Severity: important
Tags: ftbfs
User: debian-j...@lists.debian.org
Usertags: default-java21
X-Debbugs-Cc: vladimir.pe...@canonical.com

Dear Maintainers,

The package king ftbfs with default Java 21.
The relevant part of the build log:
---
compile:
[mkdir] Created dir: /<>/driftwood/build
[javac] /<>/driftwood/build.xml:47: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
[javac] Compiling 120 source files to /<>/driftwood/build
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 7
[javac] error: Source option 7 is no longer supported. Use 8 or later.
[javac] error: Target option 7 is no longer supported. Use 8 or later.

BUILD FAILED
/<>/chiropraxis/build.xml:43: The following error occurred while 
executing this line:
/<>/driftwood/build.xml:47: Compile failed; see the compiler error 
output for details.
---


-- 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