Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update
Date: Fri, 19 Jun 2020 16:57:36
Message-Id: YHQ4SNY7.OTL6QPI4.22YZH2X7@OMPCK2O5.FMIKRSMI.KES53HMR
1 On 2020.06.19 12:10, urpion@×××.com wrote:
2 > On Fri, Jun 19, 2020 at 04:52:30PM +0100, Michael wrote:
3 > > On Friday, 19 June 2020 16:35:27 BST urpion@×××.com wrote:
4 > > > On Fri, Jun 19, 2020 at 09:45:59AM -0500, Dale wrote:
5 > > > > Jack wrote:
6 > > > > > Not far enough back. You need to show the actual error, not
7 > the line
8 > > > > > "Error1:" which gets printed after the error.
9 > > > >
10 > > > > And depending on the number of cores/threads and other emerge
11 > settings,
12 > > > > it can be a dozen, two dozen lines or sometimes even further
13 > back than
14 > > > > that. With CPUs having a dozen or so cores/threads, it's
15 > amazing that
16 > > > > some stuff compiles at all. Prime example, recent thread about
17 > Pam
18 > > > > updates.
19 > > > >
20 > > > > OP, if needed, tar the whole error log and attach it. Just
21 > don't post
22 > > > > it elsewhere and link to it tho. After a while, it's gone or a
23 > person
24 > > > > finds the log but not this thread with the solution.
25 > > > >
26 > > > > Dale
27 > > > >
28 > > > > :-) :-)
29 > > >
30 > > > Ah ha. Yes Thank you. Sorry, I've never been good with e-mail:-P
31 > >
32 > >
33 > > NP, did you get an OOM error in dmesg when this happened by any
34 > chance? You
35 > > don't seem to have much RAM, you have no swap and the number of
36 > jobs is
37 > > relatively high for memory hungry compiles.
38 > >
39 > > It could be a bug, but unless a report has been filed already in
40 > BGO to this
41 > > effect, I suggest you add a swapfile, enable it, and try again with
42 > > MAKEOPTS="-j1" or "-j2". Please ask if you need more detail.
43 >
44 >
45 > I was thinking about -j1. I tried -j4. I thought I didn't need swap
46 > with >=4GB
47 > of RAM, but it makes sense. My machine kinda crawls trying to build
48 > that
49 > package. Oh man, I'll have to re-partition:-(
50 Although it borders on a religious argument, many/most agree you always
51 need at least a small amount of swap.
52 https://wiki.gentoo.org/wiki/Knowledge_Base:Is_swap_space_really_necessary
53
54 You can also set up a swap file instead of a swap partition. You'll
55 have to search for instructions, I didn't find it quick enough to
56 include a link.

Replies