Skip to content

Documentation neither installed nor installable on tier 2+ platforms #69525

Closed
@SolraBizna

Description

@SolraBizna

Problem

I'm working in Rust on a Pinebook Pro running ARM64 Debian GNU/Linux. I've been Rusty for a few years now, and one of my favorite features is the extensive offline documentation. However, on this computer: rustup doc gives an error message instead of documentation; the documentation doesn't appear to be present; and attempts to explicitly install the documentation have all failed.

Steps

  1. Install Rust the usual way on ARM64 Linux (pipe https://sh.rustup.rs into a shell)
  2. Try rustup doc (it fails)
  3. Try rustup component add rust-docs (it fails)
  4. Try rustup component add --toolchain stable-aarch64-unknown-linux-gnu rust-docs (it fails)

I installed Rust about a month ago and noticed the lack of documentation then, it's only now that it's become a major problem for me. I attempted steps 2-4 just now after rustup update, rather than after a completely fresh install.

Notes

Output of rustup --version: rustup 1.21.1 (7832b2ebe 2019-12-20)

Output of rustup show:

Default host: aarch64-unknown-linux-gnu
rustup home:  /home/sbizna/.rustup

installed toolchains
--------------------

stable-aarch64-unknown-linux-gnu
nightly-aarch64-unknown-linux-gnu

active toolchain
----------------

stable-aarch64-unknown-linux-gnu (default)
rustc 1.41.1 (f3e1a954d 2020-02-24)

Output of rustup doc (even though rust-lang/rustup#2116 should be in effect?):

error: couldn't open browser
error: caused by: command 'xdg-open (internal)' did not execute successfully; ex
it code: 4
command stderr:
gio: file:///home/sbizna/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/sha
re/doc/rust/html/index.html: Error when getting information for file “/home/sbiz
na/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/share/doc/rust/html/index
.html”: No such file or directory

Output of rustup component add --toolchain stable-aarch64-unknown-linux-gnu rust-docs:

error: toolchain 'stable-aarch64-unknown-linux-gnu' does not contain component '
rust-docs' for target 'aarch64-unknown-linux-gnu'

Metadata

Metadata

Assignees

Labels

C-enhancementCategory: An issue proposing an enhancement or a PR with one.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateT-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions