-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo build --release hangs on Mac #109
Comments
Can you provide the following information:
Also delete the I'm looking into what may be the issue. Could be related to: rust-lang/cargo#2845 , rust-lang/cargo#2090 , rust-lang/cargo#2975 , rust-lang/cargo#2078 And check your global git config for SSH preference.
I appreciate the details! |
Also any info you can give me on your Mac's architecture will be super helpful. |
rustc 1.16.0 cargo-0.17.0-dev (f9e5481 2017-03-03) |
The According to @jasonivers' debugging info this is related to libc. Have you looked into libc verifying you have libc on your Mac? |
So... this appears to have been caused by homebrew on my Mac NOT updating rust itself properly. After a whole lot of debugging stuff and looking errors up on Google, I found that the error came from rust version 1.15, while everything seemed to indicate I was on 1.16. Finally just uninstalled the whole thing, wiped all rust directories, etc, then reinstalled, and everything worked fine and completed in about 2 seconds, rather than hanging for hours. Can't believe how much of a pain that was... I'll make sure that all of my servers do a clean install of rust 1.16, as well. |
I went to the gem directory and attempted to run
cargo build --release --verbose
It hung at this:
Updating registry
https://github.com/rust-lang/crates.io-index``So I ran
RUST_LOG=cargo::core::resolve,cargo::core::registry cargo build --release --verbose
and it hung after outputting
I don't seem to be able to get this gem to build.
The text was updated successfully, but these errors were encountered: