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