Bug#1053079: slashtime: FTBFS with default Java 21

2023-12-03 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/java-team/slashtime/-/merge_requests/1


Bug#1053079: slashtime: FTBFS with default Java 21

2023-09-26 Thread Vladimir Petko
Source: slashtime
Version: 0.5.13-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 slashtime ftbfs with default Java 21.
The relevant part of the build log:
---
JAVAC   tmp/classes/*.class
/usr/lib/jvm/java-21-openjdk-amd64/bin/javac -g -source 1.7 -d tmp/classes 
-encoding UTF-8 -classpath tmp/classes:/usr/share/java/gtk-4.1.jar -sourcepath 
src/java src/java/slashtime/client/Master.java 
src/java/slashtime/client/Version.java src/java/slashtime/domain/Place.java 
src/java/slashtime/services/Loader.java src/java/slashtime/ui/ClockThread.java 
src/java/slashtime/ui/MeetingWindow.java 
src/java/slashtime/ui/UserInterface.java src/java/slashtime/ui/ZonesWindow.java 
src/java/slashtime/util/NullArgumentException.java 
src/java/slashtime/util/TimeZoneHelper.java
mkdir -p share/locale/en/LC_MESSAGES/
EXTRACT tmp/i18n/slashtime.pot
xgettext -o tmp/i18n/slashtime.pot --omit-header --from-code=UTF-8 --keyword=_ 
--keyword=N_ src/java/slashtime/client/Master.java 
src/java/slashtime/client/Version.java src/java/slashtime/domain/Place.java 
src/java/slashtime/services/Loader.java src/java/slashtime/ui/ClockThread.java 
src/java/slashtime/ui/MeetingWindow.java 
src/java/slashtime/ui/UserInterface.java src/java/slashtime/ui/ZonesWindow.java 
src/java/slashtime/util/NullArgumentException.java 
src/java/slashtime/util/TimeZoneHelper.java
MSGFMT  share/locale/en/LC_MESSAGES/slashtime.mo
msgfmt -o share/locale/en/LC_MESSAGES/slashtime.mo po/en.po
MSGFMT  share/locale/fr/LC_MESSAGES/slashtime.mo
msgfmt -o share/locale/fr/LC_MESSAGES/slashtime.mo po/fr.po
mkdir -p share/locale/tr_TR/LC_MESSAGES/
MSGFMT  share/locale/tr_TR/LC_MESSAGES/slashtime.mo
msgfmt -o share/locale/tr_TR/LC_MESSAGES/slashtime.mo po/tr_TR.po
CP  slashtime
cp -f tmp/launcher/slashtime-local slashtime
chmod +x slashtime
warning: [options] bootstrap class path not set in conjunction with -source 7
error: Source option 7 is no longer supported. Use 8 or later.
make[1]: *** [Makefile:57: tmp/stamp/compile] Error 2
make[1]: Leaving directory '/<>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build 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