Closed
Description
Problem
I cannot find a working way to use rust's beta
or nightly
releases on an IBM mainframe running Ubuntu:
root@zla19054:~/.cargo/bin# ./rustup default nightly
info: syncing channel updates for 'nightly-s390x-unknown-linux-gnu'
info: latest update on 2019-08-21, rust version 1.39.0-nightly (bea0372a1 2019-08-20)
info: downloading component 'rustc'
54.3 MiB / 54.3 MiB (100 %) 13.0 MiB/s in 4s ETA: 0s
info: downloading component 'rust-std'
221.3 MiB / 221.3 MiB (100 %) 16.9 MiB/s in 14s ETA: 0s
info: downloading component 'cargo'
4.5 MiB / 4.5 MiB (100 %) 1.8 MiB/s in 1s ETA: 0s
info: installing component 'rustc'
info: rolling back changes
error: failed to extract package (perhaps you ran out of disk space?)
info: caused by: lzma data error
Steps
- Connect to the IBM mainframe of your choice running Ubuntu (reach out to me if you need something here ;) )
- Run
rustup default nightly
(if the link is not being created for you like in my case, directly run the binary:~/.cargo/bin# ./rustup default nightly
)
2.5 same with with thebeta
- Receive error
Of course there is enough space available.
Possible Solution(s)
Is there a way to obtain these packages for s390x
architecture somewhere directly and unpack the files / get them unpacked already, somewhere, and install them manually?
Notes
Output of rustup --version
: rustup 1.18.3 (435397f48 2019-05-22)
Output of rustup show
:
./rustup show
Default host: s390x-unknown-linux-gnu
stable-s390x-unknown-linux-gnu (default)
rustc 1.37.0 (eae3437df 2019-08-13)