From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 1D7E51381F3 for ; Sun, 8 Nov 2020 21:09:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E089E07AE; Sun, 8 Nov 2020 21:09:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 D9783E07A7 for ; Sun, 8 Nov 2020 21:09:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED384340A5C for ; Sun, 8 Nov 2020 21:09:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DB481DF for ; Sun, 8 Nov 2020 21:09:23 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1604869758.824f8c56b557de79804eee177b7ae328279ca287.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/spidermonkey/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/spidermonkey/spidermonkey-78.4.0.ebuild X-VCS-Directories: dev-lang/spidermonkey/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 824f8c56b557de79804eee177b7ae328279ca287 X-VCS-Branch: master Date: Sun, 8 Nov 2020 21:09:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7814f3d3-a46f-4102-ba93-0cc04eff0893 X-Archives-Hash: ec146e9277a065fa55c08609b5902027 commit: 824f8c56b557de79804eee177b7ae328279ca287 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Nov 8 21:04:29 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Nov 8 21:09:18 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824f8c56 dev-lang/spidermonkey: check for /dev/shm Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> dev-lang/spidermonkey/spidermonkey-78.4.0.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-lang/spidermonkey/spidermonkey-78.4.0.ebuild b/dev-lang/spidermonkey/spidermonkey-78.4.0.ebuild index 3c1c747cd0e..065952b5eb4 100644 --- a/dev-lang/spidermonkey/spidermonkey-78.4.0.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-78.4.0.ebuild @@ -111,6 +111,15 @@ pkg_setup() { check-reqs_pkg_setup python-any-r1_pkg_setup + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi } src_prepare() {