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

Stable channel not available for FreeBSD? #381

Closed
mwm opened this issue Apr 29, 2016 · 5 comments
Closed

Stable channel not available for FreeBSD? #381

mwm opened this issue Apr 29, 2016 · 5 comments

Comments

@mwm
Copy link

mwm commented Apr 29, 2016

Well, rustup is installed and apparently working, but can't update the stable channel. Trying rustup update stable results in:

info: syncing channel updates for 'stable-x86_64-unknown-freebsd'
error: some components unavailable for download: 'rustc', 'rust-std', 'rust-docs', 'cargo'

rustup update nightly worked, so I believe my rustup install is working properly.

The rust stable build (1.8.0) is available in the system packages. I can't seem to find a way to use those binaries from rustup, meaning I can't use it t install the bits for cross-compilation, which is my end goal.

@japaric
Copy link
Member

japaric commented May 1, 2016

Stable channel not available for FreeBSD?

It's not available due to infrastructure changes not making it in time for 1.8.0. But the freebsd stable channel will by available by 1.9.0.

The rust stable build (1.8.0) is available in the system packages. I can't seem to find a way to use those binaries from rustup

Yeah, I think is not possible to override the stable channel with a custom toolchain. Even if that worked, you probably would hit rust-lang/rust#33286 afterwards :-/.

meaning I can't use it t install the bits for cross-compilation, which is my end goal.

I would suggest using the beta or nightly channel until the next release.

@mwm
Copy link
Author

mwm commented May 5, 2016

Yes, I did indeed hit that issue. I worked around that by building the package with a git extract of 1.8.0 instead of the tarball extract. Worked fine, but I still can't use rustup because it can't deal with toolchains it didn't install.

I'm trying to convince people running embedded software controlling hundreds or thousands of dollars worth of their hardware that a control failure could turn into a bag of refuse to start converting parts of it to Rust. It's also possible for such failures to cause serious bodily harm. The negative implications of "beta" or "nightly" software are going to make that very difficult, if not impossible, no matter what the reality is. It makes the frequency that I run into "just use the beta/nightly" as an answer to my issues with Rust frustrating, and may well kill the project.

@kbknapp
Copy link
Contributor

kbknapp commented May 5, 2016

Getting multirust/rustup with stable on FreeBSD has been something I've been waiting for a while now. In general, without rustup, stable was already working on FreeBSD, no? If that's the case, could the stable release channel not just move back to the latest working stable? I know this isn't optimal, but if the stable channel simply resulted in 1.7 instead of 1.8 in this one particular case I'd still be happy.

Edit: Because I also agree heavily with @mwm that the answer of "Just use beta/nightly" shouldn't be an answer and makes getting approvals hard when trying to convince the boss why this switch is a good one.

@brson
Copy link
Contributor

brson commented May 6, 2016

@kbknapp The next release is at least not too far off, on the 26th.

@Diggsey
Copy link
Contributor

Diggsey commented May 4, 2017

Issues like this should probably be reported upstream in rust-lang/rust, because rustup doesn't build the manifests.

@Diggsey Diggsey closed this as completed May 4, 2017
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

5 participants