Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase)
Date: Sun, 17 Jan 2021 17:49:09
Message-Id: 51f9f4bd-8f63-baed-6eae-4a8b5edf7b2b@sys-concept.com
In Reply to: Re: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase) by Michael
1 On 1/17/21 4:18 AM, Michael wrote:
2 > On Sunday, 17 January 2021 11:04:17 GMT Peter Humphrey wrote:
3 >> On Saturday, 16 January 2021 20:59:17 GMT thelma@×××××××××××.com wrote:
4 >>> Reinstalling Gentoo on one box (I wiped the root partition, so it is a
5 >>> clean install) and I'm getting this error
6 >>
7 >> --->8
8 >>
9 >> Have you thought of using rust-bin instead of rust? "emerge -1 rust-bin" It
10 >> saves prodigious amounts of compiling here. Of course, you can't do that if
11 >> you need to set particular USE flags.
12 >>
13 >> There was a discussion here a month or two ago. Either rust or rust-bin will
14 >> satisfy virtual/rust.
15 >
16 >
17 > Rust uses up tonnes of RAM in compiling, so unless enough RAM and perhaps SWAP
18 > is available, it could fail. Increasing resources and/or reducing the make
19 > job number should improve the situation.
20
21 I think that might have been the case, I run emerge second time and it compiled just fine.
22 Maybe I will switch to "rust-bin", thanks for suggestion. Why do we need it, is it part of "system-bootstrap"?

Replies