ssvnc: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7

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

Bug Description

The package ssvnc ftbfs with default Java 21.
The relevant part of the build log:
---------------
javac -source 1.7 -target 1.7 AuthPanel.java ButtonPanel.java ClipboardFrame.java DH.java DesCipher.java FTPFrame.java OptionsFrame.java RecordingFrame.java RfbProto.java SSLSocketToMe.java SessionRecorder.java VncCanvas.java VncViewer.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[2]: *** [Makefile:11: AuthPanel.class] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/ultraftp'
make[1]: *** [Makefile:54: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:29: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
---------------

Related branches

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

piuparts install/upgrade/purge (pass)

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

This bug was fixed in the package ssvnc - 1.0.29-6ubuntu1

---------------
ssvnc (1.0.29-6ubuntu1) 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: #2053195).
  * d/rules: force deletion of vnc_unixsrc/*/Makefile (LP: #2053196).

 -- Vladimir Petko <email address hidden> Thu, 15 Feb 2024 10:55:51 +1300

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