[Debian-iot-maintainers] Bug#873989: FTBFS with Java 9 due to -source/-target only

Markus Koschany apo at debian.org
Wed Dec 27 21:56:00 UTC 2017


Control: tags -1 patch

Dear maintainer,

I've prepared a patch to fix the build failure with Java 9. I am
attaching it to this bug report.

Regards,

Markus
-------------- next part --------------
diff -Nru libmatthew-java-0.8/debian/changelog libmatthew-java-0.8/debian/changelog
--- libmatthew-java-0.8/debian/changelog	2016-11-01 21:42:46.000000000 +0100
+++ libmatthew-java-0.8/debian/changelog	2017-12-27 22:04:14.000000000 +0100
@@ -1,3 +1,11 @@
+libmatthew-java (0.8-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: Override JVERCFLAGS and use a supported source version. This
+    will fix the FTBFS with Java 9. (Closes: #873989)
+
+ -- Markus Koschany <apo at debian.org>  Wed, 27 Dec 2017 22:04:14 +0100
+
 libmatthew-java (0.8-1) unstable; urgency=medium
 
   * new upstream version
diff -Nru libmatthew-java-0.8/debian/rules libmatthew-java-0.8/debian/rules
--- libmatthew-java-0.8/debian/rules	2016-11-01 21:42:46.000000000 +0100
+++ libmatthew-java-0.8/debian/rules	2017-12-27 22:04:14.000000000 +0100
@@ -9,6 +9,7 @@
 			  JAVAH=/usr/lib/jvm/default-java/bin/javah \
 			  JAVADOC=/usr/lib/jvm/default-java/bin/javadoc \
 			  JAVADOCFLAGS="-quiet -author -link /usr/share/doc/default-jdk-doc/api/" \
+			  JVERCFLAGS="-source 1.7" \
 			  JAR=/usr/bin/fastjar \
 			  PREFIX=/usr \
 			  all doc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-iot-maintainers/attachments/20171227/7fe071e8/attachment.sig>


More information about the Debian-iot-maintainers mailing list