Gentoo Archives: gentoo-user

From: tastytea <gentoo@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] net-libs/nodejs
Date: Wed, 06 Jul 2022 22:51:30
Message-Id: 20220707005118.6af0d5b7@ventiloplattform.tastytea.de
In Reply to: [gentoo-user] net-libs/nodejs by karl@aspodata.se
1 On 2022-07-07 00:19+0200 karl@××××××××.se wrote:
2
3 > Unfortunately it seems I cannon emerge nodejs due
4 > to this error:
5 >
6 > /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../
7 > x86_64-pc-linux-gnu/bin/ld:
8 > failed to set dynamic section sizes: memory exhausted
9 >
10 > I tried to stop every process except gettys and the login,
11 > still the same, no MAKEOPTS (i.e. no paralell builds) and
12 > EMERGE_DEFAULT_OPTS="--jobs 1 ...
13 >
14 > The emerge line is:
15 >
16 > [ebuild U ] net-libs/nodejs-18.3.0 [14.19.0]
17 > USE="debug icu npm snapshot ssl system-icu system-ssl
18 > -doc* -inspector -lto -pax-kernel -systemtap -test"
19 > CPU_FLAGS_X86="sse2"
20 >
21 > Would dropping some use flags help ?
22 > I'm generally not interested in nodejs as such,
23 > it's just that firefox depends on it.
24
25 I'm not familiar with nodejs in particular, but dropping the debug
26 USE-flag will probably reduce the amount of memory it needs somewhat.
27 You could also add more swap, or look into zswap¹ or zram².
28
29 > When emergings with --skipfirst (i.e. skip nodejs),
30 > I get:
31 > emerge: It seems we have nothing to resume...
32 >
33 > Checking dependancies:
34 > # emerge -vc net-libs/nodejs
35 >
36 > Calculating dependencies .... done!
37 > net-libs/nodejs-14.19.0 pulled in by:
38 > www-client/firefox-91.9.0 requires >=net-libs/nodejs-10.23.1
39 >
40 > So, why don't emerge build the other 100'ish packages ?
41 > Last time I did emerge nodejs, must I run emerge @world
42 > and let that fail first ?
43
44 Yes, --resume will always try to resume the last command that failed,
45 as far as i know.
46
47 > Regards,
48 > /Karl Hammar
49
50 Regards, tastytea
51
52 ¹ <https://wiki.gentoo.org/wiki/Zswap>
53 ² <https://wiki.gentoo.org/wiki/Zram>

Replies

Subject Author
emerge --keep-going didn't continue (Re: [gentoo-user] net-libs/nodejs) karl@××××××××.se
Re: [gentoo-user] net-libs/nodejs Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] net-libs/nodejs karl@××××××××.se