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:10:07
Message-Id: <20200619230426.GB3316@imap.gmx.com:993>
In Reply to: Re: [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update by Dale
1 On Fri, Jun 19, 2020 at 12:19:55PM -0500, Dale wrote:
2 > 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 the line
8 > >>>>> "Error1:" which gets printed after the error.
9 > >>>> And depending on the number of cores/threads and other emerge settings,
10 > >>>> it can be a dozen, two dozen lines or sometimes even further back than
11 > >>>> that. With CPUs having a dozen or so cores/threads, it's amazing that
12 > >>>> some stuff compiles at all. Prime example, recent thread about Pam
13 > >>>> updates.
14 > >>>>
15 > >>>> OP, if needed, tar the whole error log and attach it. Just don't post
16 > >>>> it elsewhere and link to it tho. After a while, it's gone or a person
17 > >>>> finds the log but not this thread with the solution.
18 > >>>>
19 > >>>> Dale
20 > >>>>
21 > >>>> :-) :-)
22 > >>> Ah ha. Yes Thank you. Sorry, I've never been good with e-mail:-P
23 > >>
24 > >> NP, did you get an OOM error in dmesg when this happened by any chance? You
25 > >> don't seem to have much RAM, you have no swap and the number of jobs is
26 > >> relatively high for memory hungry compiles.
27 > >>
28 > >> It could be a bug, but unless a report has been filed already in BGO to this
29 > >> effect, I suggest you add a swapfile, enable it, and try again with
30 > >> MAKEOPTS="-j1" or "-j2". Please ask if you need more detail.
31 > >
32 > > I was thinking about -j1. I tried -j4. I thought I didn't need swap with >=4GB
33 > > of RAM, but it makes sense. My machine kinda crawls trying to build that
34 > > package. Oh man, I'll have to re-partition:-(
35 > >
36 > >
37 >
38 >
39 > Create a swap file. I'm not sure about the speed compared to a swap
40 > partition but if you have room somewhere, no need to repartition.
41 >
42 > I might add, 4GBs is not much nowadays.  When I had 16GBs before my
43 > upgrade to 32GBs, I'd sometimes run out of memory.  Of course, I have
44 > portage's work directory on tmpfs but the bigger stuff was on hard
45 > drives still.  Some packages need a lot of memory.  Even with 32GBs, I
46 > still have some compile on hard drive and it uses a lot of memory just
47 > for the processes themselves.  The more jobs, the more it uses.  I still
48 > have a large swap partition even with 32GBs.  If LOo, Firefox and a
49 > couple others hit at the same time, it uses swap at times. 
50 >
51 > Just something to think on.
52 >
53 > Dale
54 >
55 > :-)  :-) 
56
57
58 Yep. I'm thinkin on that. Thank you