Gentoo Archives: gentoo-user

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