coco-java: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7

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

Bug Description

The package coco-java ftbfs with default Java 21.
The relevant part of the build log:
---------------
make[1]: Entering directory '/<<PKGBUILDDIR>>'
javac -d . -source 1.7 -target 1.7 Trace.java Scanner.java Tab.java DFA.java ParserGen.java Parser.java Coco.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]: *** [Makefile:2: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:40: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
---------------

Tags: ftbfs

Related branches

Vladimir Petko (vpa1977)
description: updated
tags: added: ftbfs
Changed in coco-java (Debian):
status: Unknown → New
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts install/upgrade/purge test (pass)

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

This bug was fixed in the package coco-java - 20110419-4ubuntu1

---------------
coco-java (20110419-4ubuntu1) noble; urgency=medium

  * d/p/debian.patch, d/rules: use java_compat_level variable provided
    by java-common to adjust -source/-target level to the minimum
    required by the default Java (LP: #2052987).

 -- Vladimir Petko <email address hidden> Wed, 22 Nov 2023 10:42:13 +1300

Changed in coco-java (Ubuntu):
status: New → Fix Released
Changed in coco-java (Debian):
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.