Package: cmake Version: 3.0.2-1 Severity: important Tags: patch The modules FindSWIG and FindJava are unable to find Package: swig3.0 Version: 3.0.2-1 and Package: openjdk-8-jdk Version: 8u40~b09-1
Expected behaviour: cmake should find software installed by Debian Packages To fix the problem with swig, swig3.0 should be added as shown here: find_program(SWIG_EXECUTABLE NAMES swig2.0 swig3.0 swig) in the file /usr/share/cmake-3.0/Modules/FindSWIG.cmake to fix the java problem, I added following lines in /usr/share/cmake-3.0/Modules/FindJava.cmake (lines start with line number) 143 elseif(var MATCHES "openjdk version \"[0-9]+\\.[0-9]+\\. [0-9_]+_[0-9_]\".*") 144 # OpenJDK ver 1.8.x on Linux 145 string( REGEX REPLACE "openjdk version \"([0-9]+\\.[0-9]+\\. [0-9_]+).*" 146 "\\1" Java_VERSION_STRING "${var}" ) The fixes are trivial, but if you need, I can create a proper patch. The problem should be fixed in jessie, too. -- System Information: Debian Release: 8.0 Architecture: amd64 (x86_64) Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org