1 |
Philip Webb wrote: |
2 |
> I finally needed to upgrade to FF 60.2.2 . |
3 |
> This has several large requirements, incl Rust 1.29.1 . |
4 |
> |
5 |
> The 1st time I tried, Rust failed after 35 min with these final lines : |
6 |
> |
7 |
> Compiling rustc-rayon v0.1.1 |
8 |
> Compiling rustc_data_structures v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/librustc_data_structures) |
9 |
> Compiling arena v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/libarena) |
10 |
> Compiling syntax_pos v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/libsyntax_pos) |
11 |
> Compiling rustc_errors v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/librustc_errors) |
12 |
> Compiling proc_macro v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/libproc_macro) |
13 |
> Compiling syntax_ext v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/libsyntax_ext) |
14 |
> error: linking with `x86_64-pc-linux-gnu-gcc` failed: exit code: 1 |
15 |
> | |
16 |
> = note: "x86_64-pc-linux-gnu-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/build/x86_64-unknown-linux-gnu/stage1/lib64/rust\ ... |
17 |
> |
18 |
> This looked like a missing library or similar, |
19 |
> so I recompiled with extra flags USE="cargo clang rust gold" : |
20 |
> "cargo clang rust" refer to other pkgs which FF requires |
21 |
> & "gold" was then demanded by Portage when I tested with '-pv'. |
22 |
> |
23 |
> The 2nd time I tried with these USE flags, I got : |
24 |
> |
25 |
> Compiling rustc_data_structures v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/librustc_data_structures) |
26 |
> Compiling arena v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/libarena) |
27 |
> Compiling syntax_pos v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/libsyntax_pos) |
28 |
> Compiling rustc_errors v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/librustc_errors) |
29 |
> Compiling proc_macro v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/libproc_macro) |
30 |
> Compiling syntax_ext v0.0.0 (file:///var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/src/libsyntax_ext) |
31 |
> LLVM ERROR: IO failure on output stream: No space left on device |
32 |
> error: Could not compile `rustc`. |
33 |
> |
34 |
> Caused by: |
35 |
> process didn't exit successfully: `/var/tmp/portage/portage/dev-lang/rust-1.29.1/work/rustc-1.29.1-src/build/bootstrap/debug/rustc --crate-name rustc librustc/lib.rs --error-format json --crate-type dyl\ ... |
36 |
> |
37 |
> Earlier, I found I had to add 'llvm' to /etc/portage/package.env : |
38 |
> apparently it overflowed my usual /var/tmp/portage 'tmpfs'. |
39 |
> I will try again after adding 'rust' there too, |
40 |
> but meanwhile does anyone have any similar experience or other advice ? |
41 |
> |
42 |
|
43 |
|
44 |
Just curious, did you notice this little part? |
45 |
|
46 |
"LLVM ERROR: IO failure on output stream: No space left on device" |
47 |
|
48 |
|
49 |
You may want to make sure you are not out of disk space wherever your tmp directory is or out of ram if you use tmpfs. |
50 |
|
51 |
Hope that helps. |
52 |
|
53 |
Dale |
54 |
|
55 |
:-) :-) |