Created attachment 761233 [details, diff] Working patch Mono has an open bug report (https://github.com/mono/mono/issues/21233). As I've been having the described issue, I tweaked and then applied a patch from another project (https://github.com/electron/electron/pull/31213).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be02856a46e00bbb861fd3c651cac42c2b7697d0 commit be02856a46e00bbb861fd3c651cac42c2b7697d0 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-01-13 01:41:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-13 01:42:08 +0000 dev-lang/mono: fix automagic ccache usage This is for users to enable, not for build systems to do it based on whether ccache is installed (which leads to sandbox issues anyway). Closes: https://bugs.gentoo.org/830562 Signed-off-by: Sam James <sam@gentoo.org> .../mono-6.12.0.122-disable-automagic-ccache.patch | 22 ++++++++++++++++++++++ dev-lang/mono/mono-6.12.0.122.ebuild | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-)