-
Notifications
You must be signed in to change notification settings - Fork 892
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
'rustup update' does not terminate while checking self-updates #766
Comments
It seems that the pre-built versions of rustc 1.10.0 and older have a problem in the recent Sierra, and that's blocking the final output ( The easy fix is to remove offending versions ( |
Removing all versions of rustc 1.10.0 and older indeed fixed the problem. (On my machine they were 1.7.0 and 1.8.0.) |
Some rustc versions (1.3.0 through 1.10.0 if my analysis is correct) are no longer working in recent macOS Sierra, in that they do not produce a correct output nor do not properly terminate in a timely manner (e.g. loops indefinitely). Having them in the current toolchain makes `rustup update` or (sometimes) `rustup show` unresponsive, so a timeout of one second has been added to correctly show that they are no longer working. Fixes rust-lang#766.
Enforce timeouts for reading rustc version. Some rustc versions (1.3.0 through 1.10.0 if my analysis is correct) are no longer working in recent macOS Sierra, in that they do not produce a correct output nor do not properly terminate in a timely manner (e.g. loops indefinitely). Having them in the current toolchain makes `rustup update` or (sometimes) `rustup show` unresponsive, so a timeout of one second has been added to correctly show that they are no longer working. Fixes #766.
Some rustc versions (1.3.0 through 1.10.0 if my analysis is correct) are no longer working in recent macOS Sierra, in that they do not produce a correct output nor do not properly terminate in a timely manner (e.g. loops indefinitely). Having them in the current toolchain makes `rustup update` or (sometimes) `rustup show` unresponsive, so a timeout of one second has been added to correctly show that they are no longer working. Fixes rust-lang#766.
This seems to be still happening, if 1.10.0 is installed. OS: MacOS Sierra 10.12.3
One can repro by "rustup toolchain install 1.10.0" then "rustup update" |
@shivawu The most recent release of rustup does not yet include this commit. You will need to wait until the next release (and also |
@shivawu Now the fix is a part of the 1.3.0 release. |
Thanks for getting back at me, confirmed it's fixed! |
It seems that
rustup update
gets stuck into an infinite loop while it is checking for self-updates.Output:
Version of
rustup
:This phenomenon was observed on Mac OS (Sierra).
The text was updated successfully, but these errors were encountered: