distribution
distribution copied to clipboard
mono issue
> mcs
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: System.Native assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
at Interop+Sys..cctor () [0x00000] in <1c533ad655b24827a0615b268c92ffef>:0
--- End of inner exception stack trace ---
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <1c533ad655b24827a0615b268c92ffef>:0
at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath, Interop+ErrorInfo& errorInfo) [0x00000] in <1c533ad655b24827a0615b268c92ffef>:0
at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath) [0x00000] in <1c533ad655b24827a0615b268c92ffef>:0
at System.IO.Directory.Exists (System.String path) [0x0001e] in <1c533ad655b24827a0615b268c92ffef>:0
at System.TermInfoDriver.SearchTerminfo (System.String term) [0x00020] in <1c533ad655b24827a0615b268c92ffef>:0
at System.TermInfoDriver..ctor (System.String term) [0x0004b] in <1c533ad655b24827a0615b268c92ffef>:0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <1c533ad655b24827a0615b268c92ffef>:0
at System.ConsoleDriver..cctor () [0x0004d] in <1c533ad655b24827a0615b268c92ffef>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <1c533ad655b24827a0615b268c92ffef>:0
at System.Console..cctor () [0x0007d] in <1c533ad655b24827a0615b268c92ffef>:0
--- End of inner exception stack trace ---
at Mono.CSharp.Driver.Main (System.String[] args) [0x00019] in <57ff22b25cdd4e8e91bd417cc75a233a>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: System.Native assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
at Interop+Sys..cctor () [0x00000] in <1c533ad655b24827a0615b268c92ffef>:0
--- End of inner exception stack trace ---
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <1c533ad655b24827a0615b268c92ffef>:0
at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath, Interop+ErrorInfo& errorInfo) [0x00000] in <1c533ad655b24827a0615b268c92ffef>:0
at System.IO.FileSystem.DirectoryExists (System.ReadOnlySpan`1[T] fullPath) [0x00000] in <1c533ad655b24827a0615b268c92ffef>:0
at System.IO.Directory.Exists (System.String path) [0x0001e] in <1c533ad655b24827a0615b268c92ffef>:0
at System.TermInfoDriver.SearchTerminfo (System.String term) [0x00020] in <1c533ad655b24827a0615b268c92ffef>:0
at System.TermInfoDriver..ctor (System.String term) [0x0004b] in <1c533ad655b24827a0615b268c92ffef>:0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <1c533ad655b24827a0615b268c92ffef>:0
at System.ConsoleDriver..cctor () [0x0004d] in <1c533ad655b24827a0615b268c92ffef>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <1c533ad655b24827a0615b268c92ffef>:0
at System.Console..cctor () [0x0007d] in <1c533ad655b24827a0615b268c92ffef>:0
--- End of inner exception stack trace ---
at Mono.CSharp.Driver.Main (System.String[] args) [0x00019] in <57ff22b25cdd4e8e91bd417cc75a233a>:0
?
Ah, mono was missing its -dev subpackage in the bundle and it really wants a symlink from that in order to run mcs. Should be fixed in the next release or so.