public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update
       [not found]         ` <5eece98e.1c69fb81.660a3.a90bSMTPIN_ADDED_BROKEN@mx.google.com>
@ 2020-06-19 17:19 99%       ` Dale
  0 siblings, 0 replies; 1+ results
From: Dale @ 2020-06-19 17:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2355 bytes --]

urpion@gmx.com wrote:
> On Fri, Jun 19, 2020 at 04:52:30PM +0100, Michael wrote:
>> On Friday, 19 June 2020 16:35:27 BST urpion@gmx.com wrote:
>>> On Fri, Jun 19, 2020 at 09:45:59AM -0500, Dale wrote:
>>>> Jack wrote:
>>>>> Not far enough back.  You need to show the actual error, not the line
>>>>> "Error1:" which gets printed after the error.
>>>> And depending on the number of cores/threads and other emerge settings,
>>>> it can be a dozen, two dozen lines or sometimes even further back than
>>>> that.  With CPUs having a dozen or so cores/threads, it's amazing that
>>>> some stuff compiles at all.  Prime example, recent thread about Pam
>>>> updates.
>>>>
>>>> OP, if needed, tar the whole error log and attach it.  Just don't post
>>>> it elsewhere and link to it tho.  After a while, it's gone or a person
>>>> finds the log but not this thread with the solution.
>>>>
>>>> Dale
>>>>
>>>> :-)  :-)
>>> Ah ha. Yes Thank you. Sorry, I've never been good with e-mail:-P
>>
>> NP, did you get an OOM error in dmesg when this happened by any chance?  You
>> don't seem to have much RAM, you have no swap and the number of jobs is
>> relatively high for memory hungry compiles.
>>
>> It could be a bug, but unless a report has been filed already in BGO to this
>> effect, I suggest you add a swapfile, enable it, and try again with
>> MAKEOPTS="-j1" or "-j2".  Please ask if you need more detail.
>
> I was thinking about -j1. I tried -j4. I thought I didn't need swap with >=4GB
> of RAM, but it makes sense. My machine kinda crawls trying to build that
> package. Oh man, I'll have to re-partition:-(
>
>


Create a swap file. I'm not sure about the speed compared to a swap
partition but if you have room somewhere, no need to repartition.

I might add, 4GBs is not much nowadays.  When I had 16GBs before my
upgrade to 32GBs, I'd sometimes run out of memory.  Of course, I have
portage's work directory on tmpfs but the bigger stuff was on hard
drives still.  Some packages need a lot of memory.  Even with 32GBs, I
still have some compile on hard drive and it uses a lot of memory just
for the processes themselves.  The more jobs, the more it uses.  I still
have a large swap partition even with 32GBs.  If LOo, Firefox and a
couple others hit at the same time, it uses swap at times. 

Just something to think on.

Dale

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 3330 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
     [not found]     <5eec6774.1c69fb81.7c1cf.736eSMTPIN_ADDED_BROKEN@mx.google.com>
2020-06-19  7:37     ` [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update Dale
2020-06-19 15:52       ` Michael
     [not found]         ` <5eece98e.1c69fb81.660a3.a90bSMTPIN_ADDED_BROKEN@mx.google.com>
2020-06-19 17:19 99%       ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox