{"action":"created","issue":{"url":"https://api.github.com/repos/alexcrichton/libz-sys/issues/11","repository_url":"https://api.github.com/repos/alexcrichton/libz-sys","labels_url":"https://api.github.com/repos/alexcrichton/libz-sys/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/alexcrichton/libz-sys/issues/11/comments","events_url":"https://api.github.com/repos/alexcrichton/libz-sys/issues/11/events","html_url":"https://github.com/alexcrichton/libz-sys/issues/11","id":185843912,"number":11,"title":"Build fails on Windows 10","user":{"login":"markusl","id":902838,"avatar_url":"https://avatars.githubusercontent.com/u/902838?v=3","gravatar_id":"","url":"https://api.github.com/users/markusl","html_url":"https://github.com/markusl","followers_url":"https://api.github.com/users/markusl/followers","following_url":"https://api.github.com/users/markusl/following{/other_user}","gists_url":"https://api.github.com/users/markusl/gists{/gist_id}","starred_url":"https://api.github.com/users/markusl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusl/subscriptions","organizations_url":"https://api.github.com/users/markusl/orgs","repos_url":"https://api.github.com/users/markusl/repos","events_url":"https://api.github.com/users/markusl/events{/privacy}","received_events_url":"https://api.github.com/users/markusl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-28T05:48:09Z","updated_at":"2016-10-31T01:51:27Z","closed_at":null,"body":"I'm trying to compile rust-curl as part of my binary on a build machine which runs Windows 10. The build fails with following error logs. Any tips to get it working? Rust version 1.12 MSVC 64 bit.\r\n\r\n[08:45:38][Step 1/1] error: failed to run custom build command for libz-sys v1.0.6\r\n[08:45:38][Step 1/1] process didn't exit successfully: C:\\BuildAgent-01\\work\\dac4b43613e8c67e\\target\\release\\build\\libz-sys-abc54d15a9de5c22\\build-script-build (exit code: 101)\r\n[08:45:38][Step 1/1] --- stdout\r\n[08:45:38][Step 1/1] running: \"nmake.exe\" \"/nologo\" \"/f\" \"C:\\\\Windows\\\\system32\\\\config\\\\systemprofile\\\\.cargo\\\\registry\\\\src\\\\github.com-1ecc6299db9ec823\\\\libz-sys-1.0.6\\\\src/zlib-1.2.8\\\\win32/Makefile.msc\" \"zlib.lib\"\r\n[08:45:38][Step 1/1] \r\n[08:45:38][Step 1/1] --- stderr\r\n[08:45:38][Step 1/1] thread 'main' panicked at 'failed to run: The system cannot find the file specified. (os error 2)', C:\\Windows\\system32\\config\\systemprofile\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\libz-sys-1.0.6\\build.rs:130\r\n[08:45:38][Step 1/1] stack backtrace:\r\n[08:45:38][Step 1/1]    0:     0x7ff7e81e290e - _<std..rand..ThreadRng as rand..Rng>::next_u64::h75a21f4cede609ad\r\n[08:45:38][Step 1/1]    1:     0x7ff7e81e0de3 - std::rt::lang_start::h53bf99b0829cc03c\r\n[08:45:38][Step 1/1]    2:     0x7ff7e81e17ed - std::panicking::rust_panic_with_hook::h4cbd7ca63ce1aee9\r\n[08:45:38][Step 1/1]    3:     0x7ff7e81e1636 - std::panicking::begin_panic_fmt::hd0daa02942245d81\r\n[08:45:38][Step 1/1]    4:     0x7ff7e81e1594 - std::panicking::begin_panic_fmt::hd0daa02942245d81\r\n[08:45:38][Step 1/1]    5:     0x7ff7e81a9014 - __ImageBase\r\n[08:45:38][Step 1/1]    6:     0x7ff7e81a3806 - __ImageBase\r\n[08:45:38][Step 1/1]    7:     0x7ff7e81e4ad1 - _rust_maybe_catch_panic\r\n[08:45:38][Step 1/1]    8:     0x7ff7e81e068a - std::rt::lang_start::h53bf99b0829cc03c\r\n[08:45:38][Step 1/1]    9:     0x7ff7e81e9fb8 - __scrt_common_main_seh\r\n[08:45:38][Step 1/1]                         at f:\\dd\\vctools\\crt\\vcstartup\\src\\startup\\exe_common.inl:253\r\n[08:45:38][Step 1/1]   10:     0x7fff33418101 - BaseThreadInitThunk\r\n[08:45:38][Step 1/1] \r\n[08:45:38][Step 1/1] Process exited with code 101\r\n"},"comment":{"url":"https://api.github.com/repos/alexcrichton/libz-sys/issues/comments/257197887","html_url":"https://github.com/alexcrichton/libz-sys/issues/11#issuecomment-257197887","issue_url":"https://api.github.com/repos/alexcrichton/libz-sys/issues/11","id":257197887,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","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":"2016-10-31T01:51:27Z","updated_at":"2016-10-31T01:51:27Z","body":"Ah ok. In that case it's probably a failure of [this logic](https://github.com/alexcrichton/gcc-rs/blob/be620ac6d3ddb498cd0c700d5312c6a4c3c19597/src/windows_registry.rs#L51) to find the `nmake.exe` executable on your system. If you run a build manually (through a user) does it make a difference? That'd at least rule out the service-or-not cause perhaps.\r\n\r\nUnfortunately though I'm not sure exactly why this would be happening..."}}
{"actor":{"display_login":"alexcrichton"}}