Skip to content

Download failure of nightly on ARM #1383

Description

@raviqqe

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

Activity

  1. endrin commented on Mar 30, 2018

    @endrin

    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"
    
  2. raviqqe commented on Mar 30, 2018

    @raviqqe
    Author

    @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.

  3. endrin commented on Mar 30, 2018

    @endrin

    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
    
  4. dlrobertson commented on Mar 31, 2018

    @dlrobertson

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

  5. fmckeogh commented on Apr 1, 2018

    @fmckeogh

    What changed on nightly-2018-03-27?

  6. dbluhm commented on Apr 3, 2018

    @dbluhm

    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
  7. raviqqe commented on Apr 3, 2018

    @raviqqe
    Author

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

  8. endrin commented on Apr 4, 2018

    @endrin

    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.

  9. raviqqe commented on Apr 7, 2018

    @raviqqe
    Author

    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.

  10. endrin commented on Apr 8, 2018

    @endrin
    $ 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

  11. dlrobertson commented on Apr 8, 2018

    @dlrobertson

    relibc builds are working again! Thanks!

  12. raviqqe commented on Apr 8, 2018

    @raviqqe
    Author

    @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.

  13. endrin commented on Apr 9, 2018

    @endrin

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

  14. niofis commented on May 11, 2018

    @niofis
    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

  15. andelf commented on May 14, 2018

    @andelf
    $ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions