Skip to content

still get file too big error with rustup 2020-07-08 on mips64el-unknown-linux-gnuabi64 #2563

@zwg-zero

Description

@zwg-zero

Problem
install with command: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh, get the error: File too big ...

Steps

  1. on Loongson 3A4000, arch: Linux localhost.localdomain 5.4.38-1.fc28.lemote.mips64el
  2. run command: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  3. get logs like below:
[laofa@localhost ~]$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer

Welcome to Rust!

This will download and install the official compiler for the Rust
programming language, and its package manager, Cargo.

Rustup metadata and toolchains will be installed into the Rustup
home directory, located at:

  /home/laofa/.rustup

This can be modified with the RUSTUP_HOME environment variable.

The Cargo home directory located at:

  /home/laofa/.cargo

This can be modified with the CARGO_HOME environment variable.

The cargo, rustc, rustup and other commands will be added to
Cargo's bin directory, located at:

  /home/laofa/.cargo/bin

This path will then be added to your PATH environment variable by
modifying the profile files located at:

  /home/laofa/.profile
  /home/laofa/.bash_profile

You can uninstall at any time with rustup self uninstall and
these changes will be reverted.

Current installation options:


   default host triple: mips64el-unknown-linux-gnuabi64
     default toolchain: stable (default)
               profile: default
  modify PATH variable: yes

1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>1

info: profile set to 'default'
info: default host triple is mips64el-unknown-linux-gnuabi64
info: syncing channel updates for 'stable-mips64el-unknown-linux-gnuabi64'
619.5 KiB / 619.5 KiB (100 %) 223.1 KiB/s in  3s ETA:  0s
info: latest update on 2020-11-19, rust version 1.48.0 (7eac88abb 2020-11-16)
info: downloading component 'cargo'
  4.8 MiB /   4.8 MiB (100 %) 197.3 KiB/s in 31s ETA:  0s
info: downloading component 'clippy'
  2.3 MiB /   2.3 MiB (100 %) 303.2 KiB/s in  8s ETA:  0s
info: downloading component 'rust-std'
 18.7 MiB /  18.7 MiB (100 %) 248.0 KiB/s in  1m 13s ETA:  0s
info: downloading component 'rustc'
 46.3 MiB /  46.3 MiB (100 %)   1.0 MiB/s in  2m 24s ETA:  0s    
info: downloading component 'rustfmt'
  3.5 MiB /   3.5 MiB (100 %)   1.4 MiB/s in  2s ETA:  0s
info: installing component 'cargo'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'clippy'
info: installing component 'rust-std'
 18.7 MiB /  18.7 MiB (100 %)   6.2 MiB/s in  3s ETA:  0s
info: installing component 'rustc'
  9.3 MiB /  46.3 MiB ( 20 %)   6.8 MiB/s in  1s ETA:  5s
info: rolling back changes
error: File too big rustc-1.48.0-mips64el-unknown-linux-gnuabi64/rustc/lib/librustc_driver-f753f9a5c70d18f7.so 220611384
[laofa@localhost ~]$ rustup --version
rustup 1.22.1 (b01adbbc3 2020-07-08)

Possible Solution(s)

Notes

Output of rustup --version: rustup 1.22.1 (b01adbb 2020-07-08)
Output of rustup show:

Default host: mips64el-unknown-linux-gnuabi64
rustup home:  /home/laofa/.rustup
no active toolchain

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfixed-next-releaseThis issue will be fixed in the next release of rustup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions