cheshire-clojure: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7

Bug #2052757 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cheshire-clojure (Debian)
New
Unknown
cheshire-clojure (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package cheshire-clojure ftbfs with default Java 21.
The relevant part of the build log:
---------------
Wrote /<<PKGBUILDDIR>>/debian/pom.xml
lein jar
Compiling 1 source files to /<<PKGBUILDDIR>>/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 '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
---------------

Related branches

Changed in cheshire-clojure (Debian):
status: Unknown → New
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts install/upgrade/purge

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cheshire-clojure - 5.11.0-2ubuntu1

---------------
cheshire-clojure (5.11.0-2ubuntu1) noble; urgency=medium

  [ Pushkar Kulkarni ]
  * debian/patches/0003-compile-with-jdk21.patch: use JAVA_COMPAT_LEVEL
    environment variable provided by java-common to adjust -source/-target
    level to the minimum required by the default Java (LP: #2052757).

 -- Vladimir Petko <email address hidden> Tue, 13 Feb 2024 10:43:03 +1300

Changed in cheshire-clojure (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.