{"action":"closed","issue":{"url":"https://api.github.com/repos/robotology/codyco-superbuild/issues/150","repository_url":"https://api.github.com/repos/robotology/codyco-superbuild","labels_url":"https://api.github.com/repos/robotology/codyco-superbuild/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/robotology/codyco-superbuild/issues/150/comments","events_url":"https://api.github.com/repos/robotology/codyco-superbuild/issues/150/events","html_url":"https://github.com/robotology/codyco-superbuild/issues/150","id":172924181,"number":150,"title":"CMake errors with version 2.8.11 -> 2.8.12 Debian 7","user":{"login":"rlober","id":3417094,"avatar_url":"https://avatars.githubusercontent.com/u/3417094?v=3","gravatar_id":"","url":"https://api.github.com/users/rlober","html_url":"https://github.com/rlober","followers_url":"https://api.github.com/users/rlober/followers","following_url":"https://api.github.com/users/rlober/following{/other_user}","gists_url":"https://api.github.com/users/rlober/gists{/gist_id}","starred_url":"https://api.github.com/users/rlober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlober/subscriptions","organizations_url":"https://api.github.com/users/rlober/orgs","repos_url":"https://api.github.com/users/rlober/repos","events_url":"https://api.github.com/users/rlober/events{/privacy}","received_events_url":"https://api.github.com/users/rlober/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-24T11:07:16Z","updated_at":"2016-08-24T13:46:36Z","closed_at":"2016-08-24T13:46:36Z","body":"We were trying to compile superbuild on our cluster blades (Debian 7) and ran into the following error during the cmake phase of iDynTree:\r\n```\r\n[ 31%] Performing configure step for 'iDynTree'\r\nNot searching for unused variables given on the command line.\r\nloading initial cache file /usr/local/src/robot/source/codyco-superbuild/build-x86_64/libraries/iDynTree/CMakeFiles/YCMTmp/iDynTree-cache.cmake\r\n-- Using iCub from build tree\r\n-- Boost version: 1.49.0\r\nCMake Error at src/estimation/CMakeLists.txt:33 (target_compile_options):\r\n  Unknown CMake command \"target_compile_options\".\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nmake[2]: *** [libraries/iDynTree/CMakeFiles/YCMStamp/iDynTree-configure] Error 1\r\nmake[1]: *** [CMakeFiles/iDynTree.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\n\r\nThe apt version of cmake for wheezy is 2.8.11 and `target_compile_options` was introduced in 2.8.12: http://cmake.blogspot.fr/2013/10/cmake-2812-released.html\r\n\r\nAfter upgrading to cmake 2.8.12 from source we now get the following issue:\r\n\r\n```\r\n-- The C compiler identification is GNU 4.7.2\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- YCM not found. Bootstrapping it.\r\n-- Downloading YCMEPHelper.cmake - Attempt 1 of 3\r\n-- Downloading YCMEPHelper.cmake - ERROR 1: \"unsupported protocol\"\r\n-- Downloading YCMEPHelper.cmake - Attempt 2 of 3\r\n-- Downloading YCMEPHelper.cmake - ERROR 1: \"unsupported protocol\"\r\n-- Downloading YCMEPHelper.cmake - Attempt 3 of 3\r\nCMake Error at cmake/IncludeUrl.cmake:352 (message):\r\n  Downloading YCMEPHelper.cmake - ERROR 1: \"unsupported protocol\"\r\nCall Stack (most recent call first):\r\n  cmake/YCMBootstrap.cmake:105 (include_url)\r\n  CMakeLists.txt:84 (include)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/usr/local/src/robot/source/codyco-superbuild/build-x86_64/CMakeFiles/CMakeOutput.log\".\r\n```\r\n\r\nI know this is more an iDynTree issue, but seeing as how it kills the default superbuild build I think it should just be changed at the superbuild level. \r\n\r\n"}}
{"actor":{"display_login":"traversaro"}}