commit:     8c9508e8241e41b4ad3ea4c0746c4e83621f994b
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 20 14:19:02 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Aug 20 14:21:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9508e8

dev-lang/mono: keyword 6.12.0.122 for -riscv

Fails to build, and according to upstream documentation even when it
does build it can't do much more than run a Hello, world! example in C#.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-lang/mono/mono-6.12.0.122.ebuild | 2 +-
 profiles/arch/riscv/use.mask         | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-lang/mono/mono-6.12.0.122.ebuild 
b/dev-lang/mono/mono-6.12.0.122.ebuild
index b1486e78265..449d4aebe3b 100644
--- a/dev-lang/mono/mono-6.12.0.122.ebuild
+++ b/dev-lang/mono/mono-6.12.0.122.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://download.mono-project.com/sources/mono/${P}.tar.xz";
 
 LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception 
IDPL"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv x86 ~amd64-linux"
 IUSE="doc minimal nls pax-kernel xen"
 
 # Note: mono works incorrect with older versions of libgdiplus

diff --git a/profiles/arch/riscv/use.mask b/profiles/arch/riscv/use.mask
index c4c7b54e6a0..865898a6b56 100644
--- a/profiles/arch/riscv/use.mask
+++ b/profiles/arch/riscv/use.mask
@@ -32,6 +32,10 @@ valgrind
 # Not tested yet
 bluetooth
 jack
+
+# As of August 2021, RISC-V support in dev-lang/mono is minimal and some
+# versions do not even build on this arch. See
+# https://github.com/dotnet/runtime/issues/36748
 mono
 
 # No proper support for this arch yet

Reply via email to