Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase)
Date: Sat, 16 Jan 2021 20:59:32
Message-Id: 5ffe0505-fe9a-5f53-759f-f35f9f8ee6d1@sys-concept.com
1 Reinstalling Gentoo on one box (I wiped the root partition, so it is a clean install) and I'm getting this error
2
3 * ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase):
4 * (no error message)
5 *
6 * Call stack:
7 * ebuild.sh, line 125: Called src_compile
8 * environment, line 3644: Called die
9 * The specific snippet of code:
10 * env $(cat "${S}"/config.env) RUST_BACKTRACE=1 "${EPYTHON}" ./x.py dist -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die )
11 *
12 * If you need support, post the output of `emerge --info '=dev-lang/rust-1.47.0-r2::gentoo'`,
13 * the complete build log and the output of `emerge -pqv '=dev-lang/rust-1.47.0-r2::gentoo'`.
14 * The complete build log is located at '/var/tmp/portage/dev-lang/rust-1.47.0-r2/temp/build.log'.
15 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/rust-1.47.0-r2/temp/environment'.
16 * Working directory: '/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src'
17 * S: '/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src'
18
19 tail /var/tmp/portage/dev-lang/rust-1.47.0-r2/temp/build.log
20
21 expected success, got: exit code: 101
22 < ToolBuild { compiler: Compiler { stage: 1, host: TargetSelection { triple: "x86_64-unknown-linux-gnu", file: None } }, target: TargetSelection { triple: "x86_64-unknown-linux-gnu", file: None }, tool: "rls", path: "src/tools/rls", mode: ToolRustc, is_optional_tool: true, source_type: Submodule, extra_features: ["clippy"] }
23 < Rls { compiler: Compiler { stage: 1, host: TargetSelection { triple: "x86_64-unknown-linux-gnu", file: None } }, target: TargetSelection { triple: "x86_64-unknown-linux-gnu", file: None }, extra_features: [] }
24 thread 'main' panicked at 'Unable to build RLS', src/bootstrap/dist.rs:66:9
25 stack backtrace:
26 0: backtrace::backtrace::libunwind::trace
27 at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
28 1: backtrace::backtrace::trace_unsynchronized
29 at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
30 2: std::sys_common::backtrace::_print_fmt
31 at src/libstd/sys_common/backtrace.rs:78
32 3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
33 at src/libstd/sys_common/backtrace.rs:59
34 4: core::fmt::write
35 at src/libcore/fmt/mod.rs:1076
36 5: std::io::Write::write_fmt
37 at src/libstd/io/mod.rs:1537
38 6: std::sys_common::backtrace::_print
39 at src/libstd/sys_common/backtrace.rs:62
40 7: std::sys_common::backtrace::print
41 at src/libstd/sys_common/backtrace.rs:49
42 8: std::panicking::default_hook::{{closure}}
43 at src/libstd/panicking.rs:198
44 9: std::panicking::default_hook
45 at src/libstd/panicking.rs:217
46 10: std::panicking::rust_panic_with_hook
47 at src/libstd/panicking.rs:526
48 11: rust_begin_unwind
49 at src/libstd/panicking.rs:437
50 12: std::panicking::begin_panic_fmt
51 at src/libstd/panicking.rs:391
52 13: bootstrap::dist::missing_tool
53 at src/bootstrap/dist.rs:66
54 14: <bootstrap::dist::Rls as bootstrap::builder::Step>::run::{{closure}}
55 at src/bootstrap/dist.rs:1308
56 15: core::option::Option<T>::or_else
57 at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libcore/option.rs:763
58 16: <bootstrap::dist::Rls as bootstrap::builder::Step>::run
59 at src/bootstrap/dist.rs:1305
60 17: bootstrap::builder::Builder::ensure
61 at src/bootstrap/builder.rs:1414
62 18: <bootstrap::dist::Extended as bootstrap::builder::Step>::run
63 at src/bootstrap/dist.rs:1763
64 19: bootstrap::builder::Builder::ensure
65 at src/bootstrap/builder.rs:1414
66 20: <bootstrap::dist::Extended as bootstrap::builder::Step>::make_run
67 at src/bootstrap/dist.rs:1745
68 21: bootstrap::builder::StepDescription::maybe_run
69 at src/bootstrap/builder.rs:189
70 22: bootstrap::builder::StepDescription::run
71 at src/bootstrap/builder.rs:211
72 23: bootstrap::builder::Builder::run_step_descriptions
73 at src/bootstrap/builder.rs:597
74 24: bootstrap::builder::Builder::execute_cli
75 at src/bootstrap/builder.rs:588
76 25: bootstrap::Build::build
77 at src/bootstrap/lib.rs:488
78 26: bootstrap::main
79 at src/bootstrap/bin/main.rs:15
80 27: std::rt::lang_start::{{closure}}
81 at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/rt.rs:67
82 28: std::rt::lang_start_internal::{{closure}}
83 at src/libstd/rt.rs:52
84 29: std::panicking::try::do_call
85 at src/libstd/panicking.rs:348
86 30: std::panicking::try
87 at src/libstd/panicking.rs:325
88 31: std::panic::catch_unwind
89 at src/libstd/panic.rs:394
90 32: std::rt::lang_start_internal
91 at src/libstd/rt.rs:51
92 33: std::rt::lang_start
93 at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/rt.rs:67
94 34: main
95 35: __libc_start_main
96 36: _start
97 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
98 Traceback (most recent call last):
99 File "./x.py", line 11, in <module>
100 bootstrap.main()
101 File "/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 1009, in main
102 bootstrap(help_triggered)
103 File "/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 995, in bootstrap
104 run(args, env=env, verbose=build.verbose)
105 File "/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 143, in run
106 raise RuntimeError(err)
107 RuntimeError: failed to run: /var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/build/bootstrap/debug/bootstrap dist -vv --config=/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/config.toml -j8
108 * ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase):
109 * (no error message)
110 *
111 * Call stack:
112 * ebuild.sh, line 125: Called src_compile
113 * environment, line 3644: Called die
114 * The specific snippet of code:
115 * env $(cat "${S}"/config.env) RUST_BACKTRACE=1 "${EPYTHON}" ./x.py dist -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die )
116
117 --
118 Thelma

Replies

Subject Author
Re: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase) Peter Humphrey <peter@××××××××××××.uk>