Skip to content
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

Download failure of nightly on ARM #1383

Closed
raviqqe opened this issue Mar 27, 2018 · 15 comments
Closed

Download failure of nightly on ARM #1383

raviqqe opened this issue Mar 27, 2018 · 15 comments

Comments

@raviqqe
Copy link

raviqqe commented Mar 27, 2018

Nightly toolchain download fails on ARM while that may not be a problem of rustup itself but Rust's.

> rustup install nightly-2018-03-26
info: syncing channel updates for 'nightly-2018-03-26-armv7-unknown-linux-gnueabihf'
info: latest update on 2018-03-26, rust version 1.26.0-nightly (482a913fb 2018-03-25)
info: downloading component 'rustc'
 49.7 MiB /  49.7 MiB (100 %)  11.8 MiB/s ETA:   0 s
info: downloading component 'rust-std'
 48.5 MiB /  48.5 MiB (100 %)  12.4 MiB/s ETA:   0 s
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: installing component 'rust-docs'

  nightly-2018-03-26-armv7-unknown-linux-gnueabihf installed - rustc 1.26.0-nightly (482a913fb 2018-03-25)
> rustup install nightly-2018-03-27
info: syncing channel updates for 'nightly-2018-03-27-armv7-unknown-linux-gnueabihf'
info: latest update on 2018-03-27, rust version 1.26.0-nightly (188e693b3 2018-03-26)
error: component 'rust-docs' for 'armv7-unknown-linux-gnueabihf' is unavailable for download
> rustup install nightly
info: syncing channel updates for 'nightly-armv7-unknown-linux-gnueabihf'
info: latest update on 2018-04-01, rust version 1.26.0-nightly (517f24025 2018-03-31)
error: component 'rust-docs' for 'armv7-unknown-linux-gnueabihf' is unavailable for download

Meta

rustup

> rustup --version
rustup 1.11.0 (e751ff9f8 2018-02-13)

OS

In crouton environment on Chrome OS,

> cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.4 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.4 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
> uname -a
Linux localhost 3.14.0 #1 SMP PREEMPT Wed Mar 14 21:13:13 PDT 2018 armv7l GNU/Linux
@endrin
Copy link

endrin commented Mar 30, 2018

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 update on 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"

@raviqqe
Copy link
Author

raviqqe commented Mar 30, 2018

@endrin Can you try just rustup component remove rust-docs and also rustup install nightly? The former is because rustup component remove accepts only unqualified component names, I guess.

@endrin
Copy link

endrin commented Mar 30, 2018

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 removed

@dlrobertson
Copy link

The same thing happens for aarch64-unknown-linux-gnu. The last working version appears to be nightly-2018-03-26.

@fmckeogh
Copy link
Member

fmckeogh commented Apr 1, 2018

What changed on nightly-2018-03-27?

@dbluhm
Copy link

dbluhm commented Apr 3, 2018

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

@raviqqe
Copy link
Author

raviqqe commented Apr 3, 2018

This is related to the rustup/rust issue although the documentation components have seemed to be eliminated intentionally (rustup/rust PR #49187).

@endrin
Copy link

endrin commented Apr 4, 2018

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.

@raviqqe
Copy link
Author

raviqqe commented Apr 7, 2018

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.

@endrin
Copy link

endrin commented Apr 8, 2018

$ 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 removed

No luck

rustup install nightly-2018-04-06 works though

@dlrobertson
Copy link

relibc builds are working again! Thanks!

@raviqqe
Copy link
Author

raviqqe commented Apr 8, 2018

@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 nightly rather than rustup update. Secondly, you cannot rustup component remove rust-docs anyway as it was required in previous versions.

@endrin
Copy link

endrin commented Apr 9, 2018

Ok, I managed to get updates working by removing the default toolchain and installing it back with rustup-init. Then rustup update started working.

@niofis
Copy link

niofis commented May 11, 2018

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 download

Rasbperry Pi error

@andelf
Copy link

andelf commented May 14, 2018

$ 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-updates

odroid-c2 ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants