-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
RuntimeError: src/stage0.json doesn't contain a checksum for dist/2022-01-28/rustc-beta-sparcv9-sun-solaris.tar.xz #94217
Comments
sparcv9-sun-solaris is not a tier 2 with host tools platform, so rustc is not available in precompiled form for that target. You'll have to cross-compile from a different machine, most likely. |
I build every released veresion using previous one. Is there way to build latest github version using latest released version 1.58.1? Is cross-compiling explained somewhere? |
To be clear, I don't believe sparv9-sun-solaris has ever been a tier 2 with host tools target. Did x.py work for you before? It might be that we're detecting a different build triple for some reason. The problem you're running into is precisely that no 'previous' version exists for this target triple. I'm not sure there's a very detailed explanation, but https://rustc-dev-guide.rust-lang.org/building/new-target.html#cross-compiling has some very basic docs. |
It probably newer worked for me. I was mainly confused that it did download some existing archive and it failed later with python stack trace. I would hope at least for some error message (not supported platform?!). |
Yeah, we can probably improve the checksum error message to something like "pre-built artifacts not available for this target at this time, see [platform support] page" -- happy to take a PR doing so. |
Mentoring instructions: change rust/src/bootstrap/bootstrap.py Line 73 in 05d2221
@rustbot label: +A-docs +E-easy |
@rustbot claim |
Trying to build latest sources on SPARC Solaris and
./x.py
fails with:The text was updated successfully, but these errors were encountered: