Package: cmake
Version: 3.0.2-1
Severity: Serious

I Cmake maintainers, I honestly don't know where the bug belongs to, but I'm 
reporting against cmake.
In my opinion this bug is becoming serious, since something in unstable changed 
and broke the builds
the problem seems to be actually in the FindSSL.cmake module:
=========

if (UNIX)
find_package(PkgConfig QUIET)
pkg_check_modules(_OPENSSL QUIET openssl)
endif ()

========

this means that pkg-config should be available on the system, otherwise it will 
fail with something like:

CMake Error at /usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:293 (list):
list GET given empty list
Call Stack (most recent call first):
CMakeLists.txt:86 (find_package)


CMake Error at /usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:294 (list):
list GET given empty list
Call Stack (most recent call first):
CMakeLists.txt:86 (find_package)


CMake Error at /usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:296 (list):
list GET given empty list
Call Stack (most recent call first):
CMakeLists.txt:86 (find_package)


CMake Error at /usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:298 (list):
list GET given empty list
Call Stack (most recent call first):
CMakeLists.txt:86 (find_package)


CMake Error at 
/usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR: Found unsuitable version ".0.0`", but
required is at least "1.0.0" (found
/usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so)
Call Stack (most recent call first):
/usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:341 
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:318 
(find_package_handle_standard_args)
CMakeLists.txt:86 (find_package)


I guess with the old openssl some fallback code was in place, leading to the 
find of the version.

Now with openssl 1.0.2a-1 in unstable/testing rebuild of the packages using it 
has become impossible.

I'm adding manually pkg-config as B-D of casablanca package, but I think this 
should be a runtime
dependency of cmake.

(please forgive me and downgrade the bug if my analysis is actually wrong)



cheers,

Gianfranco


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to