{"action":"created","issue":{"url":"https://api.github.com/repos/japaric/xargo/issues/22","repository_url":"https://api.github.com/repos/japaric/xargo","labels_url":"https://api.github.com/repos/japaric/xargo/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/japaric/xargo/issues/22/comments","events_url":"https://api.github.com/repos/japaric/xargo/issues/22/events","html_url":"https://github.com/japaric/xargo/issues/22","id":159900896,"number":22,"title":"Unable to compile xargo on Windows","user":{"login":"alashworth","id":3664221,"avatar_url":"https://avatars.githubusercontent.com/u/3664221?v=3","gravatar_id":"","url":"https://api.github.com/users/alashworth","html_url":"https://github.com/alashworth","followers_url":"https://api.github.com/users/alashworth/followers","following_url":"https://api.github.com/users/alashworth/following{/other_user}","gists_url":"https://api.github.com/users/alashworth/gists{/gist_id}","starred_url":"https://api.github.com/users/alashworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alashworth/subscriptions","organizations_url":"https://api.github.com/users/alashworth/orgs","repos_url":"https://api.github.com/users/alashworth/repos","events_url":"https://api.github.com/users/alashworth/events{/privacy}","received_events_url":"https://api.github.com/users/alashworth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-06-13T08:50:58Z","updated_at":"2016-07-28T00:21:47Z","closed_at":null,"body":"D:\\MinGW>cargo install xargo\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\n   Compiling log v0.3.6\r\n   Compiling semver v0.1.20\r\n   Compiling nom v1.2.3\r\n   Compiling libc v0.2.12\r\n   Compiling filetime v0.1.10\r\n   Compiling bitflags v0.1.1\r\n   Compiling rand v0.3.14\r\n   Compiling memchr v0.1.11\r\n   Compiling rustc-serialize v0.3.19\r\n   Compiling num_cpus v0.2.12\r\n   Compiling num-traits v0.1.32\r\n   Compiling strsim v0.3.0\r\n   Compiling tar v0.4.6\r\n   Compiling aho-corasick v0.5.2\r\n   Compiling semver v0.2.3\r\n   Compiling tempdir v0.3.4\r\n   Compiling unicode-normalization v0.1.2\r\n   Compiling pkg-config v0.3.8\r\n   Compiling gcc v0.3.28\r\n   Compiling regex-syntax v0.3.3\r\n   Compiling winapi v0.2.7\r\n   Compiling miniz-sys v0.1.7\r\n   Compiling cmake v0.1.17\r\n   Compiling flate2 v0.2.14\r\n   Compiling libgit2-sys v0.4.3\r\n   Compiling libssh2-sys v0.1.37\r\n   Compiling uuid v0.1.18\r\n   Compiling matches v0.1.2\r\n   Compiling rustc_version v0.1.7\r\n   Compiling toml v0.1.30\r\n   Compiling url v0.2.38\r\n   Compiling unicode-bidi v0.2.3\r\n   Compiling idna v0.1.0\r\n   Compiling crossbeam v0.2.9\r\n   Compiling url v1.1.1\r\n   Compiling libz-sys v1.0.4\r\n   Compiling winapi-build v0.1.1\r\n   Compiling advapi32-sys v0.1.2\r\n   Compiling kernel32-sys v0.2.2\r\n   Compiling glob v0.2.11\r\nBuild failed, waiting for other jobs to finish...\r\nerror: failed to compile `xargo v0.1.3`, intermediate artifacts can be found at `C:\\Users\\ANDREW~1\\AppData\\Local\\Temp\\cargo-install.U56h6Jyln4o9`\r\n\r\nCaused by:\r\n  failed to run custom build command for `libssh2-sys v0.1.37`\r\nProcess didn't exit successfully: `C:\\Users\\ANDREW~1\\AppData\\Local\\Temp\\cargo-install.U56h6Jyln4o9\\release\\build\\libssh2-sys-468c4b5ae90680be\\build-script-build` (exit code: 101)\r\n--- stdout\r\nrunning: \"cmake\" \"C:\\\\Users\\\\Andrew Ashworth\\\\.cargo\\\\registry\\\\src\\\\github.com-1ecc6299db9ec823\\\\libssh2-sys-0.1.37\\\\libssh2\" \"-G\" \"MSYS Makefiles\" \"-DCRYPTO_BACKEND=WinCNG\" \"-DZLIB_INCLUDE_DIR=/\" \"-DBUILD_SHARED_LIBS=OFF\" \"-DENABLE_ZLIB_COMPRESSION=ON\" \"-DCMAKE_INSTALL_LIBDIR=lib\" \"-DBUILD_EXAMPLES=OFF\" \"-DBUILD_TESTING=OFF\" \"-DCMAKE_INSTALL_PREFIX=C:\\\\Users\\\\ANDREW~1\\\\AppData\\\\Local\\\\Temp\\\\cargo-install.U56h6Jyln4o9\\\\release\\\\build\\\\libssh2-sys-468c4b5ae90680be\\\\out\" \"-DCMAKE_C_FLAGS= -O0 -ffunction-sections -fdata-sections -m32\" \"-DCMAKE_CXX_FLAGS= -O0 -ffunction-sections -fdata-sections -m32\" \"-DCMAKE_BUILD_TYPE=Release\"\r\n-- The C compiler identification is GNU 6.1.0\r\n-- Check for working C compiler: D:/MinGW/bin/gcc.exe\r\n-- Check for working C compiler: D:/MinGW/bin/gcc.exe -- broken\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"C:/Users/Andrew Ashworth/AppData/Local/Temp/cargo-install.U56h6Jyln4o9/release/build/libssh2-sys-468c4b5ae90680be/out/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"C:/Users/Andrew Ashworth/AppData/Local/Temp/cargo-install.U56h6Jyln4o9/release/build/libssh2-sys-468c4b5ae90680be/out/build/CMakeFiles/CMakeError.log\".\r\n\r\n--- stderr\r\nCMake Error at D:/apps/cmake/share/cmake-3.4/Modules/CMakeTestCCompiler.cmake:61 (message):\r\n  The C compiler \"D:/MinGW/bin/gcc.exe\" is not able to compile a simple test\r\n  program.\r\n\r\n  It fails with the following output:\r\n\r\n   Change Dir: C:/Users/Andrew Ashworth/AppData/Local/Temp/cargo-install.U56h6Jyln4o9/release/build/libssh2-sys-468c4b5ae90680be/out/build/CMakeFiles/CMakeTmp\r\n\r\n\r\n\r\n  Run Build Command:\"D:/MinGW/bin/make.exe\" \"cmTC_c5f16/fast\"\r\n\r\n  D:/MinGW/bin/make.exe -f CMakeFiles/cmTC_c5f16.dir/build.make\r\n  CMakeFiles/cmTC_c5f16.dir/build\r\n\r\n  make.exe[1]: Entering directory 'C:/Users/Andrew\r\n  Ashworth/AppData/Local/Temp/cargo-install.U56h6Jyln4o9/release/build/libssh2-sys-468c4b5ae90680be/out/build/CMakeFiles/CMakeTmp'\r\n\r\n\r\n  process_begin: CreateProcess(NULL, sh.exe -c \"/D/apps/cmake/bin/cmake.exe\r\n  -E cmake_echo_color --switch= --progress-dir=/C/Users/Andrew\r\n  Ashworth/AppData/Local/Temp/cargo-install.U56h6Jyln4o9/release/build/libssh2-sys-468c4b5ae90680be/out/build/CMakeFiles/CMakeTmp/CMakeFiles\r\n  --progress-num=1 Building C object\r\n  CMakeFiles/cmTC_c5f16.dir/testCCompiler.c.obj\", ...) failed.\r\n\r\n  make (e=2): The system cannot find the file specified.\r\n\r\n  make.exe[1]: *** [CMakeFiles/cmTC_c5f16.dir/build.make:65:\r\n  CMakeFiles/cmTC_c5f16.dir/testCCompiler.c.obj] Error 2\r\n\r\n  make.exe[1]: Leaving directory 'C:/Users/Andrew\r\n  Ashworth/AppData/Local/Temp/cargo-install.U56h6Jyln4o9/release/build/libssh2-sys-468c4b5ae90680be/out/build/CMakeFiles/CMakeTmp'\r\n\r\n\r\n  make.exe: *** [Makefile:126: cmTC_c5f16/fast] Error 2\r\n\r\n\r\n\r\n\r\n\r\n  CMake will not be able to correctly generate this project.\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:40 (project)\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\\Andrew Ashworth\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\cmake-0.1.17\\src\\lib.rs:463\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/japaric/xargo/issues/comments/235761760","html_url":"https://github.com/japaric/xargo/issues/22#issuecomment-235761760","issue_url":"https://api.github.com/repos/japaric/xargo/issues/22","id":235761760,"user":{"login":"japaric","id":5018213,"avatar_url":"https://avatars.githubusercontent.com/u/5018213?v=3","gravatar_id":"","url":"https://api.github.com/users/japaric","html_url":"https://github.com/japaric","followers_url":"https://api.github.com/users/japaric/followers","following_url":"https://api.github.com/users/japaric/following{/other_user}","gists_url":"https://api.github.com/users/japaric/gists{/gist_id}","starred_url":"https://api.github.com/users/japaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japaric/subscriptions","organizations_url":"https://api.github.com/users/japaric/orgs","repos_url":"https://api.github.com/users/japaric/repos","events_url":"https://api.github.com/users/japaric/events{/privacy}","received_events_url":"https://api.github.com/users/japaric/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T00:21:47Z","updated_at":"2016-07-28T00:21:47Z","body":"FWIW, you can `cargo install xargo` on Windows if you use the `i686-pc-windows-msvc` toolchain (probably the `x86_64` variant also works). You can pick the host of your toolchain if you install it via [rustup](https://www.rustup.rs/); it now comes with a menu to configure the toolchain installation."}}
{"actor":{"display_login":"japaric"}}