1 |
On Tuesday, 27 April 2021 22:17:20 BST Matt Connell (Gmail) wrote: |
2 |
> On Tue, 2021-04-27 at 20:53 +0000, Alan Mackenzie wrote: |
3 |
> > I know I could plump for the -bin package. Maybe I should. |
4 |
> |
5 |
> I did, recently. |
6 |
> |
7 |
> Anecdotes/opinions/rant follows. Feel free to ignore, I just wanted to |
8 |
> vent because the issue is fresh in my mind. |
9 |
> |
10 |
> ... |
11 |
> |
12 |
> Some things just aren't worth building from source. Rust is so heavy, |
13 |
> convoluted, ill-supported and slow that I just can't be bothered to |
14 |
> spend hours of compile time on getting a slightly-less-awful version of |
15 |
> it for my system(s). And given how a desktop environment now requires |
16 |
> a Javascript engine to parse configurations (that's a separate |
17 |
> complaint), and spidermonkey requires rust to build, there's no |
18 |
> avoiding it for my needs, so I just cut bait. |
19 |
> |
20 |
> The same can be said for GHC (the Glasgow Haskell Compiler). I can't |
21 |
> do my day-to-day without shellcheck, but spending 8 hours to build a |
22 |
> compiler for shellcheck (and sometimes pandoc) frankly sucks. This |
23 |
> isn't gentoo's fault, or anyone's fault really. Languages are complex |
24 |
> and the code to bootstrap compile them isn't easy. Its above my skill |
25 |
> level, that's for sure. |
26 |
> |
27 |
> 8+ years of gentoo has taught me many lessons, chief among them is to |
28 |
> pick my battles. If there is some must-have or must-avoid USE flag, or |
29 |
> a killer feature that's missing from the bin build, then I'll swallow |
30 |
> the pill and take the time to compile it. If not, I've got better |
31 |
> things to do with my electricity. |
32 |
|
33 |
Heh! I had a go more than once increasing RAM allocated to /var/tmp/portage |
34 |
also running out of memory. I think this is the second time it happened to me |
35 |
in the last 6 months or so. There's a bug on this: |
36 |
|
37 |
https://bugs.gentoo.org/show_bug.cgi?id=757276 |
38 |
|
39 |
There's three options, I can think of: |
40 |
|
41 |
1. Use dev-lang/rust-bin, as Matt suggested above. |
42 |
|
43 |
2. Buy more RAM, or use a surrogate PC with more RAM to cross-compile it. |
44 |
|
45 |
3. Use a partition with enough space on it to bind mount /var/tmp/portage, for |
46 |
this package only. |
47 |
|
48 |
I use the 3rd option, but I'm wondering if option 1 may be the smartest move |
49 |
for my needs. |