{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla-services/lua_sandbox_extensions/issues/19","repository_url":"https://api.github.com/repos/mozilla-services/lua_sandbox_extensions","labels_url":"https://api.github.com/repos/mozilla-services/lua_sandbox_extensions/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/lua_sandbox_extensions/issues/19/comments","events_url":"https://api.github.com/repos/mozilla-services/lua_sandbox_extensions/issues/19/events","html_url":"https://github.com/mozilla-services/lua_sandbox_extensions/issues/19","id":172487405,"number":19,"title":"Building the ssl extension fails with cmake 3.0","user":{"login":"elemoine","id":76594,"avatar_url":"https://avatars.githubusercontent.com/u/76594?v=3","gravatar_id":"","url":"https://api.github.com/users/elemoine","html_url":"https://github.com/elemoine","followers_url":"https://api.github.com/users/elemoine/followers","following_url":"https://api.github.com/users/elemoine/following{/other_user}","gists_url":"https://api.github.com/users/elemoine/gists{/gist_id}","starred_url":"https://api.github.com/users/elemoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemoine/subscriptions","organizations_url":"https://api.github.com/users/elemoine/orgs","repos_url":"https://api.github.com/users/elemoine/repos","events_url":"https://api.github.com/users/elemoine/events{/privacy}","received_events_url":"https://api.github.com/users/elemoine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T15:48:58Z","updated_at":"2016-08-29T14:27:46Z","closed_at":"2016-08-29T14:27:46Z","body":"With this issue I just want to report that building the ssl extension fails with cmake 3.0.2, which is the version shipped with Debian Jessie.\r\n\r\nThis is the error I get at `make` time:\r\n\r\n```\r\nroot@1b2e35c5cfd3:/workdingdir/lua_sandbox_extensions/release# make\r\nScanning dependencies of target ep_ssl\r\n[ 11%] Creating directories for 'ep_ssl'\r\n[ 22%] Performing download step (git clone) for 'ep_ssl'\r\n-- Avoiding repeated git clone, stamp file is up to date: '/workdingdir/lua_sandbox_extensions/release/ssl/ep_ssl-prefix/src/ep_ssl-stamp/ep_ssl-gitclone-lastrun.txt'\r\n[ 33%] No patch step for 'ep_ssl'\r\n[ 44%] Performing update step for 'ep_ssl'\r\n[ 55%] Performing configure step for 'ep_ssl'\r\nNot searching for unused variables given on the command line.\r\nCMake Error at /usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:293 (list):\r\n  list GET given empty list\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:41 (find_package)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:294 (list):\r\n  list GET given empty list\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:41 (find_package)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:296 (list):\r\n  list GET given empty list\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:41 (find_package)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:298 (list):\r\n  list GET given empty list\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:41 (find_package)\r\n\r\n\r\n-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version \".0.0`\") \r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/workdingdir/lua_sandbox_extensions/release/ssl/ep_ssl-prefix/src/ep_ssl-build/CMakeFiles/CMakeOutput.log\".\r\nssl/CMakeFiles/ep_ssl.dir/build.make:103: recipe for target 'ssl/ep_ssl-prefix/src/ep_ssl-stamp/ep_ssl-configure' failed\r\nmake[2]: *** [ssl/ep_ssl-prefix/src/ep_ssl-stamp/ep_ssl-configure] Error 1\r\nCMakeFiles/Makefile2:1005: recipe for target 'ssl/CMakeFiles/ep_ssl.dir/all' failed\r\nmake[1]: *** [ssl/CMakeFiles/ep_ssl.dir/all] Error 2\r\nMakefile:86: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```\r\n\r\nIt looks like cmake 3.0.2 is not able to determine the version OpenSSL (`found version \".0.0\"` does not look correct).\r\n\r\nI tried with cmake 3.5.2, downloaded from the cmake website, and it works. So the problem is related to cmake 3.0.2 (and possibly other cmake versions between 3.0.2 and 3.5.2).\r\n\r\nI am creating this issue mainly for posterity. One thing that could be done though is to change the required cmake version on the README page.\r\n\r\n"}}
{"actor":{"display_login":"trink"}}