[Mono-bugs] [Bug 57778][Blo] New - mono doesn't compile

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 28 Apr 2004 10:59:04 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tambet@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=57778

--- shadow/57778	2004-04-28 10:59:04.000000000 -0400
+++ shadow/57778.tmp.5085	2004-04-28 10:59:04.000000000 -0400
@@ -0,0 +1,66 @@
+Bug#: 57778
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tambet@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono doesn't compile
+
+Why is building mono always so frustrating? Every time there is a bug I'm
+told to use latest from CVS. Almost every time I 'cvs up' it won't build
+after that. Here's the latest (using anocvs)
+
+cvs co mono
+cvs co mcs
+cd mono
+./configure --prefix=/opt/mono
+make fullbuild
+
+rm -f ./../mcs/class/lib/default/mscorlib.dll ./../mcs/mcs/mcs.exe
+./runtime/*.dll ./runtime/*.exe
+cd ./../mcs/jay; make
+make[1]: Entering directory `/home/tambet/cvs/mcs/jay'
+make[1]: Leaving directory `/home/tambet/cvs/mcs/jay'
+cd ./../mcs/mcs; make MCS=mcs BOOTSTRAP_MCS=mcs
+make[1]: Entering directory `/home/tambet/cvs/mcs/mcs'
+mcs   -d:NET_1_1 -d:ONLY_1_1 -g /target:exe /out:mcs.exe AssemblyInfo.cs
+anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs
+class.cs codegen.cs const.cs constant.cs convert.cs decl.cs delegate.cs
+enum.cs ecore.cs expression.cs flowanalysis.cs genericparser.cs
+iterators.cs literal.cs location.cs modifiers.cs namespace.cs parameter.cs
+pending.cs report.cs rootcontext.cs statement.cs support.cs typemanager.cs
+symbolwriter.cs tree.cs CryptoConvert.cs cs-parser.cs
+class.cs(2950) warning CS0109: The member `Mono.CSharp.Method.Location'
+does not hide an inherited member.  The keyword new is not required
+Compilation succeeded - 1 warning(s)
+make[1]: Leaving directory `/home/tambet/cvs/mcs/mcs'
+cd ./../mcs/class/corlib; make MCS=mcs BOOTSTRAP_MCS=mcs
+make[1]: Entering directory `/home/tambet/cvs/mcs/class/corlib'
+mcs /nowarn:649 /nowarn:169 -d:INSIDE_CORLIB  -d:NET_1_1 -d:ONLY_1_1 -g
+/noconfig /unsafe /nostdlib /target:library
+/out:../../class/lib/default/mscorlib.dll
+@../../build/deps/default_corlib.dll.response
+ 
+Unhandled Exception: System.NullReferenceException: A null value was found
+where an object instance was required.
+in <0x0002e> Mono.Security.Cryptography.CryptoConvert:ToCapiKeyBlob
+(System.Security.Cryptography.RSA,bool)
+in <0x00032> Mono.Security.StrongName:get_PublicKey ()
+in <0x00769> System.Reflection.Emit.AssemblyBuilder:Save (string)
+in <0x00036> Mono.CSharp.CodeGen:Save (string)
+in <0x014cb> Mono.CSharp.Driver:MainDriver (string[])
+in <0x00020> Mono.CSharp.Driver:Main (string[])
+ 
+make[1]: *** [../../class/lib/default/mscorlib.dll] Error 1
+make[1]: Leaving directory `/home/tambet/cvs/mcs/class/corlib'
+make: *** [mcs-tree-safe-build] Error 2