jsurf-alggeo: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7

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

Bug Description

The package jsurf-alggeo ftbfs with default Java 21.
The relevant part of the build log:
---------------
jh_build --javacopts="-source 1.7 -target 1.7" --javadoc-opts="-source 1.7"
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
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.
jh_build: error: find ./src/main -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/vecmath.jar:/usr/share/java/antlr3-runtime.jar:/usr/share/java/commons-io.jar:/usr/share/java/commons-cli.jar:debian/_jh_build.jsurf-alggeo -d debian/_jh_build.jsurf-alggeo -source 1.7 -target 1.7 -encoding ISO8859-1 returned exit code 123
make[1]: *** [debian/rules:19: override_jh_build-indep] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
---------------

Tags: ftbfs

Related branches

Changed in jsurf-alggeo (Debian):
status: Unknown → New
Vladimir Petko (vpa1977)
tags: added: ftbfs
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts test install/upgrade/purge (pass)

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

This bug was fixed in the package jsurf-alggeo - 0.4.1+ds-4ubuntu2

---------------
jsurf-alggeo (0.4.1+ds-4ubuntu2) noble; urgency=medium

  * 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: #2052990).

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

Changed in jsurf-alggeo (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.