Created attachment 579640 [details] build log description demonstrating the error in processes.c we get implicit declaration of makedev, so compile fails
Created attachment 579642 [details] emerge info emerge info
It seems this is due to an update in glibc since this old version of mono was released. makdev is now a macro, so you need to add "#include <sys/sysmacros.h>" to processes.c. I'm not sure of the best place to add it, but somewhere near the top, and it needs to be done under mono-4.4.1-abi_x86_64.amd64 not just under mono-4.4.1 (both under the work directory.) I suspect it is probably also necessary for the 4.8 version of mono. It might also be wise to modify the ebuild to require a version of glibc after that change was made, otherwise I suspect that include file won't be present. If I have time (not certain when) I'll see if I can create a patch and updated ebuid.
Well, I spoke a bit too soon. I got another error on mkdir -p -- ../../class/lib/build/ MCS [build] mscorlib.dll * Assertion at local-propagation.c:106, condition `ins->opcode > MONO_CEE_LAST' not met followed by a stacktrace. Since I was using "ebuild" and not just "emerge" the build.log's are a mess, so I'd have to start from scratch (about a half hour of compiling) to get a clean log, if anyone wants to see it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=820c5cf2b1a03bca290fa9044e2fed4981844141 commit 820c5cf2b1a03bca290fa9044e2fed4981844141 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-05-16 21:27:03 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-05-16 21:27:03 +0000 dev-lang/mono: Remove old Closes: https://bugs.gentoo.org/468412 Closes: https://bugs.gentoo.org/548340 Closes: https://bugs.gentoo.org/634692 Closes: https://bugs.gentoo.org/661270 Closes: https://bugs.gentoo.org/663608 Closes: https://bugs.gentoo.org/687950 Closes: https://bugs.gentoo.org/689332 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Seifert <soap@gentoo.org> dev-lang/mono/Manifest | 8 -- dev-lang/mono/files/mono-4.4.1.0-x86_32.patch | 20 ---- dev-lang/mono/files/mono-4.8.0.371-makedev.patch | 34 ------- dev-lang/mono/files/mono-4.8.0.371-x86_32.patch | 27 ------ dev-lang/mono/mono-4.4.1.0.ebuild | 113 ----------------------- dev-lang/mono/mono-4.8.0.524.ebuild | 109 ---------------------- dev-lang/mono/mono-5.14.0.177.ebuild | 107 --------------------- dev-lang/mono/mono-5.16.0.220.ebuild | 108 ---------------------- dev-lang/mono/mono-5.18.1.0.ebuild | 103 --------------------- dev-lang/mono/mono-5.20.1.19-r1.ebuild | 109 ---------------------- dev-lang/mono/mono-6.0.0.334.ebuild | 105 --------------------- dev-lang/mono/mono-6.4.0.198.ebuild | 105 --------------------- 12 files changed, 948 deletions(-)