{"action":"created","issue":{"url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/228","repository_url":"https://api.github.com/repos/alexcrichton/curl-rust","labels_url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/228/comments","events_url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/228/events","html_url":"https://github.com/alexcrichton/curl-rust/issues/228","id":361780142,"node_id":"MDU6SXNzdWUzNjE3ODAxNDI=","number":228,"title":"Fails to build on windows 10","user":{"login":"yorodm","id":5833680,"node_id":"MDQ6VXNlcjU4MzM2ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/5833680?v=4","gravatar_id":"","url":"https://api.github.com/users/yorodm","html_url":"https://github.com/yorodm","followers_url":"https://api.github.com/users/yorodm/followers","following_url":"https://api.github.com/users/yorodm/following{/other_user}","gists_url":"https://api.github.com/users/yorodm/gists{/gist_id}","starred_url":"https://api.github.com/users/yorodm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yorodm/subscriptions","organizations_url":"https://api.github.com/users/yorodm/orgs","repos_url":"https://api.github.com/users/yorodm/repos","events_url":"https://api.github.com/users/yorodm/events{/privacy}","received_events_url":"https://api.github.com/users/yorodm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-19T14:36:35Z","updated_at":"2018-09-20T00:02:04Z","closed_at":null,"author_association":"NONE","body":"I'm building a project that depends on `curl-sys v0.2.5` using `rustc 1.30.0-nightly` and this is what I get:\r\n\r\nerror: failed to run custom build command for `curl-sys v0.2.5`\r\nprocess didn't exit successfully: `C:\\Users\\hp\\AppData\\Local\\Temp\\cargo-installMAEooA\\release\\build\\curl-sys-7779715931098c88\\build-script-build` (exit code: 101)\r\n--- stdout\r\ncargo:rustc-link-search=C:\\Users\\hp\\AppData\\Local\\Temp\\cargo-installMAEooA\\release\\build\\curl-sys-a4be539c580cc90d\\out/lib\r\ncargo:rustc-link-lib=static=curl\r\ncargo:root=C:\\Users\\hp\\AppData\\Local\\Temp\\cargo-installMAEooA\\release\\build\\curl-sys-a4be539c580cc90d\\out\r\ncargo:include=C:\\Users\\hp\\AppData\\Local\\Temp\\cargo-installMAEooA\\release\\build\\curl-sys-a4be539c580cc90d\\out/include\r\ncargo:rustc-link-lib=ws2_32\r\ncargo:rustc-link-lib=crypt32\r\n\r\n--- stderr\r\nfatal: not a git repository (or any of the parent directories): .git\r\nthread 'main' panicked at 'fs::hard_link(inc.join(\"lib/zlib.lib\"), inc.join(\"lib/zlib_a.lib\")) return the error O sistema não conseguiu localizar o ficheiro especificado. (os error 2)', C:\\Users\\hp\\.cargo\\registry\\src\\-bf9bcbf58c2fe7c7\\curl-sys-0.2.5\\build.rs:254:9\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n\r\nwarning: build failed, waiting for other jobs to finish...\r\nerror: failed to run custom build command for `libssh2-sys v0.1.41`\r\nprocess didn't exit successfully: `C:\\Users\\hp\\AppData\\Local\\Temp\\cargo-installMAEooA\\release\\build\\libssh2-sys-cd902b2c8e879d89\\build-script-build` (exit code: 101)\r\n--- stdout\r\nrunning: \"cmake\" \"C:\\\\Users\\\\hp\\\\.cargo\\\\registry\\\\src\\\\-bf9bcbf58c2fe7c7\\\\libssh2-sys-0.1.41\\\\libssh2\" \"-G\" \"Visual Studio 14 2015 Win64\" \"-Thost=x64\" \"-DCRYPTO_BACKEND=WinCNG\" \"-DZLIB_INCLUDE_DIR=C:\\\\Users\\\\hp\\\\AppData\\\\Local\\\\Temp\\\\cargo-installMAEooA\\\\release\\\\build\\\\libz-sys-54a5bf97816ce366\\\\out/include\" \"-DBUILD_SHARED_LIBS=OFF\" \"-DENABLE_ZLIB_COMPRESSION=ON\" \"-DCMAKE_INSTALL_LIBDIR=lib\" \"-DBUILD_EXAMPLES=OFF\" \"-DBUILD_TESTING=OFF\" \"-DCMAKE_INSTALL_PREFIX=C:\\\\Users\\\\hp\\\\AppData\\\\Local\\\\Temp\\\\cargo-installMAEooA\\\\release\\\\build\\\\libssh2-sys-e1943adedbfb4929\\\\out\" \"-DCMAKE_C_FLAGS= /nologo /MD\" \"-DCMAKE_C_FLAGS_RELEASE= /nologo /MD\" \"-DCMAKE_CXX_FLAGS= /nologo /MD\" \"-DCMAKE_CXX_FLAGS_RELEASE= /nologo /MD\" \"-DCMAKE_BUILD_TYPE=Release\"\r\n-- Selecting Windows SDK version  to target Windows 10.0.14393.\r\n-- The C compiler identification is MSVC 19.0.24210.0\r\n-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe\r\n-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- 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-- Looking for include files windows.h, bcrypt.h\r\n-- Looking for include files windows.h, bcrypt.h - found\r\n-- Looking for include file ntdef.h\r\n-- Looking for include file ntdef.h - not found\r\n-- Looking for include file ntstatus.h\r\n-- Looking for include file ntstatus.h - found\r\n-- Looking for include files windows.h, wincrypt.h\r\n-- Looking for include files windows.h, wincrypt.h - found\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"C:/Users/hp/AppData/Local/Temp/cargo-installMAEooA/release/build/libssh2-sys-e1943adedbfb4929/out/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"C:/Users/hp/AppData/Local/Temp/cargo-installMAEooA/release/build/libssh2-sys-e1943adedbfb4929/out/build/CMakeFiles/CMakeError.log\".\r\n\r\n--- stderr\r\nfatal: not a git repository (or any of the parent directories): .git\r\nCMake Error at C:/Users/hp/Documents/executable/cmake-3.12.2-win64-x64/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):\r\n  Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version \"1.2.11\")\r\nCall Stack (most recent call first):\r\n  C:/Users/hp/Documents/executable/cmake-3.12.2-win64-x64/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)\r\n  C:/Users/hp/Documents/executable/cmake-3.12.2-win64-x64/share/cmake-3.12/Modules/FindZLIB.cmake:112 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)\r\n  src/CMakeLists.txt:219 (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', C:\\Users\\hp\\.cargo\\registry\\src\\-bf9bcbf58c2fe7c7\\cmake-0.1.34\\src\\lib.rs:776:5\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n\r\nI'm using `cmake version 3.12.2` and Visual Studio 2015 build tools"},"comment":{"url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/comments/422996365","html_url":"https://github.com/alexcrichton/curl-rust/issues/228#issuecomment-422996365","issue_url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/228","id":422996365,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjk5NjM2NQ==","user":{"login":"alexcrichton","id":64996,"node_id":"MDQ6VXNlcjY0OTk2","avatar_url":"https://avatars1.githubusercontent.com/u/64996?v=4","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T00:02:04Z","updated_at":"2018-09-20T00:02:04Z","author_association":"OWNER","body":"Ok! In the meantime I'm gonna close this as I believe the issue is fixed, but let me know if an update doesn't fix it!"}}
{"actor":{"display_login":"alexcrichton"}}