From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BCC81138CEE for ; Wed, 24 Jun 2015 09:52:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3EFDE099B; Wed, 24 Jun 2015 09:52:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6B47E0996 for ; Wed, 24 Jun 2015 09:51:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 358F5340949 for ; Wed, 24 Jun 2015 09:51:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C5D1A58 for ; Wed, 24 Jun 2015 09:51:56 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1435082618.8b2c35ac92ac6644a09d897c1616ed3753396bff.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/petsc/ X-VCS-Repository: proj/sci X-VCS-Files: sci-mathematics/petsc/ChangeLog sci-mathematics/petsc/petsc-3.5.3.ebuild sci-mathematics/petsc/petsc-3.6.0.ebuild X-VCS-Directories: sci-mathematics/petsc/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 8b2c35ac92ac6644a09d897c1616ed3753396bff X-VCS-Branch: master Date: Wed, 24 Jun 2015 09:51:56 +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-Archives-Salt: c4182cfd-4f46-4709-930a-d676daf77b56 X-Archives-Hash: d25352c83408f34cbc5b4fb948983538 commit: 8b2c35ac92ac6644a09d897c1616ed3753396bff Author: Matthias Maier gentoo org> AuthorDate: Tue Jun 23 18:03:38 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Jun 23 18:03:38 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8b2c35ac sci-mathematics/petsc: Avoid a sandbox violation, bug #548498 Package-Manager: portage-2.2.18 sci-mathematics/petsc/ChangeLog | 4 ++++ sci-mathematics/petsc/petsc-3.5.3.ebuild | 7 +++++++ sci-mathematics/petsc/petsc-3.6.0.ebuild | 7 +++++++ 3 files changed, 18 insertions(+) diff --git a/sci-mathematics/petsc/ChangeLog b/sci-mathematics/petsc/ChangeLog index 858b694..1f8dcbb 100644 --- a/sci-mathematics/petsc/ChangeLog +++ b/sci-mathematics/petsc/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 23 Jun 2015; Matthias Maier petsc-3.5.3.ebuild, + petsc-3.6.0.ebuild: + sci-mathematics/petsc: Avoid a sandbox violation, bug #548498 + *petsc-3.6.0 (23 Jun 2015) 23 Jun 2015; Matthias Maier diff --git a/sci-mathematics/petsc/petsc-3.5.3.ebuild b/sci-mathematics/petsc/petsc-3.5.3.ebuild index 09e5bfb..c7f0269 100644 --- a/sci-mathematics/petsc/petsc-3.5.3.ebuild +++ b/sci-mathematics/petsc/petsc-3.5.3.ebuild @@ -74,6 +74,13 @@ src_prepare() { } src_configure() { + # bug 548498 + # PETSc runs mpi processes during configure that result in a sandbox + # violation by trying to open /proc/mtrr rw. This is not easy to + # mitigate because it happens in libpciaccess.so called by libhwloc.so, + # which is used by libmpi.so. + addpredict /proc/mtrr + # petsc uses --with-blah=1 and --with-blah=0 to en/disable options petsc_enable() { use "$1" && echo "--with-${2:-$1}=1" || echo "--with-${2:-$1}=0" diff --git a/sci-mathematics/petsc/petsc-3.6.0.ebuild b/sci-mathematics/petsc/petsc-3.6.0.ebuild index 6c96de3..d7ee394 100644 --- a/sci-mathematics/petsc/petsc-3.6.0.ebuild +++ b/sci-mathematics/petsc/petsc-3.6.0.ebuild @@ -77,6 +77,13 @@ src_prepare() { } src_configure() { + # bug 548498 + # PETSc runs mpi processes during configure that result in a sandbox + # violation by trying to open /proc/mtrr rw. This is not easy to + # mitigate because it happens in libpciaccess.so called by libhwloc.so, + # which is used by libmpi.so. + addpredict /proc/mtrr + # petsc uses --with-blah=1 and --with-blah=0 to en/disable options petsc_enable() { use "$1" && echo "--with-${2:-$1}=1" || echo "--with-${2:-$1}=0"