Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2018-01-25 12:40:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and      /work/SRC/openSUSE:Factory/.vtk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vtk"

Thu Jan 25 12:40:45 2018 rev:33 rq:569356 version:8.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2018-01-19 11:53:02.308132334 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes     2018-01-25 
12:40:51.189787992 +0100
@@ -1,0 +2,7 @@
+Wed Jan 24 11:28:47 UTC 2018 - [email protected]
+
+- Fix build with jdk10
+  * give a bogus javah path "%{_bindir}/true", since the cmake
+    checks the javah binary although the build does not use it.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vtk.spec ++++++
--- /var/tmp/diff_new_pack.1sLHtV/_old  2018-01-25 12:40:54.421637109 +0100
+++ /var/tmp/diff_new_pack.1sLHtV/_new  2018-01-25 12:40:54.421637109 +0100
@@ -54,7 +54,7 @@
 BuildRequires:  gnuplot
 BuildRequires:  graphviz
 BuildRequires:  hdf5-devel
-BuildRequires:  java-devel <= 9
+BuildRequires:  java-devel
 BuildRequires:  libX11-devel
 BuildRequires:  libXt-devel
 BuildRequires:  libexpat-devel
@@ -263,7 +263,13 @@
 
 mkdir build
 pushd build
+# FindJava.cmake looks for javah executable. However,
+# the build never invokes the tool. Define a bogus
+# Java_JAVAH_EXECUTABLE in order to be able to build
+# with JDK10 that does not have this tool, deprecated
+# since JDK8.
 cmake .. \
+    -DJava_JAVAH_EXECUTABLE:PATH=%{_bindir}/true\
     -DCMAKE_CXX_COMPILER:STRING='mpicxx' \
     -DCMAKE_C_COMPILER:STRING='mpicc' \
     -DBUILD_DOCUMENTATION:BOOL=ON \


Reply via email to