[Pkg-virtualbox-commits] [virtualbox] 01/01: Force java8 until the program starts working with java9

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Sun Mar 18 21:35:50 UTC 2018


This is an automated email from the git hooks/post-receive script.

locutusofborg pushed a commit to branch master
in repository virtualbox.

commit b4692dd237440fc1a16c4f9e04956f5f20436d27
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Sun Mar 18 22:13:22 2018 +0100

    Force java8 until the program starts working with java9
---
 debian/changelog | 7 +++++++
 debian/control   | 2 +-
 debian/rules     | 1 +
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f94e642..a6ce923 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+virtualbox (5.2.8-dfsg-4) unstable; urgency=medium
+
+  * Force java8 to build, java9 makes the program FTBFS because
+    of missing javax module (and --add-module can't find it)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Fri, 16 Mar 2018 15:02:17 +0100
+
 virtualbox (5.2.8-dfsg-3) unstable; urgency=medium
 
   * Do not delay startup because of notify-send not being ready
diff --git a/debian/control b/debian/control
index bca7199..750f96b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Ritesh Raj Sarraf <rrs at debian.org>,
            Gianfranco Costamagna <locutusofborg at debian.org>
 Build-Depends: bzip2,
                debhelper (>= 10),
-               default-jdk,
+               openjdk-8-jdk-headless,
                dh-python,
                dh-systemd (>=1.5),
                dkms (>= 2.1.1.1),
diff --git a/debian/rules b/debian/rules
index 26b9fc9..b6822ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,6 +68,7 @@ override_dh_auto_build:
 	    VBOX_WITH_REGISTRATION_REQUEST= \
 	    VBOX_WITH_UPDATE_REQUEST= \
 	    KBUILD_VERBOSE=2 \
+	    VBOX_JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 \
 	    VBOX_WITH_EXTPACK_VBOXDTRACE=
 
 	xsltproc --nonet --stringparam section.autolabel 1 \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox.git



More information about the Pkg-virtualbox-commits mailing list