[Pkg-cmake-team] Bug#868327: Could NOT find Java: Found unsuitable version "..", but required is at

Mathieu Malaterre malat at debian.org
Fri Jul 14 14:04:16 UTC 2017


Package: cmake
Version: 3.7.2-1
Severity: important
Affects: src:gdcm

Looks like the new OpenJDK version is not supported by the module
FindJava. It fails with:

-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.10")
CMake Warning at /usr/share/cmake-3.7/Modules/FindJava.cmake:146 (message):
  regex not supported: openjdk version "9-Debian"

  OpenJDK Runtime Environment (slowdebug build 9-Debian+0-9b170-2)

  OpenJDK Zero VM (slowdebug build 9-Debian+0-9b170-2, interpreted mode).
  Please report
Call Stack (most recent call first):
  Wrapping/Java/CMakeLists.txt:17 (find_package)


CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138
(message):
  Could NOT find Java: Found unsuitable version "..", but required is at
  least "1.7" (found /usr/bin/java)
Call Stack (most recent call first):
  /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:376
(_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.7/Modules/FindJava.cmake:243
(find_package_handle_standard_args)
  Wrapping/Java/CMakeLists.txt:17 (find_package)


ref:
https://buildd.debian.org/status/fetch.php?pkg=gdcm&arch=powerpc&ver=2.8.0-1~exp1&stamp=1500039912&file=log



More information about the Pkg-cmake-team mailing list