Re: Problem compiling rust

From: Greg V <greg_at_unrelenting.technology>
Date: Sat, 06 Oct 2018 15:40:19 +0300
On Sat, Oct 6, 2018 at 3:26 PM, Filippo Moretti <filippomore_at_yahoo.com> 
wrote:
>   extracting 
> cargo-0.29.0-x86_64-unknown-freebsd/cargo/share/doc/cargo/README.md  
> extracting cargo-0.29.0-x86_64-unknown-freebsd/cargo/manifest.in  
> extracting 
> cargo-0.29.0-x86_64-unknown-freebsd/cargo/etc/bash_completion.d/cargo 
>  extracting cargo-0.29.0-x86_64-unknown-freebsd/cargo/bin/cargo  
> extracting 
> cargo-0.29.0-x86_64-unknown-freebsd/cargo/share/zsh/site-functions/_cargorunning: 
> /usr/ports/lang/rust/work/rustc-1.29.1-src/build/x86_64-unknown-freebsd/stage0/bin/cargo 
> build --manifest-path 
> /usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/Cargo.toml 
> --frozenTraceback (most recent call last):  File 
> "/usr/ports/lang/rust/work/rustc-1.29.1-src/x.py", line 20, in 
> <module>    bootstrap.main()  File 
> "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", 
> line 843, in main    bootstrap(help_triggered)  File 
> "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", 
> line 819, in bootstrap    build.build_bootstrap()  File 
> "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", 
> line 646, in build_bootstrap    run(args, env=env, 
> verbose=self.verbose)  File 
> "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", 
> line 148, in run    raise RuntimeError(err)RuntimeError: failed to 
> run: 
> /usr/ports/lang/rust/work/rustc-1.29.1-src/build/x86_64-unknown-freebsd/stage0/bin/cargo 
> build --manifest-path 
> /usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/Cargo.toml 
> --frozen*** Error code 1
> Stop.make[1]: stopped in /usr/ports/lang/rust*** Error code 1
> Stop.make: stopped in /usr/ports/lang/rust[root_at_sting 
> /usr/ports/lang/rust]# I always had this problem trying to compiling 
> rust (amd64 alpha3),as I only need it to compile firefox I wonder if 
> it is possible to disable its building.Thanks Filippo

You don't need to compile Rust from source to compile Firefox.
You can just 'pkg install rust' to get Rust from a binary package.

BTW, this error message doesn't say much, but if cargo fails, you might 
be out of memory.
Received on Sat Oct 06 2018 - 10:40:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC