-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 fails on FreeBSD for nightly due to missing docs #49462
Comments
I'm not sure if this should be fixed at |
It fails also on my raspberry pi: [christian@alarmpi ~]$ rustup update nightly
info: syncing channel updates for 'nightly-arm-unknown-linux-gnueabihf'
260.7 KiB / 260.7 KiB (100 %) 50.7 KiB/s ETA: 0 s
info: latest update on 2018-03-29, rust version 1.26.0-nightly (e5277c145 2018-03-28)
error: component 'rust-docs' for 'arm-unknown-linux-gnueabihf' is unavailable for download |
Same with armv7:
|
Same problem here on |
Same problem on |
This sucks -- builds broken on major platforms for a week and no fix in sight. If we don't know how to fix it, why not just revert #49187 until it's figured out? |
This commit updates our manifest generation for rustup to filter out any components/extensions which are actually missing. This is intended to help mitigate rust-lang#49462 by making the manifests reflect reality, that many targets now are missing a `rust-docs` component rather than requiring it exists.
I've attempted a mitigation of this at #49705 although I'm not certain it'll work |
Hi @bdrewery @prisme60 @tarka @ctrlcctrlv @shisoft, could you check if the bug has been fixed in the latest nightly version? Thanks! |
Works well on 32-bit ARM Linux. Thanks.
|
Looks good; thanks!
|
Ok for me too with raspberry Pi 1 B raspbian (armv6). |
Also working fine on FreeBSD. Thanks a lot for fixing it. 👍
|
This issue is fixed on nightly, but still broken on stable. When will the fix be ported to stable? |
@asomers It's not a matter of "porting", but rather when Rust 1.27 is released. Rust 1.26.0 just came out a few hours ago, so the next version will come exactly 6 weeks from now, June 22. I doubt the fix will be backported for an already-released stable version, as unfortunate as it is. |
Is there a workaround to install 1.26.0 on FreeBSD (or any system that lacks the docs, like arm Linux) ? |
It still installs fine, just missing the docs. Edit: Nope, it just left the 1.25.0 installation on my system. My bad. |
How are you installing it via
|
|
Rust's platform support page says that Tier 2 platforms are "required to have each of the following: Official binary releases are provided for the platform...". That, to me, suggests that a 1.26.1 release is required. |
@asomers Thanks for the correction. Though, technically the binaries (rustc, std, cargo) are available, it is just that the docs (which are not binaries) are missing and messed up |
Do you mean the binaries at the bottom of this page: https://www.rust-lang.org/en-US/other-installers.html ? I can't find any instructions on how to use those in a way that places nicely with an existing rustup installation. Is such a thing possible? |
I think the reasonable fix would be to make rustup able to take a flag or environment variable of some sort that would tell it to keep going despite missing components. This seems long-term useful and is probably not terribly difficult, though I am not familiar with internals. |
@phyber My mistake. I didn't realise it was bailing completely, and leaving the 1.25.0 stable installation on my system. |
@Mark-Simulacrum Totally agree. I expected this behaviour already to be honest. |
This commit updates our manifest generation for rustup to filter out any components/extensions which are actually missing. This is intended to help mitigate rust-lang#49462 by making the manifests reflect reality, that many targets now are missing a `rust-docs` component rather than requiring it exists.
This seems related to #49187:
This breaks
rustup update
as well with--force
.The text was updated successfully, but these errors were encountered: