* [gentoo-user] Re: [SOLVED] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update
@ 2020-06-20 3:18 99% ` urpion
0 siblings, 0 replies; 1+ results
From: urpion @ 2020-06-20 3:18 UTC (permalink / raw
To: gentoo-user
On Sat, Jun 20, 2020 at 08:56:52AM +1000, urpion@gmx.com wrote:
> On Fri, Jun 19, 2020 at 06:08:49PM +0100, Michael wrote:
> > On Friday, 19 June 2020 17:10:54 BST urpion@gmx.com wrote:
> > > On Fri, Jun 19, 2020 at 04:52:30PM +0100, Michael wrote:
> >
> > > > 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:-(
> >
> > A single compile job on a big package can eat >3G of RAM. I don't know what
> > spidermonkey jobs may grow up to, but drop it down to '-j1' and see what you
> > get.
> >
> > A swapfile which you enable on a per ebuild basis if required, can be handy.
> > You can configure this in a package.profile file. On an ext4 fs you could do
> > this as root:
> >
> > touch swapfile
> > dd if=/dev/zero of=swapfile bs=4096 count=400000
> > mkswap -L Swappage swapfile
> > swapon swapfile
> >
> > If it is a btrfs you'll need to tweak things to be able to used it as a swap:
> >
> > https://wiki.archlinux.org/index.php/Swap#Swap_file
>
> Wow. Thanks Micheal. That's really cool. I will try that.
>
I tried to merge the package again with -j1, just to see, but no go.
Making a swap file just as Micheal said did the trick. Thanks a bunch.
I made it in /home. Is that a bad idea? I guess I need to review my
partion scheme. Thanks everyuone, it's great to be back on Gentoo again
(-: :-)
^ 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 15:52 ` [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update Michael
2020-06-19 17:08 ` Michael
2020-06-19 22:56 ` urpion
2020-06-20 3:18 99% ` [gentoo-user] Re: [SOLVED] " urpion
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox