Hi,
igv also FTBFS with Java 11 now. However the fix is trivial. The package
must build-depend on libjaxb-api-java because those classes were removed
from the JDK. Then you need to remove the
--add-modules', 'java.xml.bind'
line in fix_gradle.patch.
Please find attached a patch that makes the necessary changes to the
Debian packaging without using a patch.
Markus
From 86feef76191c245ec314f1efc66f0f6dfba1a634 Mon Sep 17 00:00:00 2001
From: Markus Koschany
Date: Fri, 9 Nov 2018 16:14:47 +0100
Subject: [PATCH 1/2] B-D on libjaxb-api-java and fix FTBFS with Java 11.
---
debian/control | 1 +
debian/rules | 2 ++
2 files changed, 3 insertions(+)
diff --git a/debian/control b/debian/control
index 97d88d1..d406b17 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends: default-jdk,
libcommons-net-java,
libhttpclient-java,
libhttpcore-java,
+ libjaxb-api-java,
libjcommon-java,
libjfreechart-java,
libjhdf5-java,
diff --git a/debian/rules b/debian/rules
index 84a526b..dc61fec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,7 @@ override_dh_clean:
if [ -e build_java8.gradle ] ; then mv build_java8.gradle build.gradle ; fi
rm -f goby-io-igv.jar
rm -f batik-codec.jar
+ rm -f lib/jaxb-api.jar
dh_clean
override_dh_auto_configure:
@@ -21,3 +22,4 @@ override_dh_auto_configure:
cp -a build_java9.gradle build.gradle
mv src/main/java9/module-info.java src/main/java9/module-info.java.skip
cp debian/log4j.xml src/main/resources/
+ cp /usr/share/java/jaxb-api.jar $(CURDIR)/lib/
--
2.19.1
signature.asc
Description: OpenPGP digital signature