From b99d63bec31ab896294388552405c3fcdf09dd54 Mon Sep 17 00:00:00 2001 From: Mathieu Boespflug Date: Fri, 16 Dec 2016 12:07:26 +0100 Subject: [PATCH 1/2] Add jni, jvm, sparkle once more. This is another attempt at #2003. The list of includes has been expanded. Fixes #1660. --- build-constraints.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build-constraints.yaml b/build-constraints.yaml index fc701c5a..92930d85 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -1565,6 +1565,9 @@ packages: - distributed-closure - H - inline-r + - jni + - jvm + - sparkle - th-lift "Christopher Reichert @creichert": @@ -2319,8 +2322,6 @@ packages: "Alp Mestanogullari @alpmestan": - taggy - taggy-lens - # 0.1 Compilation failure https://github.com/fpco/stackage/issues/1660 - inline-java - # via inline-java - sparkle "Alex McLean @yaxu": - tidal @@ -2807,11 +2808,15 @@ configure-args: - /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server - --extra-include-dirs - /usr/lib/jvm/java-8-openjdk-amd64/include + - --extra-include-dirs + - /usr/lib/jvm/java-8-openjdk-amd64/include/linux sparkle: - --extra-lib-dirs - /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server - --extra-include-dirs - /usr/lib/jvm/java-8-openjdk-amd64/include + - --extra-include-dirs + - /usr/lib/jvm/java-8-openjdk-amd64/include/linux hocilib: - --extra-lib-dirs - /usr/local/lib From f5c36341e1d911a5acb9703a1c8e8060705f6cef Mon Sep 17 00:00:00 2001 From: Mathieu Boespflug Date: Fri, 16 Dec 2016 13:33:52 +0100 Subject: [PATCH 2/2] Add jvm to expected-test-failures. The reason for this is that on Debian for some reason the linker doesn't add a RUNPATH entry for libjvm.so, despite the fact that it's installed in a non-standard location. So running the test suite will yield a "libjvm.so not found" error. --- build-constraints.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/build-constraints.yaml b/build-constraints.yaml index 92930d85..b8bdc726 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -2979,6 +2979,7 @@ expected-test-failures: - hedis - hocilib # oracle - hworker + - jvm - katip-elasticsearch # elasticsearch - log # ElasticSearch - mangopay # https://github.com/prowdsponsor/mangopay/issues/30