From fa6c89c14cbfc61a5ca61e58da6f2c260eec8066 Mon Sep 17 00:00:00 2001 From: Mario Haustein Date: Sat, 30 May 2026 17:28:34 +0200 Subject: [PATCH] sci-geosciences/grass: skip mapset permission check during install phase Closes: https://bugs.gentoo.org/974737 Closes: https://codeberg.org/gentoo/gentoo/pulls/1017 Signed-off-by: Mario Haustein Part-of: https://github.com/gentoo/gentoo/pull/46332 Signed-off-by: Sam James --- sci-geosciences/grass/grass-8.5.0.ebuild | 4 ++++ sci-geosciences/grass/grass-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sci-geosciences/grass/grass-8.5.0.ebuild b/sci-geosciences/grass/grass-8.5.0.ebuild index 1c6bb0cf66275..28905f6bc92ca 100644 --- a/sci-geosciences/grass/grass-8.5.0.ebuild +++ b/sci-geosciences/grass/grass-8.5.0.ebuild @@ -202,6 +202,10 @@ src_configure() { } src_install() { + # Install phase fails if file owner doesn't match process user. GRASS + # allows to skip this check. See bug #974737. + export GRASS_SKIP_MAPSET_OWNER_CHECK=1 + cmake_src_install pushd "${ED}"/usr/$(get_libdir)/${MY_PM} >/dev/null || die diff --git a/sci-geosciences/grass/grass-9999.ebuild b/sci-geosciences/grass/grass-9999.ebuild index 1c6bb0cf66275..28905f6bc92ca 100644 --- a/sci-geosciences/grass/grass-9999.ebuild +++ b/sci-geosciences/grass/grass-9999.ebuild @@ -202,6 +202,10 @@ src_configure() { } src_install() { + # Install phase fails if file owner doesn't match process user. GRASS + # allows to skip this check. See bug #974737. + export GRASS_SKIP_MAPSET_OWNER_CHECK=1 + cmake_src_install pushd "${ED}"/usr/$(get_libdir)/${MY_PM} >/dev/null || die