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

Build fails on s390x - Appears unable to download stage0 #37847

Closed
ghost opened this issue Nov 18, 2016 · 3 comments
Closed

Build fails on s390x - Appears unable to download stage0 #37847

ghost opened this issue Nov 18, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 18, 2016

I'm building rust on the s390x platform, and it's failing where it should be getting it's stage0 compiler. I'm not a python programmer, but it gives me this:

Traceback (most recent call last):
File "/data/rust/src/etc/get-stage0.py", line 46, in
main(sys.argv[1])
File "/data/rust/src/etc/get-stage0.py", line 34, in main
bootstrap.get(url, dst)
File "/data/rust/src/bootstrap/bootstrap.py", line 42, in get
if not verify(temp_path, sha_path, True):
File "/data/rust/src/bootstrap/bootstrap.py", line 74, in verify
expected, _ = f.readline().split()
ValueError: too many values to unpack
make: *** [s390x-unknown-linux-gnu/stage0/bin/rustc] Error 1

If I go to the stage0 URL, it gives me a 404. The stage0 URL is:

https://static.rust-lang.org/dist/2016-09-28/rustc-beta-s390x-unknown-linux-gnu.tar.gz

Where can I get a different stage0 snapshot?

Thanks!

@ghost
Copy link
Author

ghost commented Nov 18, 2016

Solved. Sorta. I had to manually change the date to today in rust/src/etc/get-stage0.py and it downloaded rustc. Not the expected behavior, but it works

@alexcrichton
Copy link
Member

Thanks for the report! I believe the first release which will have an s390x compiler is 1.14, which is currently in beta. Once #37800 lands to update master (1.15) to bootstrap from beta (1.14) then this error should be resolved.

@ghost
Copy link
Author

ghost commented Nov 18, 2016

Excellent! :D I'll be looking forward to the next release. I'm excited to do rust work on system/z. I'll close this issue since the devs are aware of it.

@ghost ghost closed this as completed Nov 18, 2016
This issue was closed.
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

1 participant