Package Details: mono-git 6.12.0.205.r1487.89f1d3cc22f-1

Git Clone URL: https://aur.archlinux.org/mono-git.git (read-only, click to copy)
Package Base: mono-git
Description: Free implementation of the .NET platform including runtime and compiler
Upstream URL: http://www.mono-project.com/
Keywords: mono
Licenses: GPL, BSD, MPL, LGPL2.1, custom=MITX11, custom=MSPL
Conflicts: mono, monodoc
Provides: mono, monodoc
Submitter: Ziemas
Maintainer: LinuxUserGD
Last Packager: LinuxUserGD
Votes: 13
Popularity: 0.000000
First Submitted: 2011-03-25 16:52 (UTC)
Last Updated: 2023-12-20 16:02 (UTC)

Required by (217)

Sources (23)

Latest Comments

1 2 3 4 5 Next › Last »

LinuxUserGD commented on 2023-12-20 16:05 (UTC)

Thanks for reporting, build should be fixed now after adding git -c protocol.file.allow=always to the submodule update command.

MarsSeed commented on 2023-11-16 20:20 (UTC)

Please kindly declare all git modules. There are new ones that are needed but missing from source array.

Also please fix the source cloning error:

==> Starting prepare()...
Submodule 'external/aspnetwebstack' (https://github.com/mono/aspnetwebstack.git) registered for path 'external/aspnetwebstack'
Cloning into '/home/user/.cache/makepkg/mono-git/src/mono/external/aspnetwebstack'...
fatal: transport 'file' not allowed
fatal: clone of '/home/user/.cache/makepkg/mono-git/src/aspnetwebstack' into submodule path '/home/user/.cache/makepkg/mono-git/src/mono/external/aspnetwebstack' failed
Failed to clone 'external/aspnetwebstack'. Retry scheduled
Cloning into '/home/user/.cache/makepkg/mono-git/src/mono/external/aspnetwebstack'...
fatal: transport 'file' not allowed
fatal: clone of '/home/user/.cache/makepkg/mono-git/src/aspnetwebstack' into submodule path '/home/user/.cache/makepkg/mono-git/src/mono/external/aspnetwebstack' failed
Failed to clone 'external/aspnetwebstack' a second time, aborting
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: mono-git

moormaster commented on 2022-08-14 09:40 (UTC) (edited on 2022-09-02 23:00 (UTC) by moormaster)

I managed to build it by preventing the includes from sys/* in mono/metadata/w32file-unix.c

This patch might become obsolete as soon as https://sourceware.org/git/?p=glibc.git;a=commit;h=774058d72942249f71d74e7f2b639f77184160a6 will be included in the next glibc release.

diff --git a/PKGBUILD b/PKGBUILD
index 1cba31d..d9d6e61 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -39,11 +39,13 @@ source=(
   'git+https://github.com/dotnet/llvm-project.git'
   'git+https://github.com/Unity-Technologies/bdwgc.git'
   'mono.binfmt.d'
+  'patch_glibc_mount_header_fix.patch'
 )
 sha256sums=(
   'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP'
   'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP'
   '9a657fc153ef4ce23bf5fc369a26bf4a124e9304bde3744d04c583c54ca47425'
+  'SKIP'
 )

 pkgver() {
@@ -95,6 +97,8 @@ prepare() {
 build() {
   cd "${_gitname}"

+  patch -p 1 -i ${srcdir}/patch_glibc_mount_header_fix.patch
+
   # Default prefix is /usr/local/
   # Default sysconfdir is /usr/local/etc/
   # Default sbindir is /usr/local/sbin/
diff --git a/patch_glibc_mount_header_fix.patch b/patch_glibc_mount_header_fix.patch
new file mode 100644
index 0000000..5913c78
--- /dev/null
+++ b/patch_glibc_mount_header_fix.patch
@@ -0,0 +1,11 @@
+--- a/mono/metadata/w32file-unix.c     2022-08-14 04:08:10.879022143 +0200
++++ b/mono/metadata/w32file-unix.c     2022-08-14 11:27:29.887736112 +0200
+@@ -17,7 +17,7 @@
+ #if defined(HAVE_SYS_STATFS_H)
+ #include <sys/statfs.h>
+ #endif
+-#if defined(HAVE_SYS_PARAM_H) && defined(HAVE_SYS_MOUNT_H)
++#if defined(HAVE_SYS_PARAM_H) && defined(HAVE_SYS_MOUNT_H) && !defined(__linux__)
+ #include <sys/param.h>
+ #include <sys/mount.h>
+ #endif

moormaster commented on 2022-08-14 04:14 (UTC)

Build fails for me

Making all in metadata
make[3]: Entering directory '/home/aur_builder/.cache/pikaur/build/mono-git/src/mono/mono/metadata'
  CC       libmonoruntime_la-console-unix.lo
  CC       libmonoruntime_config_la-mono-config-dirs.lo
  CC       libmonoruntime_la-w32semaphore-unix.lo
  CC       libmonoruntime_la-w32mutex-unix.lo
  CC       libmonoruntime_la-w32event-unix.lo
  CC       libmonoruntime_la-w32process-unix.lo
  CC       libmonoruntime_la-w32process-unix-osx.lo
  CC       libmonoruntime_la-w32process-unix-bsd.lo
  CC       libmonoruntime_la-w32process-unix-haiku.lo
  CC       libmonoruntime_la-w32process-unix-default.lo
  CC       libmonoruntime_la-w32socket-unix.lo
  CC       libmonoruntime_la-w32file-unix.lo
In file included from /usr/include/linux/fs.h:19,
                 from w32file-unix.c:31:
/usr/include/linux/mount.h:95:6: error: redeclaration of ‘enum fsconfig_command’
   95 | enum fsconfig_command {
      |      ^~~~~~~~~~~~~~~~
In file included from w32file-unix.c:22:
/usr/include/sys/mount.h:189:6: note: originally defined here
  189 | enum fsconfig_command
      |      ^~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:96:9: error: redeclaration of enumerator ‘FSCONFIG_SET_FLAG’
   96 |         FSCONFIG_SET_FLAG       = 0,    /* Set parameter, supplying no value */
      |         ^~~~~~~~~~~~~~~~~
/usr/include/sys/mount.h:191:3: note: previous definition of ‘FSCONFIG_SET_FLAG’ with type ‘enum fsconfig_command’
  191 |   FSCONFIG_SET_FLAG       = 0,    /* Set parameter, supplying no value */
      |   ^~~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:97:9: error: redeclaration of enumerator ‘FSCONFIG_SET_STRING’
   97 |         FSCONFIG_SET_STRING     = 1,    /* Set parameter, supplying a string value */
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/sys/mount.h:193:3: note: previous definition of ‘FSCONFIG_SET_STRING’ with type ‘enum fsconfig_command’
  193 |   FSCONFIG_SET_STRING     = 1,    /* Set parameter, supplying a string value */
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:98:9: error: redeclaration of enumerator ‘FSCONFIG_SET_BINARY’
   98 |         FSCONFIG_SET_BINARY     = 2,    /* Set parameter, supplying a binary blob value */
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/sys/mount.h:195:3: note: previous definition of ‘FSCONFIG_SET_BINARY’ with type ‘enum fsconfig_command’
  195 |   FSCONFIG_SET_BINARY     = 2,    /* Set parameter, supplying a binary blob value */
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:99:9: error: redeclaration of enumerator ‘FSCONFIG_SET_PATH’
   99 |         FSCONFIG_SET_PATH       = 3,    /* Set parameter, supplying an object by path */
      |         ^~~~~~~~~~~~~~~~~
/usr/include/sys/mount.h:197:3: note: previous definition of ‘FSCONFIG_SET_PATH’ with type ‘enum fsconfig_command’
  197 |   FSCONFIG_SET_PATH       = 3,    /* Set parameter, supplying an object by path */
      |   ^~~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:100:9: error: redeclaration of enumerator ‘FSCONFIG_SET_PATH_EMPTY’
  100 |         FSCONFIG_SET_PATH_EMPTY = 4,    /* Set parameter, supplying an object by (empty) path */
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/mount.h:199:3: note: previous definition of ‘FSCONFIG_SET_PATH_EMPTY’ with type ‘enum fsconfig_command’
  199 |   FSCONFIG_SET_PATH_EMPTY = 4,    /* Set parameter, supplying an object by (empty) path */
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:101:9: error: redeclaration of enumerator ‘FSCONFIG_SET_FD’
  101 |         FSCONFIG_SET_FD         = 5,    /* Set parameter, supplying an object by fd */
      |         ^~~~~~~~~~~~~~~
/usr/include/sys/mount.h:201:3: note: previous definition of ‘FSCONFIG_SET_FD’ with type ‘enum fsconfig_command’
  201 |   FSCONFIG_SET_FD         = 5,    /* Set parameter, supplying an object by fd */
      |   ^~~~~~~~~~~~~~~
/usr/include/linux/mount.h:102:9: error: redeclaration of enumerator ‘FSCONFIG_CMD_CREATE’
  102 |         FSCONFIG_CMD_CREATE     = 6,    /* Invoke superblock creation */
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/sys/mount.h:203:3: note: previous definition of ‘FSCONFIG_CMD_CREATE’ with type ‘enum fsconfig_command’
  203 |   FSCONFIG_CMD_CREATE     = 6,    /* Invoke superblock creation */
      |   ^~~~~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:103:9: error: redeclaration of enumerator ‘FSCONFIG_CMD_RECONFIGURE’
  103 |         FSCONFIG_CMD_RECONFIGURE = 7,   /* Invoke superblock reconfiguration */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/mount.h:205:3: note: previous definition of ‘FSCONFIG_CMD_RECONFIGURE’ with type ‘enum fsconfig_command’
  205 |   FSCONFIG_CMD_RECONFIGURE = 7,   /* Invoke superblock reconfiguration */
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:129:8: error: redefinition of ‘struct mount_attr’
  129 | struct mount_attr {
      |        ^~~~~~~~~~
/usr/include/sys/mount.h:161:8: note: originally defined here
  161 | struct mount_attr
      |        ^~~~~~~~~~
make[3]: *** [Makefile:2115: libmonoruntime_la-w32file-unix.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/aur_builder/.cache/pikaur/build/mono-git/src/mono/mono/metadata'
make[2]: *** [Makefile:535: all-recursive] Error 1
make[2]: Leaving directory '/home/aur_builder/.cache/pikaur/build/mono-git/src/mono/mono'
make[1]: *** [Makefile:602: all-recursive] Error 1
make[1]: Leaving directory '/home/aur_builder/.cache/pikaur/build/mono-git/src/mono'
make: *** [Makefile:530: all] Error 2

FabioLolix commented on 2022-03-20 22:38 (UTC)

Thanks!

LinuxUserGD commented on 2022-03-20 22:37 (UTC)

@FabioLolix Ok, updated .SRCINFO to 6.12.0.173.r1404.5977f1ca545 (Mono JIT compiler version 6.13.0)

FabioLolix commented on 2022-03-20 12:36 (UTC)

Would you like to bump the pkgbuild? One pkgbuild I'm working on need a very recent build, solve this problem https://bugs.archlinux.org/task/71007 I had

tsj commented on 2022-02-22 15:41 (UTC)

@FabioLolix Thanks was not familiar with devtools, that worked where yay/makepkg did not

FabioLolix commented on 2022-02-21 21:49 (UTC)

builds fine here both using makepkg and devtools

tsj commented on 2022-02-21 21:25 (UTC)

Getting some build errors.

make[4]: Entering directory '/home/crab/.cache/yay/mono-git/src/mono/mono/mini'
  CC       libmini_la-mini.lo
mini.c: In function ‘create_jit_info’:
mini.c:2433:23: warning: enum conversion from ‘unsigned int’ to ‘MonoJitInfoFlags’ in assignment is invalid in C++ [-Wc++-compat]
 2433 |                 flags |= JIT_INFO_HAS_GENERIC_JIT_INFO;
      |                       ^~
mini.c:2447:31: warning: enum conversion from ‘unsigned int’ to ‘MonoJitInfoFlags’ in assignment is invalid in C++ [-Wc++-compat]
 2447 |                         flags |= JIT_INFO_HAS_ARCH_EH_INFO;
      |                               ^~
mini.c:2451:23: warning: enum conversion from ‘unsigned int’ to ‘MonoJitInfoFlags’ in assignment is invalid in C++ [-Wc++-compat]
 2451 |                 flags |= JIT_INFO_HAS_ARCH_EH_INFO;
      |                       ^~
mini.c:2454:23: warning: enum conversion from ‘unsigned int’ to ‘MonoJitInfoFlags’ in assignment is invalid in C++ [-Wc++-compat]
 2454 |                 flags |= JIT_INFO_HAS_THUNK_INFO;
      |                       ^~
mini.c:2469:31: warning: enum conversion from ‘unsigned int’ to ‘MonoJitInfoFlags’ in assignment is invalid in C++ [-Wc++-compat]
 2469 |                         flags |= JIT_INFO_HAS_TRY_BLOCK_HOLES;
      |                               ^~
mini.c: In function ‘mini_realloc_code_slow’:
mini.c:4377:34: warning: request for implicit conversion from ‘gpointer’ {aka ‘void *’} to ‘unsigned char *’ not permitted in C++ [-Wc++-compat]
 4377 |                 cfg->native_code = g_realloc (cfg->native_code, cfg->code_size);
      |                                  ^
mini.c: In function ‘mini_get_cpu_features’:
mini.c:4431:55: warning: enum conversion from ‘unsigned int’ to ‘MonoCPUFeatures’ in return is invalid in C++ [-Wc++-compat]
 4431 |         return (features | mono_cpu_features_enabled) & ~mono_cpu_features_disabled;
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       libmini_la-mini-runtime.lo
In file included from mini-runtime.c:88:
version.h:1:22: warning: missing terminating " character
    1 | #define FULL_VERSION "main/gpg: Signature made Fri Feb 18 09:28:41 2022 EST
      |                      ^
version.h:2:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
    2 | gpg:                using RSA key 4AEE18F83AFDEB23
      |    ^
version.h:2:21: warning: identifier ‘using’ conflicts with C++ keyword [-Wc++-compat]
    2 | gpg:                using RSA key 4AEE18F83AFDEB23
      |                     ^~~~~
version.h:2:35: error: invalid suffix "AEE18F83AFDEB23" on integer constant
    2 | gpg:                using RSA key 4AEE18F83AFDEB23
      |                                   ^~~~~~~~~~~~~~~~
version.h:4:27: warning: identifier "not" is a special operator name in C++ [-Wc++-compat]
    4 | gpg: WARNING: This key is not certified with a trusted signature!
      |                           ^
version.h:6:26: error: invalid suffix "DE3" on integer constant
    6 | Primary key fingerprint: 5DE3 E050 9C47 EA3C F04A  42D3 4AEE 18F8 3AFD EB23
      |                          ^~~~
version.h:6:36: error: invalid suffix "C47" on integer constant
    6 | Primary key fingerprint: 5DE3 E050 9C47 EA3C F04A  42D3 4AEE 18F8 3AFD EB23
      |                                    ^~~~
version.h:6:52: error: invalid suffix "D3" on integer constant
    6 | Primary key fingerprint: 5DE3 E050 9C47 EA3C F04A  42D3 4AEE 18F8 3AFD EB23
      |                                                    ^~~~
version.h:6:57: error: invalid suffix "AEE" on integer constant
    6 | Primary key fingerprint: 5DE3 E050 9C47 EA3C F04A  42D3 4AEE 18F8 3AFD EB23
      |                                                         ^~~~
version.h:6:62: error: invalid suffix "F8" on integer constant
    6 | Primary key fingerprint: 5DE3 E050 9C47 EA3C F04A  42D3 4AEE 18F8 3AFD EB23
      |                                                              ^~~~
version.h:6:67: error: invalid suffix "AFD" on integer constant
    6 | Primary key fingerprint: 5DE3 E050 9C47 EA3C F04A  42D3 4AEE 18F8 3AFD EB23
      |                                                                   ^~~~
version.h:7:1: error: invalid suffix "d2e3bc3b3c" on integer constant
    7 | 5d2e3bc3b3c"
      | ^~~~~~~~~~~
version.h:7:12: warning: missing terminating " character
    7 | 5d2e3bc3b3c"
      |            ^
version.h:7:12: error: missing terminating " character
mini-runtime.c: In function ‘mono_tramp_info_register_internal’:
mini-runtime.c:542:22: warning: request for implicit conversion from ‘gpointer’ {aka ‘void *’} to ‘MonoTrampInfo *’ not permitted in C++ [-Wc++-compat]
  542 |                 copy = mono_domain_alloc0 (domain, sizeof (MonoTrampInfo));
      |                      ^
mini-runtime.c:557:39: warning: request for implicit conversion from ‘gpointer’ {aka ‘void *’} to ‘guint8 *’ {aka ‘unsigned char *’} not permitted in C++ [-Wc++-compat]
  557 |                         copy->uw_info = mono_domain_alloc (domain, copy->uw_info_len);
      |                                       ^
mini-runtime.c: In function ‘mono_print_ji’:
mini-runtime.c:1124:77: warning: enum conversion when passing argument 1 of ‘mono_find_jit_icall_info’ is invalid in C++ [-Wc++-compat]
 1124 |                 printf ("[JIT_ICALL %s]", mono_find_jit_icall_info (ji->data.jit_icall_id)->name);
      |                                                                     ~~~~~~~~^~~~~~~~~~~~~
In file included from ../../mono/metadata/class-internals.h:1637,
                 from ../../mono/metadata/profiler-private.h:9,
                 from mini-runtime.c:42:
../../mono/metadata/jit-icall-reg.h:379:1: note: expected ‘MonoJitICallId’ but argument is of type ‘gsize’ {aka ‘long unsigned int’}
  379 | mono_find_jit_icall_info (MonoJitICallId id)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
mini-runtime.c: In function ‘mono_resolve_patch_target’:
mini-runtime.c:1425:89: warning: enum conversion when passing argument 1 of ‘mono_find_jit_icall_info’ is invalid in C++ [-Wc++-compat]
 1425 |                 MonoJitICallInfo * const mi = mono_find_jit_icall_info (patch_info->data.jit_icall_id);
      |                                                                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from ../../mono/metadata/class-internals.h:1637,
                 from ../../mono/metadata/profiler-private.h:9,
                 from mini-runtime.c:42:
../../mono/metadata/jit-icall-reg.h:379:1: note: expected ‘MonoJitICallId’ but argument is of type ‘gsize’ {aka ‘long unsigned int’}
  379 | mono_find_jit_icall_info (MonoJitICallId id)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
mini-runtime.c:1431:89: warning: enum conversion when passing argument 1 of ‘mono_find_jit_icall_info’ is invalid in C++ [-Wc++-compat]
 1431 |                 MonoJitICallInfo * const mi = mono_find_jit_icall_info (patch_info->data.jit_icall_id);
      |                                                                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from ../../mono/metadata/class-internals.h:1637,
                 from ../../mono/metadata/profiler-private.h:9,
                 from mini-runtime.c:42:
../../mono/metadata/jit-icall-reg.h:379:1: note: expected ‘MonoJitICallId’ but argument is of type ‘gsize’ {aka ‘long unsigned int’}
  379 | mono_find_jit_icall_info (MonoJitICallId id)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
mini-runtime.c: In function ‘create_runtime_invoke_info’:
mini-runtime.c:3128:51: warning: request for implicit conversion from ‘gpointer’ {aka ‘void *’} to ‘void **’ not permitted in C++ [-Wc++-compat]
 3128 |                                 info->wrapper_arg = g_malloc0 (2 * sizeof (gpointer));
      |                                                   ^
mini-runtime.c: In function ‘mono_llvmonly_runtime_invoke’:
mini-runtime.c:3207:38: warning: request for implicit conversion from ‘void *’ to ‘guint8 *’ {aka ‘unsigned char *’} not permitted in C++ [-Wc++-compat]
 3207 |                         nullable_buf = g_alloca (size);
      |                                      ^
mini-runtime.c: In function ‘mono_jit_runtime_invoke’:
mini-runtime.c:3422:21: warning: request for implicit conversion from ‘void *’ to ‘guint8 *’ {aka ‘unsigned char *’} not permitted in C++ [-Wc++-compat]
 3422 |                 buf = g_alloca (buf_size);
      |                     ^
In file included from mini-runtime.c:88:
mini-runtime.c: In function ‘mono_get_runtime_build_version’:
version.h:1:22: error: missing terminating " character
    1 | #define FULL_VERSION "main/gpg: Signature made Fri Feb 18 09:28:41 2022 EST
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
version.h:1:22: note: in definition of macro ‘FULL_VERSION’
    1 | #define FULL_VERSION "main/gpg: Signature made Fri Feb 18 09:28:41 2022 EST
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mini-runtime.c:5189:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type]
 5189 |         return FULL_VERSION;
      |         ^~~~~~
mini-runtime.c:5187:1: note: declared here
 5187 | mono_get_runtime_build_version (void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mini-runtime.c:88:
mini-runtime.c: In function ‘mono_get_runtime_build_info’:
version.h:1:22: error: missing terminating " character
    1 | #define FULL_VERSION "main/gpg: Signature made Fri Feb 18 09:28:41 2022 EST
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
version.h:1:22: note: in definition of macro ‘FULL_VERSION’
    1 | #define FULL_VERSION "main/gpg: Signature made Fri Feb 18 09:28:41 2022 EST
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mini-runtime.c:5202:76: error: expected expression before ‘,’ token
 5202 |                 return g_strdup_printf ("%s (%s %s)", VERSION, FULL_VERSION, mono_build_date);
      |                                                                            ^
In file included from mini-runtime.c:88:
version.h:1:22: error: missing terminating " character
    1 | #define FULL_VERSION "main/gpg: Signature made Fri Feb 18 09:28:41 2022 EST
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
version.h:1:22: note: in definition of macro ‘FULL_VERSION’
    1 | #define FULL_VERSION "main/gpg: Signature made Fri Feb 18 09:28:41 2022 EST
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mini-runtime.c:5205:1: error: control reaches end of non-void function [-Werror=return-type]
 5205 | }
      | ^
cc1: some warnings being treated as errors
make[4]: *** [Makefile:1956: libmini_la-mini-runtime.lo] Error 1
make[4]: Leaving directory '/home/crab/.cache/yay/mono-git/src/mono/mono/mini'
make[3]: *** [Makefile:1547: all] Error 2
make[3]: Leaving directory '/home/crab/.cache/yay/mono-git/src/mono/mono/mini'
make[2]: *** [Makefile:535: all-recursive] Error 1
make[2]: Leaving directory '/home/crab/.cache/yay/mono-git/src/mono/mono'
make[1]: *** [Makefile:602: all-recursive] Error 1
make[1]: Leaving directory '/home/crab/.cache/yay/mono-git/src/mono'
make: *** [Makefile:530: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...