Bug#1053016: cheshire-clojure: FTBFS with default Java 21

2023-09-29 Thread Emmanuel Bourg
It looks like leiningen should be patched to adjust the source/target 
level automatically.


Emmanuel Bourg



Bug#1053016: cheshire-clojure: FTBFS with default Java 21

2023-09-26 Thread Vladimir Petko
Source: cheshire-clojure
Version: 5.11.0-2
Severity: important
Tags: ftbfs
User: debian-j...@lists.debian.org
Usertags: default-java21
X-Debbugs-Cc: vladimir.pe...@canonical.com

Dear Maintainers,

The package cheshire-clojure ftbfs with default Java 21.
The relevant part of the build log:
---
Wrote /<>/debian/pom.xml
lein jar
Compiling 1 source files to /<>/target/classes
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
Compilation of Java sources(lein javac) failed.
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary 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