Bug#826656: [Pkg-cmake-team] Bug#826656: openssl 1.0.1t update in jessie broke find_package OpenSSL

2016-06-07 Thread Felix Geyer
Hi,

On 07.06.2016 16:35, Alexander Golovko wrote:
> Package: cmake
> Version: 3.0.2-1
> Severity: important
> Tags: jessie
> 
> Hi.
> 
> Openssl in jessie was updated to 1.0.1t. This update broke cmake
> find_package.

I've prepared an updated cmake package in bug #826662

Felix



Bug#826656: openssl 1.0.1t update in jessie broke find_package OpenSSL

2016-06-07 Thread Alexander Golovko
Package: cmake
Version: 3.0.2-1
Severity: important
Tags: jessie

Hi.

Openssl in jessie was updated to 1.0.1t. This update broke cmake
find_package.


my CMakeList.txt:

...
find_package(OpenSSL REQUIRED)
...


Errors:

CMake Error at /usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:293
(list): list GET given empty list
Call Stack (most recent call first):
  lib/CMakeLists.txt:2 (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):
  lib/CMakeLists.txt:2 (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):
  lib/CMakeLists.txt:2 (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):
  lib/CMakeLists.txt:2 (find_package)



As i see, there is a problem in extra space
in /usr/include/openssl/opensslv.h:

-#define OPENSSL_VERSION_NUMBER 0x1000105fL
+# define OPENSSL_VERSION_NUMBER  0x1000114fL



-- 
with best regards,
Alexander Golovko
email: alexan...@ankalagon.ru
xmpp: alexan...@ankalagon.ru