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 (201)

Sources (23)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

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...

carlosal1015 commented on 2021-12-07 02:47 (UTC)

Thank you @hugegameartgd, now is working and takes 45 minutes to build in GitLab CI pipeline.

LinuxUserGD commented on 2021-12-07 00:41 (UTC)

@carlosal1015 Should be fixed now, see https://aur.archlinux.org/cgit/aur.git/commit/?h=mono-git&id=fccbec145e0856b7ad66589c674ce989e6cb2e6e

carlosal1015 commented on 2021-12-06 14:48 (UTC)

Hi, I have the following message error. I do not know.

Submodule 'external/llvm-project' (https://github.com/dotnet/llvm-project.git) registered for path 'external/llvm-project'
Cloning into '/tmp/makepkg/mono-git/src/mono/external/llvm-project'...
done.
From /tmp/makepkg/mono-git/src/llvm-project
 * branch                    7dfdea1267f0a40955e02567dcbcd1bcb987e825 -> FETCH_HEAD
Submodule path 'external/llvm-project': checked out '7dfdea1267f0a40955e02567dcbcd1bcb987e825'
error: pathspec 'external/helix-binaries' did not match any file(s) known to git
==> ERROR: A failure occurred in prepare().
    Aborting...

LinuxUserGD commented on 2020-07-09 13:01 (UTC)

This package has been flagged out of date but because it's VCS and cloned from git, it should always be mono=${pkgver} which is the latest dev source possible. Correct me if I'm wrong but it should be still valid without a rebuild, only if there are any issues with the PKGBUILD itself.

LinuxUserGD commented on 2020-03-14 15:49 (UTC) (edited on 2020-03-14 15:54 (UTC) by LinuxUserGD)

@FabioLolix Thanks for adding me as co-maintainer, I tried to contact you but now just pushed the diff below and some second fix. Last patch in provides ensures that msbuild-git detects correct version of mono. Not sure how it should correctly look like in .srcinfo though.

LinuxUserGD commented on 2019-12-18 17:28 (UTC) (edited on 2020-01-02 19:33 (UTC) by LinuxUserGD)

@RononDex

diff --git a/PKGBUILD b/PKGBUILD
index cb8a9f3..71b1560 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@

 pkgname='mono-git'
 _gitname='mono'
-pkgver=5.18.0.225.r1530.d1a5fa3783b
+pkgver=6.6.0.161.r1685.ff6294d2311
 pkgrel=1
 pkgdesc='Free implementation of the .NET platform including runtime and compiler'
 url='http://www.mono-project.com/'
@@ -36,13 +36,14 @@ source=(
   'git+https://github.com/mono/xunit-binaries.git'
   'git+https://github.com/mono/api-doc-tools.git'
   'git+https://github.com/mono/api-snapshot.git'
-  'git+https://github.com/mono/llvm.git#branch=release_60'
+  'git+https://github.com/dotnet/llvm-project.git'
   'git+https://github.com/mono/helix-binaries.git'
+  'git+https://github.com/Unity-Technologies/bdwgc.git'
   'mono.binfmt.d'
 )
 sha256sums=(
   'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP'
-  'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP'
+  'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP'
   '9a657fc153ef4ce23bf5fc369a26bf4a124e9304bde3744d04c583c54ca47425'
 )

@@ -80,8 +81,9 @@ prepare() {
     'xunit-binaries'
     'api-doc-tools'
     'api-snapshot'
-    'llvm'
+    'llvm-project'
     'helix-binaries'
+    'bdwgc'
   )

   for module in "${submodules[@]}"; do
@@ -139,12 +141,12 @@ package() {

   # Fix .pc file to be able to request mono on what it depends, fixes
   # go-oo build:
-  sed -i -e           \
-    "s:/2.0/:/4.5/:g" \
-    "${pkgdir}/usr/lib/pkgconfig/mono-nunit.pc"
-  sed -i -e                 \
-    "s:#Requires:Requires:" \
-    "${pkgdir}/usr/lib/pkgconfig/mono.pc"
+  #sed -i -e           \
+    #"s:/2.0/:/4.5/:g" \
+    #"${pkgdir}/usr/lib/pkgconfig/mono-nunit.pc"
+  #sed -i -e                 \
+    #"s:#Requires:Requires:" \
+    #"${pkgdir}/usr/lib/pkgconfig/mono.pc"
 }

 # vim: ts=2 sw=2 et:

RononDex commented on 2019-11-26 08:43 (UTC) (edited on 2019-11-26 08:43 (UTC) by RononDex)

I keep getting this error when trying to build this package: error: pathspec 'external/llvm' did not match any file(s) known to git

PedroHLC commented on 2019-08-29 12:30 (UTC)

@hugegameartgd for now, delete that line...

LinuxUserGD commented on 2019-08-28 15:03 (UTC)

@PedroHLC I get the same error. Is there any fix available?