[Mono-dev] trouble building latest mono from svn trunk

Tom Hindle tom_hindle at sil.org
Thu Oct 8 19:57:36 EDT 2009


Thanks for your help!

the touch didn't work so I deleted:
mcs/class/net_2_1_bootstrap/System.Net.dll 

then every thing built.

I guess I should have run svn-clean first :) 

Thanks
Tom

On Thu, 2009-10-08 at 18:35 -0400, Sebastien Pouliot wrote:
> On Thu, 2009-10-08 at 16:18 -0600, Tom Hindle wrote:
> > I've been unable to build the latest mono for the last day or so, is any
> > one else having problems, or is just my setup?
> 
> It's a bug in the Makefile. To work around it do
> 
> 	touch mcs/class/corlib/*.sources
> 
> and rebuild. As an alternative you can also (unless you also build
> Moonlight from SVN) re-run mono's configure to disable the 2.1 profile -
> which has the advantage (for some ;-) to make your build faster.
> 
> Sebastien
> 
> > Thanks
> > Tom
> >  
> > svn info:
> > URL: svn://anonsvn.mono-project.com/source/trunk/mono
> > Repository Root: svn://anonsvn.mono-project.com/source
> > Repository UUID: e3ebcda4-bce8-0310-ba0a-eca2169e7518
> > Revision: 143810
> > Node Kind: directory
> > Schedule: normal
> > Last Changed Author: marek
> > Last Changed Rev: 143711
> > Last Changed Date: 2009-10-07 14:39:21 -0600 (Wed, 07 Oct 2009)
> > 
> > 
> > 
> > make[7]: Entering directory `/home/hindlet/src/monosvn/mcs/mcs'
> > Makefile:47: warning: overriding commands for target `csproj-local'
> > ../build/executable.make:131: warning: ignoring old commands for target
> > `csproj-local'
> > MCS     [net_2_1_raw] smcs.exe
> > attribute.cs(906,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > class.cs(2684,78): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > class.cs(3941,80): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(877,25): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(880,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(881,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(882,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(883,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(884,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(885,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(890,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(891,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(892,45): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(908,33): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(943,25): warning CS0618:
> > `System.Security.Permissions.SecurityAttribute' is obsolete: `CAS
> > support is not available with Silverlight applications.'
> > attribute.cs(977,25): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(946,39): warning CS0618:
> > `System.Security.Permissions.SecurityAttribute' is obsolete: `CAS
> > support is not available with Silverlight applications.'
> > attribute.cs(956,39): warning CS0618:
> > `System.Security.Permissions.SecurityAttribute' is obsolete: `CAS
> > support is not available with Silverlight applications.'
> > attribute.cs(982,53): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(985,53): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(988,53): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(983,51): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(986,51): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > attribute.cs(989,51): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > class.cs(4825,85): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > class.cs(6152,92): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > codegen.cs(947,110): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > codegen.cs(948,136): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > codegen.cs(949,136): warning CS0618:
> > `System.Security.Permissions.SecurityAction' is obsolete: `CAS support
> > is not available with Silverlight applications.'
> > support.cs(104,25): warning CS0618:
> > `System.Collections.Hashtable.comparer' is obsolete: `Please use
> > EqualityComparer property.'
> > dynamic.cs(53,31): warning CS0414: The private field
> > `Mono.CSharp.RuntimeValueExpression.typed' is assigned but its value is
> > never used
> > 
> > ** (./../class/lib/net_2_1_bootstrap/smcs.exe:19293): WARNING **:
> > Missing method .ctor in
> > assembly /home/hindlet/src/monosvn/mcs/class/lib/net_2_1_bootstrap/System.Net.dll, type System.Runtime.InteropServices.ComCompatibleVersionAttribute
> > 
> > ** (./../class/lib/net_2_1_bootstrap/smcs.exe:19293): WARNING **: The
> > class System.Runtime.InteropServices.ComCompatibleVersionAttribute could
> > not be loaded, used in System.Net
> > 
> > ** (./../class/lib/net_2_1_bootstrap/smcs.exe:19293): WARNING **: Can't
> > find custom attr constructor
> > image: /home/hindlet/src/monosvn/mcs/class/lib/net_2_1_bootstrap/System.Net.dll mtoken: 0x0a0001bd
> > 
> > Unhandled Exception: System.TypeLoadException: Could not load type
> > 'System.Runtime.InteropServices.ComCompatibleVersionAttribute' from
> > assembly 'System.Net'.
> >   at (wrapper managed-to-native)
> > System.MonoCustomAttrs:GetCustomAttributesInternal
> > (System.Reflection.ICustomAttributeProvider,System.Type,bool)
> >   at System.MonoCustomAttrs.GetCustomAttributesBase
> > (ICustomAttributeProvider obj, System.Type attributeType) [0x00000] 
> >   at System.MonoCustomAttrs.GetCustomAttributes
> > (ICustomAttributeProvider obj, System.Type attributeType, Boolean
> > inherit) [0x00000] 
> >   at System.Reflection.Assembly.GetCustomAttributes (System.Type
> > attributeType, Boolean inherit) [0x00000] 
> >   at Mono.CSharp.TypeManager.IsThisOrFriendAssembly
> > (System.Reflection.Assembly invocationAssembly,
> > System.Reflection.Assembly assembly) [0x00000] 
> >   at Mono.CSharp.RootNamespace.GetTypeInAssembly
> > (System.Reflection.Assembly invocation, System.Reflection.Assembly
> > assembly, System.String name) [0x00000] 
> >   at Mono.CSharp.RootNamespace.LookupTypeReflection
> > (Mono.CSharp.CompilerContext ctx, System.String name, Location loc,
> > Boolean must_be_unique) [0x00000] 
> >   at Mono.CSharp.GlobalRootNamespace.LookupTypeReflection
> > (Mono.CSharp.CompilerContext ctx, System.String name, Location loc,
> > Boolean must_be_unique) [0x00000] 
> >   at Mono.CSharp.Namespace.LookupType (Mono.CSharp.CompilerContext ctx,
> > System.String name, Location loc) [0x00000] 
> >   at Mono.CSharp.Namespace.Lookup (Mono.CSharp.CompilerContext ctx,
> > System.String name, Location loc) [0x00000] 
> >   at Mono.CSharp.NamespaceEntry.Lookup (System.String name, Location
> > loc, Boolean ignore_cs0104) [0x00000] 
> >   at Mono.CSharp.NamespaceEntry.LookupNamespaceOrType (System.String
> > name, Location loc, Boolean ignore_cs0104) [0x00000] 
> >   at Mono.CSharp.ResolveContext.LookupNamespaceOrType (System.String
> > name, Location loc, Boolean ignore_cs0104) [0x00000] 
> >   at Mono.CSharp.SimpleName.ResolveAsTypeStep (IMemberContext ec,
> > Boolean silent) [0x00000] 
> >   at Mono.CSharp.SimpleName.DoSimpleNameResolve
> > (Mono.CSharp.ResolveContext ec, Mono.CSharp.Expression right_side,
> > Boolean intermediate) [0x00000] 
> >   at Mono.CSharp.SimpleName.SimpleNameResolve
> > (Mono.CSharp.ResolveContext ec, Mono.CSharp.Expression right_side,
> > Boolean intermediate) [0x00000] 
> >   at Mono.CSharp.SimpleName.DoResolve (Mono.CSharp.ResolveContext ec,
> > Boolean intermediate) [0x00000] 
> >   at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec,
> > ResolveFlags flags) [0x00000] 
> >   at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext ec,
> > Mono.CSharp.Expression right_side) [0x00000] 
> >   at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext ec)
> > [0x00000] 
> >   at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec,
> > ResolveFlags flags) [0x00000] 
> >   at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec)
> > [0x00000] 
> >   at Mono.CSharp.Argument.Resolve (Mono.CSharp.ResolveContext ec)
> > [0x00000] 
> >   at Mono.CSharp.Arguments.Resolve (Mono.CSharp.ResolveContext ec,
> > System.Boolean& dynamic) [0x00000] 
> >   at Mono.CSharp.Attribute.ResolveConstructor
> > (Mono.CSharp.ResolveContext ec) [0x00000] 
> >   at Mono.CSharp.GlobalAttribute.ResolveConstructor
> > (Mono.CSharp.ResolveContext ec) [0x00000] 
> >   at Mono.CSharp.Attribute.Resolve () [0x00000] 
> >   at Mono.CSharp.Attribute.Emit
> > (System.Collections.Specialized.ListDictionary allEmitted) [0x00000] 
> >   at Mono.CSharp.Attributes.Emit () [0x00000] 
> >   at Mono.CSharp.CommonAssemblyModulClass.Emit
> > (Mono.CSharp.TypeContainer tc) [0x00000] 
> >   at Mono.CSharp.AssemblyClass.Emit (Mono.CSharp.TypeContainer tc)
> > [0x00000] 
> >   at Mono.CSharp.RootContext.EmitCode () [0x00000] 
> >   at Mono.CSharp.Driver.Compile () [0x00000] 
> >   at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] 
> > make[7]: *** [../class/lib/net_2_1_raw/smcs.exe] Error 1
> > make[7]: Leaving directory `/home/hindlet/src/monosvn/mcs/mcs'
> > make[6]: *** [do-all] Error 2
> > make[6]: Leaving directory `/home/hindlet/src/monosvn/mcs/mcs'
> > make[5]: *** [all-recursive] Error 1
> > make[5]: Leaving directory `/home/hindlet/src/monosvn/mcs'
> > make[4]: *** [profile-do--net_2_1_raw--all] Error 2
> > make[4]: Leaving directory `/home/hindlet/src/monosvn/mcs'
> > make[3]: *** [profiles-do--all] Error 2
> > make[3]: Leaving directory `/home/hindlet/src/monosvn/mcs'
> > make[2]: *** [all-local] Error 2
> > make[2]: Leaving directory `/home/hindlet/src/monosvn/mono/runtime'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/hindlet/src/monosvn/mono'
> > make: *** [all] Error 2
> > 
> > 
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> X-Quarantine ID  /var/spool/MD-Quarantine/19/qdir-2009-10-08-19.35.11-001



More information about the Mono-devel-list mailing list