commit:     2ba1c79ac07b7442c8ff90a811f1b5786b4115fb
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 28 18:08:48 2025 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Dec 28 18:10:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba1c79a

sci-chemistry/gromacs: Fix sandbox violation

Closes: https://bugs.gentoo.org/965866

Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sci-chemistry/gromacs/gromacs-2025.3.ebuild    | 2 ++
 sci-chemistry/gromacs/gromacs-2025.4.ebuild    | 2 ++
 sci-chemistry/gromacs/gromacs-2025.9999.ebuild | 2 ++
 sci-chemistry/gromacs/gromacs-2026_rc.ebuild   | 2 ++
 sci-chemistry/gromacs/gromacs-9999.ebuild      | 2 ++
 5 files changed, 10 insertions(+)

diff --git a/sci-chemistry/gromacs/gromacs-2025.3.ebuild 
b/sci-chemistry/gromacs/gromacs-2025.3.ebuild
index 1f8ff6764267..5c89268a60e5 100644
--- a/sci-chemistry/gromacs/gromacs-2025.3.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2025.3.ebuild
@@ -287,6 +287,8 @@ src_configure() {
 }
 
 src_compile() {
+       # fix sandbox violation bug #965866
+       addwrite /proc/mtrr
        for x in ${GMX_DIRS}; do
                einfo "Compiling for ${x} precision"
                BUILD_DIR="${WORKDIR}/${P}_${x}"\

diff --git a/sci-chemistry/gromacs/gromacs-2025.4.ebuild 
b/sci-chemistry/gromacs/gromacs-2025.4.ebuild
index 92d289a8dc61..7afc8fd831a9 100644
--- a/sci-chemistry/gromacs/gromacs-2025.4.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2025.4.ebuild
@@ -287,6 +287,8 @@ src_configure() {
 }
 
 src_compile() {
+       # fix sandbox violation bug #965866
+       addwrite /proc/mtrr
        for x in ${GMX_DIRS}; do
                einfo "Compiling for ${x} precision"
                BUILD_DIR="${WORKDIR}/${P}_${x}"\

diff --git a/sci-chemistry/gromacs/gromacs-2025.9999.ebuild 
b/sci-chemistry/gromacs/gromacs-2025.9999.ebuild
index 92d289a8dc61..7afc8fd831a9 100644
--- a/sci-chemistry/gromacs/gromacs-2025.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2025.9999.ebuild
@@ -287,6 +287,8 @@ src_configure() {
 }
 
 src_compile() {
+       # fix sandbox violation bug #965866
+       addwrite /proc/mtrr
        for x in ${GMX_DIRS}; do
                einfo "Compiling for ${x} precision"
                BUILD_DIR="${WORKDIR}/${P}_${x}"\

diff --git a/sci-chemistry/gromacs/gromacs-2026_rc.ebuild 
b/sci-chemistry/gromacs/gromacs-2026_rc.ebuild
index a66609b67890..a740c29ae5f9 100644
--- a/sci-chemistry/gromacs/gromacs-2026_rc.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2026_rc.ebuild
@@ -288,6 +288,8 @@ src_configure() {
 }
 
 src_compile() {
+       # fix sandbox violation bug #965866
+       addwrite /proc/mtrr
        for x in ${GMX_DIRS}; do
                einfo "Compiling for ${x} precision"
                BUILD_DIR="${WORKDIR}/${P}_${x}"\

diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild 
b/sci-chemistry/gromacs/gromacs-9999.ebuild
index a66609b67890..a740c29ae5f9 100644
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
@@ -288,6 +288,8 @@ src_configure() {
 }
 
 src_compile() {
+       # fix sandbox violation bug #965866
+       addwrite /proc/mtrr
        for x in ${GMX_DIRS}; do
                einfo "Compiling for ${x} precision"
                BUILD_DIR="${WORKDIR}/${P}_${x}"\

Reply via email to