From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-192047-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 81E9A1382C5
	for <garchives@archives.gentoo.org>; Fri, 19 Jun 2020 17:09:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0AC8BE08C2;
	Fri, 19 Jun 2020 17:08:55 +0000 (UTC)
Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.70])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 88022E084E
	for <gentoo-user@lists.gentoo.org>; Fri, 19 Jun 2020 17:08:53 +0000 (UTC)
Received: from mailgw01.thundermail.uk (mail-gw.thundermail.uk [149.255.60.66])
	by mail-gw.thundermail.uk (Postfix) with ESMTPS id 5870360F3460
	for <gentoo-user@lists.gentoo.org>; Fri, 19 Jun 2020 18:08:51 +0100 (BST)
X-ASG-Debug-ID: 1592586530-05541315ac2dcf330001-LfjuLa
Received: from cloud307.thundercloud.uk (cloud307.thundercloud.uk [149.255.58.40]) by mailgw01.thundermail.uk with ESMTP id Mr4Q4JdBfAXQ5HKU (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for <gentoo-user@lists.gentoo.org>; Fri, 19 Jun 2020 18:08:50 +0100 (BST)
X-Barracuda-Envelope-From: confabulate@kintzios.com
X-Barracuda-Effective-Source-IP: cloud307.thundercloud.uk[149.255.58.40]
X-Barracuda-Apparent-Source-IP: 149.255.58.40
Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230])
	by cloud307.thundercloud.uk (Postfix) with ESMTPSA id B6BF6C22CC9
	for <gentoo-user@lists.gentoo.org>; Fri, 19 Jun 2020 18:08:49 +0100 (BST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com;
	s=default; t=1592586530;
	bh=vaphloxpDddY0+rXBLw0jAGwdP8kXYlh0rin/M/eIi0=; h=From:To:Subject;
	b=PcgKwLOIlGB0P13J2o3CcoBnYeQl7Yq7JXMLLW0fa7QGsOP6/rBcDWf+/YS1Z1aIy
	 FXDiVCT1BdC3vBLuYQl/oL7TgHPh/SPfGSh8XoJwiqM1ZZj1Fi9PUFbDuL3fi4Ps2D
	 brDDo2MiB7q93n7Wi+a5ozevtSKfPo4qXl5ObA9s=
Authentication-Results: cloud307.thundercloud.uk;
        spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=lenovo.localdomain
Received-SPF: pass (cloud307.thundercloud.uk: connection is authenticated)
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world
 update
Date: Fri, 19 Jun 2020 18:08:49 +0100
X-ASG-Orig-Subj: Re: [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world
 update
Message-ID: <1772453.CQOukoFCf9@lenovo.localdomain>
References: <5eec6774.1c69fb81.7c1cf.736eSMTPIN_ADDED_BROKEN@mx.google.com>
 <3324544.iIbC2pHGDl@lenovo.localdomain>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart21836686.6Emhk5qWAg";
 micalg="pgp-sha256"; protocol="application/pgp-signature"
X-PPP-Message-ID: <20200619170850.2165455.61189@cloud307.thundercloud.uk>
X-PPP-Vhost: kintzios.com
X-Barracuda-Connect: cloud307.thundercloud.uk[149.255.58.40]
X-Barracuda-Start-Time: 1592586530
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://149.255.60.66:443/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at thundermail.uk
X-Barracuda-Scan-Msg-Size: 1365
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.10
X-Barracuda-Spam-Status: No, SCORE=0.10 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests=BSF_SC0_SA085
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.82664
	Rule breakdown below
	 pts rule name              description
	---- ---------------------- --------------------------------------------------
	0.10 BSF_SC0_SA085          Custom Rule SA085
X-Archives-Salt: 7f09e5db-2b89-40b8-a400-5c081c0abbbd
X-Archives-Hash: 64a14d7540d364b081afd0245eea1c34

--nextPart21836686.6Emhk5qWAg
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="UTF-8"

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
--nextPart21836686.6Emhk5qWAg
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAl7s8SEACgkQseqq9sKV
ZxmoPRAAtONvnyBb9QicAFjB+CrBO4+PrnMQRSRyMD5tM1A41NuYMDWf4K1iR3Pj
HsaJgwp2t2PrQnYDjIXZJHb8DY36kC/Sz+08RmhCOFd1DkFZL1jIe5LXlU4ixu/N
1Q3nu/Kb6HTyAFSeUSLxpDkCNRJFOW1/i9UIM5rt63wBbw514IHn1Og8XDoo+bL8
vvuomURQTR6OhZrYlA9n4DJP11NwatQRrWKBtomWBvR1Mn89JKPCMxB5elPnsRfk
wsKOPziZDP2ZeaWyYSSridUH2UL4oaQmuBM0+QP+8a6rUzqnLgOmCh1zCQO9xjj4
V3o23B9ntaUd4VwnPr9+3cvpEHRu7gkhtwxdD3WeX0a5uq8mjj5aNXqkcnrm3jpw
1tpUUuLtw+gkpLy5CcUFyg3Rp7EixtCrRoxQb8s12ofXvXwfxlNZxRn1Al28SFB0
b+vKLdqiJsScEtQ/n0ZIDxO/FZIePGhDjfMYXv45sxWmXzPzYkQdlNXVquPSFw6s
qoI3l3CO97Bt0P/iTZaVp1B20s+f9fGjdx4GV/BRYTSt0A4iLMb+01v7ypONWBGx
TTIY6hd7sc47CwuBVm3WRNTJeiQw6ioNgNXi393Hs1kT4+os0I+MxShl/e190zmf
6p9ra1Dgzt4jghuRqyvcm0xY0usV9wdCE55Z3HFHq+X//omtmGY=
=5SBF
-----END PGP SIGNATURE-----

--nextPart21836686.6Emhk5qWAg--