Bug#1053037: jsurf-alggeo: FTBFS with default Java 21

2023-11-21 Thread Vladimir Petko
Dear Maintainers,

  Would it be possible to consider a merge request[1] that addresses this
issue?

Best Regards,
 Vladimir.

 [1] https://salsa.debian.org/science-team/jsurf-alggeo/-/merge_requests/2


Bug#1053037: jsurf-alggeo: FTBFS with default Java 21

2023-09-26 Thread Vladimir Petko
Source: jsurf-alggeo
Version: 0.4.1+ds-4
Severity: important
Tags: ftbfs
User: debian-j...@lists.debian.org
Usertags: default-java21
X-Debbugs-Cc: vladimir.pe...@canonical.com

Dear Maintainers,

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 '/<>'
make: *** [debian/rules:16: 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