Repository navigation
Download failure of nightly on ARM #1383
Description
Activity
That's actually kinda fun
$ rustup component list | grep rust-docs rust-docs-armv7-unknown-linux-gnueabihf (default) $ rustup component remove rust-docs-armv7-unknown-linux-gnueabihf error: toolchain 'nightly-armv7-unknown-linux-gnueabihf' does not contain component 'rust-docs-armv7-unknown-linux-gnueabihf' for target 'armv7-unknown-linux-gnueabihf'I'm trying
rustup updateon a RPi 3B:$ rustup --version rustup 1.11.0 (e751ff9f8 2018-02-13) $ uname -a Linux localhost 4.14.31-v7+ #1104 SMP Thu Mar 29 16:52:18 BST 2018 armv7l GNU/Linux $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"@endrin Can you try just
rustup component remove rust-docsand alsorustup install nightly? The former is becauserustup component removeaccepts only unqualified component names, I guess.Sorry, but no, the outcome is (almost) the same.
$ rustup component remove rust-docs error: component 'rust-docs' for target 'armv7-unknown-linux-gnueabihf' is required for toolchain 'nightly-armv7-unknown-linux-gnueabihf' and cannot be removedThe same thing happens for
aarch64-unknown-linux-gnu. The last working version appears to benightly-2018-03-26.What changed on
nightly-2018-03-27?I think I'm running into a similar problem.
$ rustup override set nightly info: syncing channel updates for 'nightly-aarch64-unknown-linux-gnu' info: latest update on 2018-04-02, rust version 1.26.0-nightly (06fa27d7c 2018-04-01) error: component 'rust-docs' for 'aarch64-unknown-linux-gnu' is unavailable for download
This is related to the rustup/rust issue although the documentation components have seemed to be eliminated intentionally (rustup/rust PR #49187).
Yes, and as it has been an intended change on rust nightly builds, it now becomes a rustup issue as they need to change rust-docs to not being a required component.
Hi, everyone. As nightly builds seem to be fixed and work well now, please check it on your platforms. If no further bugs are reported here, this issue will be ready to close.
$ rustup update info: syncing channel updates for 'nightly-armv7-unknown-linux-gnueabihf' info: latest update on 2018-04-08, rust version 1.27.0-nightly (056f589fb 2018-04-07) error: component 'rust-docs' for 'armv7-unknown-linux-gnueabihf' is unavailable for download info: checking for self-updates nightly-armv7-unknown-linux-gnueabihf update failed - rustc 1.26.0-nightly (482a913fb 2018-03-25) $ rustup component remove rust-docs error: component 'rust-docs' for target 'armv7-unknown-linux-gnueabihf' is required for toolchain 'nightly-armv7-unknown-linux-gnueabihf' and cannot be removedNo luck
rustup install nightly-2018-04-06works thoughrelibc builds are working again! Thanks!
@endrin I think your problem is not relevant to this issue. Firstly, because your default toolchain points at an old broken one, you should run something like
rustup default nightlyrather thanrustup update. Secondly, you cannotrustup component remove rust-docsanyway as it was required in previous versions.Ok, I managed to get updates working by removing the default toolchain and installing it back with
rustup-init. Thenrustup updatestarted working.info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf' info: latest update on 2018-05-10, rust version 1.26.0 (a77568041 2018-05-07) error: component 'rust-docs' for 'armv7-unknown-linux-gnueabihf' is unavailable for downloadRasbperry Pi error
Reacted by David Simmons$ rustup update info: syncing channel updates for 'stable-aarch64-unknown-linux-gnu' info: latest update on 2018-05-10, rust version 1.26.0 (a77568041 2018-05-07) error: component 'rust-docs' for 'aarch64-unknown-linux-gnu' is unavailable for download info: syncing channel updates for 'nightly-aarch64-unknown-linux-gnu' info: latest update on 2018-05-14, rust version 1.27.0-nightly (9fae15374 2018-05-13) error: component 'rust-docs' for 'aarch64-unknown-linux-gnu' is unavailable for download info: checking for self-updatesodroid-c2 ubuntu
Nightly toolchain download fails on ARM while that may not be a problem of rustup itself but Rust's.
Meta
rustup
OS
In crouton environment on Chrome OS,