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

Trying to install 1.8.0 on freebsd succeeds without actually installing the toolchain #2547

Closed
jyn514 opened this issue Nov 4, 2020 · 3 comments · Fixed by #2562
Closed
Assignees
Labels

Comments

@jyn514
Copy link
Member

jyn514 commented Nov 4, 2020

Steps

  1. Beg, borrow, or steal a FreeBSD machine
  2. Install rustup.
  3. rustup install 1.8.0
info: sync channel updates ...
info: latest update on 2016-04-12, rust version 1.8.0 ...

  1.8.0-x86_64-unknown-freedbsd unchanged - (toolchain not installed)

Possible Solution(s)

Rustup should either install the toolchain or give an error that it's not available.

Notes

Output of rustup --version: 1.22.1
Output of rustup show: omitted because I can't get copy/paste to work in my VM.

@kinnison
Copy link
Contributor

kinnison commented Nov 4, 2020

So freebsd is present in the channel though the rustc and cargo components are not available for that target in there. What's odd is that ought to fail to install

@kinnison
Copy link
Contributor

I can confirm this is replicatable on Linux:

dsilvers@listless:~/dev-git/rustup$ rustup install 1.8.0-x86_64-unknown-freebsd
warning: toolchain '1.8.0-x86_64-unknown-freebsd' may not be able to run on this system.
warning: If you meant to build software to target that platform, perhaps try `rustup target add x86_64-unknown-freebsd` instead?
info: syncing channel updates for '1.8.0-x86_64-unknown-freebsd'
info: latest update on 2016-04-12, rust version 1.8.0 (db2939409 2016-04-11)

  1.8.0-x86_64-unknown-freebsd unchanged - (toolchain not installed)

info: checking for self-updates
dsilvers@listless:~/dev-git/rustup$

I'll look into it

@kinnison kinnison self-assigned this Nov 21, 2020
@kinnison
Copy link
Contributor

Actually this appears to just be a case of crappy error message. It didn't create a toolchain entry with no components, it just failed to install the toolchain and then exited zero which is somewhat confusing for scripts

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

Successfully merging a pull request may close this issue.

2 participants