Bug#894788: vnc-java: FTBFS with openjdk-9

2018-04-06 Thread Emmanuel Bourg
Control: tags -1 + patch

Here is a patch fixing this issue.
--- a/makefile
+++ b/makefile
@@ -17,12 +17,12 @@
  vncCanvas.java optionsFrame.java clipboardFrame.java \
  animatedMemoryImageSource.java DesCipher.java
 
-OPTS = -source 1.3
+OPTS = -source 1.8
 
 all: $(CLASSES) $(ARCHIVE)
 
 $(CLASSES): $(SOURCES)
-   $(JC) $(OPTS) -target 1.1 -O $(SOURCES)
+   $(JC) $(OPTS) -target 1.8 -O $(SOURCES)
 
 $(ARCHIVE): $(CLASSES)
$(JAR) cf $(ARCHIVE) $(CLASSES)


Bug#894788: vnc-java: FTBFS with openjdk-9

2018-04-04 Thread Andreas Beckmann
Source: vnc-java
Version: 3.3.3r2-9
Severity: serious
Tags: sid buster
Justification: fails to build from source

Hi,

vnc-java FTBFS with openjdk-9 as the default jdk:

 debian/rules build
dh build
   dh_update_autotools_config
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/vnc-java-3.3.3r2'
# Add here commands to compile the package.
/usr/bin/make
make[2]: Entering directory '/build/vnc-java-3.3.3r2'
javac -source 1.3 -target 1.1 -O vncviewer.java rfbProto.java 
authenticationPanel.java vncCanvas.java optionsFrame.java clipboardFrame.java 
animatedMemoryImageSource.java DesCipher.java
warning: [options] bootstrap class path not set in conjunction with -source 1.3
error: Source option 1.3 is no longer supported. Use 1.6 or later.
error: Target option 1.1 is no longer supported. Use 1.6 or later.
makefile:25: recipe for target 'vncviewer.class' failed
make[2]: *** [vncviewer.class] Error 2
make[2]: Leaving directory '/build/vnc-java-3.3.3r2'
debian/rules:7: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/vnc-java-3.3.3r2'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2


Andreas


vnc-java_3.3.3r2-9.log.gz
Description: application/gzip