[Mono-dev] Mono 3.2.8 fails to compile from source

Daniel Isenmann daniel.isenmann at gmx.de
Sun Feb 23 20:39:44 UTC 2014


Hi,

mono 3.2.8 fails to compile from source tarball (at least on a x86_64,
don't tested it on a i686 system). Following error appears:

System.IO.MemoryMappedFiles/MemoryMappedFile.cs(442,8): warning CS0414:
The private field
`System.IO.MemoryMappedFiles.MemoryMappedFile.fileCapacity' is assigned
but its value is never used
Compilation succeeded - 10 warning(s)
MCS     [build] mcs.exe
AOT     [build] mscorlib.dll.so
AOT     [build] mcs.exe.so
MCS     [build] gacutil.exe
MCS     [build] sn.exe
MCS     [build] culevel.exe
CompileUplevel.cs(943,34): warning CS0618:
`System.CodeDom.Compiler.CodeDomProvider.CreateGenerator()' is obsolete:
`ICodeGenerator is obsolete'
Compilation succeeded - 1 warning(s)
mkdir -p -- ../../class/lib/net_2_0/tmp/
MCS     [net_2_0] mscorlib.dll

Unhandled Exception:
Nested exception detected.
Original Exception: at System.NumberFormatter.GetInstance () <0x00029>
at System.NumberFormatter.NumberToString
(string,int,System.IFormatProvider) <0x00016>
at int.ToString (string,System.IFormatProvider) <0x00027>
at string.FormatHelper
(System.Text.StringBuilder,System.IFormatProvider,string,object[])
<0x00539>
at System.Text.StringBuilder.AppendFormat
(System.IFormatProvider,string,object[]) <0x0002e>
at System.Text.StringBuilder.AppendFormat (string,object,object,object)
<0x000a2>
at Mono.CSharp.ReportPrinter.Print
(Mono.CSharp.AbstractMessage,System.IO.TextWriter,bool) <0x00150>
at Mono.CSharp.StreamReportPrinter.Print
(Mono.CSharp.AbstractMessage,bool) <0x00028>
at Mono.CSharp.Report.Error (int,Mono.CSharp.Location,string) <0x0008e>
at Mono.CSharp.Report.Error (int,Mono.CSharp.Location,string,string)
<0x00040>
at Mono.CSharp.Report.Error (int,string,string) <0x00046>
at Mono.CSharp.CommandLineParser.ParseOption
(string,string[]&,Mono.CSharp.CompilerSettings) <0x01fcb>
at Mono.CSharp.CommandLineParser.ParseArguments
(Mono.CSharp.CompilerSettings,string[]) <0x0035c>
at Mono.CSharp.CommandLineParser.ParseArguments (string[]) <0x00040>
at Mono.CSharp.Driver.Main (string[]) <0x00081>

Nested exception:at System.NumberFormatter.GetInstance () <0x00029>
at System.NumberFormatter.NumberToString
(string,int,System.IFormatProvider) <0x00016>
at int.ToString (string,System.IFormatProvider) <0x00027>
at string.FormatHelper
(System.Text.StringBuilder,System.IFormatProvider,string,object[])
<0x00539>
at System.Text.StringBuilder.AppendFormat
(System.IFormatProvider,string,object[]) <0x0002e>
at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
at System.Exception.AddFrames
(System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace)
<0x001e9>
at System.Exception.get_StackTrace () <0x0016b>
at System.Exception.ToString () <0x0010d>


[ERROR] FATAL UNHANDLED EXCEPTION: Nested exception detected.
Original Exception: at System.NumberFormatter.GetInstance () <0x00029>
at System.NumberFormatter.NumberToString
(string,int,System.IFormatProvider) <0x00016>
at int.ToString (string,System.IFormatProvider) <0x00027>
at string.FormatHelper
(System.Text.StringBuilder,System.IFormatProvider,string,object[])
<0x00539>
at System.Text.StringBuilder.AppendFormat
(System.IFormatProvider,string,object[]) <0x0002e>
at System.Text.StringBuilder.AppendFormat (string,object,object,object)
<0x000a2>
at Mono.CSharp.ReportPrinter.Print
(Mono.CSharp.AbstractMessage,System.IO.TextWriter,bool) <0x00150>
at Mono.CSharp.StreamReportPrinter.Print
(Mono.CSharp.AbstractMessage,bool) <0x00028>
at Mono.CSharp.Report.Error (int,Mono.CSharp.Location,string) <0x0008e>
at Mono.CSharp.Report.Error (int,Mono.CSharp.Location,string,string)
<0x00040>
at Mono.CSharp.Report.Error (int,string,string) <0x00046>
at Mono.CSharp.CommandLineParser.ParseOption
(string,string[]&,Mono.CSharp.CompilerSettings) <0x01fcb>
at Mono.CSharp.CommandLineParser.ParseArguments
(Mono.CSharp.CompilerSettings,string[]) <0x0035c>
at Mono.CSharp.CommandLineParser.ParseArguments (string[]) <0x00040>
at Mono.CSharp.Driver.Main (string[]) <0x00081>

Nested exception:at System.NumberFormatter.GetInstance () <0x00029>
at System.NumberFormatter.NumberToString
(string,int,System.IFormatProvider) <0x00016>
at int.ToString (string,System.IFormatProvider) <0x00027>
at string.FormatHelper
(System.Text.StringBuilder,System.IFormatProvider,string,object[])
<0x00539>
at System.Text.StringBuilder.AppendFormat
(System.IFormatProvider,string,object[]) <0x0002e>
at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
at System.Exception.AddFrames
(System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace)
<0x001e9>
at System.Exception.get_StackTrace () <0x0016b>
at System.Exception.ToString () <0x0010d>


../../build/library.make:263: recipe for target
'../../class/lib/net_2_0/tmp/mscorlib.dll' failed
make[8]: *** [../../class/lib/net_2_0/tmp/mscorlib.dll] Error 1
../../build/rules.make:143: recipe for target 'do-all' failed
make[7]: *** [do-all] Error 2
../build/rules.make:164: recipe for target 'all-recursive' failed
make[6]: *** [all-recursive] Error 1
build/rules.make:164: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
Makefile:100: recipe for target 'profile-do--net_2_0--all' failed
make[4]: *** [profile-do--net_2_0--all] Error 2
Makefile:96: recipe for target 'profiles-do--all' failed
make[3]: *** [profiles-do--all] Error 2
Makefile:510: recipe for target 'all-local' failed
make[2]: *** [all-local] Error 2
make[2]: Leaving directory '/build/mono/src/mono-3.2.8/runtime'
Makefile:453: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/mono/src/mono-3.2.8'
Makefile:380: recipe for target 'all' failed
make: *** [all] Error 2


Anyone have a glue what goes wrong here??

Thanks 
Daniel






More information about the Mono-devel-list mailing list