Build error for lang/mono in mscorlib

Phil Deets II pjdeets2 at gmail.com
Fri Sep 4 09:36:05 UTC 2009


Hi, I'm trying to install mono on PC-BSD 7.1.1 (based off of FreeBSD
7.2-Stable). There doesn't seem to be a package at the moment so I'm
building the port, but I got a compile error. Please let me know if there
is a way for me to work around this. Thanks

This is from the top of the makefile:

# $FreeBSD: ports/lang/mono/Makefile,v 1.77 2009/06/22 07:55:46 flz Exp $
#   $Id: Makefile,v 1.98 2007/12/13 19:31:45 killfill Exp $

Here is the make output:
<snip>
gmake[6]: Entering directory `/usr/ports/lang/mono/work/mono-2.4/mcs/class'
gmake[7]: Entering directory
`/usr/ports/lang/mono/work/mono-2.4/mcs/class/corlib'
gmake all-local
gmake[8]: Entering directory
`/usr/ports/lang/mono/work/mono-2.4/mcs/class/corlib'
MCS     [net_2_0] mscorlib.dll
0x0 0x0 0x0 0x55 0x8b 0xec 0x57 0x83 0xec 0x14 0xb8 0x80 0x5e 0x71 0x28
0x83 0xec 0xc 0x68 0x0 0x76 0xe8 0x28 0x8b 0x5 0x0 0x76 0xe8 0x28 0xff
0x50 0x38
**
ERROR:mini-trampolines.c:122:mono_magic_trampoline: assertion failed: (vt)
Stacktrace:

     at System.Security.Permissions.FileIOPermission..cctor () <0xffffffff>
     at System.Security.Permissions.FileIOPermission..cctor () <0x0001d>
     at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
     at
System.Security.Permissions.FileIOPermissionAttribute.CreatePermission ()
<0xffffffff>
     at
System.Security.Permissions.FileIOPermissionAttribute.CreatePermission ()
<0x00018>
     at Mono.CSharp.Attribute.ExtractSecurityPermissionSet
(System.Collections.Specialized.ListDictionary) <0x0037b>
     at Mono.CSharp.ClassOrStruct.ApplyAttributeBuilder
(Mono.CSharp.Attribute,System.Reflection.Emit.CustomAttributeBuilder)
<0x00067>
     at Mono.CSharp.Class.ApplyAttributeBuilder
(Mono.CSharp.Attribute,System.Reflection.Emit.CustomAttributeBuilder)
<0x00180>
     at Mono.CSharp.Attribute.Emit
(System.Collections.Specialized.ListDictionary) <0x0011f>
     at Mono.CSharp.Attributes.Emit () <0x000f0>
     at Mono.CSharp.TypeContainer.EmitType () <0x0004d>
     at Mono.CSharp.RootContext.EmitCode () <0x0008e>
     at Mono.CSharp.Driver.Compile () <0x005d4>
     at Mono.CSharp.Driver.Main (string[]) <0x0006c>
     at (wrapper runtime-invoke)  
Mono.CSharp.Driver.runtime_invoke_int_object
(object,intptr,intptr,intptr) <0xffffffff>
Abort trap
gmake[8]: *** [../../class/lib/net_2_0/mscorlib.dll] Error 134
gmake[8]: Leaving directory
`/usr/ports/lang/mono/work/mono-2.4/mcs/class/corlib'
gmake[7]: *** [do-all] Error 2
gmake[7]: Leaving directory
`/usr/ports/lang/mono/work/mono-2.4/mcs/class/corlib'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4/mcs/class'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4/mcs'
gmake[4]: *** [profile-do--net_2_0--all] Error 2
gmake[4]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/lang/mono/work/mono-2.4'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/lang/mono.


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the freebsd-mono mailing list