Skip to content

x86-64 fails to download binary: curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) #4

@awatkins1966

Description

@awatkins1966

Hi,

Trying to download the rust version using your commands, but it fails.

$ uname -a
SunOS solaris 5.11 11.4.81.193.1 i86pc i386 i86pc virtualbox
$source <(curl -s https://raw.githubusercontent.com/psumbera/solaris-rust/refs/heads/main/sh.rust-web-install)
Downloading Rust 1.88.0 for Solaris from github. It can take some time...
curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
xz: (stdin): Unexpected end of input
gtar: Unexpected EOF in archive
gtar: Unexpected EOF in archive
gtar: Error is not recoverable: exiting now
Rust 1.88.0 was installed into /root/.rust_solaris.
PATH was modified to: PATH=/root/.rust_solaris/rustc-1.88.0/bin:$PATH

$  ls ~/.rust_solaris/rustc-1.88.0/bin
cargo         cargo-clippy  rustfmt

But if I go to a SPARC system it all works fine..

$ uname -a
SunOS chaos 5.11 11.4.82.195.2 sun4v sparc sun4v non-virtualized
source <(curl -s https://raw.githubusercontent.com/psumbera/solaris-rust/refs/heads/main/sh.rust-web-install)
Downloading Rust 1.88.0 for Solaris from github. It can take some time...
Rust 1.88.0 was installed into /export/home/rootuser/.rust_solaris.
PATH was modified to: PATH=/export/home/rootuser/.rust_solaris/rustc-1.88.0/bin:$PATH
$ ls .rust_solaris/
bin           rustc-1.88.0
$ ls .rust_solaris/bin
cargo          cargo-fmt      rust-analyzer  rust-gdbgui    rustc          rustfmt
cargo-clippy   clippy-driver  rust-gdb       rust-lldb      rustdoc

I have tried on a few i86pc systems (Solaris SRU versions) with the same result.

Any suggestion how to obtain the X86-64 version of rustc/cargo?

Thanks.
Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions