{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2425","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2425/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2425/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2425/events","html_url":"https://github.com/rust-lang/cargo/issues/2425","id":137653831,"number":2425,"title":"Build failue","user":{"login":"jnordwick","id":2364380,"avatar_url":"https://avatars.githubusercontent.com/u/2364380?v=3","gravatar_id":"","url":"https://api.github.com/users/jnordwick","html_url":"https://github.com/jnordwick","followers_url":"https://api.github.com/users/jnordwick/followers","following_url":"https://api.github.com/users/jnordwick/following{/other_user}","gists_url":"https://api.github.com/users/jnordwick/gists{/gist_id}","starred_url":"https://api.github.com/users/jnordwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnordwick/subscriptions","organizations_url":"https://api.github.com/users/jnordwick/orgs","repos_url":"https://api.github.com/users/jnordwick/repos","events_url":"https://api.github.com/users/jnordwick/events{/privacy}","received_events_url":"https://api.github.com/users/jnordwick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-01T18:44:17Z","updated_at":"2016-03-01T18:44:17Z","closed_at":null,"body":"From a recent Ubuntu install, I get an error similar to this issue where the build complains about libssh2:\r\n\r\nhttps://github.com/rust-lang/cargo/issues/1727\r\n\r\njnordwick@jj:~$ uname -a\r\nLinux jj 4.2.0-30-generic #36-Ubuntu SMP Fri Feb 26 00:58:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\njnordwick@jj:~/rdev/cargo$ cargo build --release\r\n   Compiling libc v0.2.7\r\n   Compiling gcc v0.3.23\r\n   Compiling glob v0.2.10\r\n   Compiling regex-syntax v0.2.2\r\n   Compiling bitflags v0.1.1\r\n   Compiling winapi v0.2.5\r\n   Compiling memchr v0.1.7\r\n   Compiling aho-corasick v0.4.1\r\n   Compiling winapi-build v0.1.1\r\n   Compiling kernel32-sys v0.2.1\r\n   Compiling advapi32-sys v0.1.2\r\n   Compiling log v0.3.5\r\n   Compiling rustc-serialize v0.3.18\r\n   Compiling term v0.4.4\r\n   Compiling crossbeam v0.2.8\r\n   Compiling matches v0.1.2\r\n   Compiling filetime v0.1.10\r\n   Compiling tar v0.4.3\r\n   Compiling regex v0.1.48\r\n   Compiling unicode-bidi v0.2.3\r\n   Compiling rand v0.3.14\r\n   Compiling strsim v0.3.0\r\n   Compiling time v0.1.34\r\n   Compiling miniz-sys v0.1.7\r\n   Compiling num_cpus v0.2.10\r\n   Compiling nom v1.2.0\r\n   Compiling env_logger v0.3.2\r\n   Compiling flate2 v0.2.13\r\n   Compiling pkg-config v0.3.6\r\n   Compiling unicode-normalization v0.1.2\r\n   Compiling semver v0.2.2\r\n   Compiling docopt v0.6.78\r\n   Compiling libz-sys v1.0.1\r\n   Compiling curl-sys v0.1.32\r\n   Compiling uuid v0.1.18\r\n   Compiling openssl-sys v0.7.6\r\n   Compiling cmake v0.1.13\r\n   Compiling url v0.2.38\r\n   Compiling libgit2-sys v0.4.0\r\n   Compiling libssh2-sys v0.1.36\r\nBuild failed, waiting for other jobs to finish...\r\nfailed to run custom build command for `libssh2-sys v0.1.36`\r\nProcess didn't exit successfully: `/home/jnordwick/rdev/cargo/target/release/build/libssh2-sys-3835e37e3bac7bdf/build-script-build` (exit code: 101)\r\n--- stdout\r\nrunning: \"cmake\" \"/home/jnordwick/.cargo/registry/src/github.com-88ac128001ac3a9a/libssh2-sys-0.1.36/libssh2\" \"-DCRYPTO_BACKEND=OpenSSL\" \"-DBUILD_SHARED_LIBS=OFF\" \"-DENABLE_ZLIB_COMPRESSION=ON\" \"-DCMAKE_INSTALL_LIBDIR=lib\" \"-DBUILD_EXAMPLES=OFF\" \"-DBUILD_TESTING=OFF\" \"-DCMAKE_INSTALL_PREFIX=/home/jnordwick/rdev/cargo/target/release/build/libssh2-sys-3835e37e3bac7bdf/out\" \"-DCMAKE_C_FLAGS= -O0 -ffunction-sections -fdata-sections -m64 -fPIC\" \"-DCMAKE_C_COMPILER=/usr/bin/cc\" \"-DCMAKE_CXX_FLAGS= -O0 -ffunction-sections -fdata-sections -m64 -fPIC\" \"-DCMAKE_CXX_COMPILER=/usr/bin/c++\" \"-DCMAKE_BUILD_TYPE=Release\"\r\n-- The C compiler identification is GNU 5.2.1\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-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/home/jnordwick/rdev/cargo/target/release/build/libssh2-sys-3835e37e3bac7bdf/out/build/CMakeFiles/CMakeOutput.log\".\r\n\r\n--- stderr\r\nCMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):\r\n  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the\r\n  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES\r\n  OPENSSL_INCLUDE_DIR)\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)\r\n  /usr/share/cmake-3.2/Modules/FindOpenSSL.cmake:334 (find_package_handle_standard_args)\r\n  src/CMakeLists.txt:62 (find_package)\r\n\r\n\r\nthread '<main>' panicked at '\r\ncommand did not execute successfully, got: exit code: 1\r\n\r\nbuild script failed, must exit now', /home/jnordwick/.cargo/registry/src/github.com-88ac128001ac3a9a/cmake-0.1.13/src/lib.rs:446\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n\r\njnordwick@jj:~/rdev/cargo$ cargo --version\r\ncargo 0.9.0-nightly (8fc3fd8 2016-02-29)\r\njnordwick@jj:~/rdev/cargo$ \r\n"}}