[Pkg-cmake-team] Bug#897611: cmake: handle new openjdk versioning

Tiago Stürmer Daitx tiago.daitx at canonical.com
Thu May 3 15:34:26 BST 2018


Package: cmake
Version: 3.11.1-1
Severity: important

Dear Maintainer,

cmake 3.11.1 checks the wrong java version when deciding if javah is
available: instead of "1.10" it should be "10".

The bug was reported upstream at
https://gitlab.kitware.com/cmake/cmake/issues/17938
and fixed at
https://gitlab.kitware.com/cmake/cmake/commit/5482f485b8c3114d258c4cd1a379a6cd12921cb1
Please notice that the above commit includes fixes for cmake's windows
build as well.

Ubuntu has applied a simplified patch:
https://launchpadlibrarian.net/367159256/cmake_3.10.2-1ubuntu1_3.10.2-1ubuntu2.diff.gz

Please consider applying the patch or upgrading cmake to 3.11.2 as soon
as it is released (at least that is the expected version that will
contain the fix, this should be double checked on release).

I set this as important because debian's default-jdk has been updated
to use openjdk-10.

thanks

-- System Information:
Debian Release: buster/sid
  APT prefers cosmic
  APT policy: (500, 'cosmic'), (400, 'cosmic-proposed')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-20-lowlatency (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-cmake-team mailing list