Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libmono-native-compat.dylib missing from macOS packaging #17198

Closed
pchote opened this issue Oct 7, 2019 · 0 comments · Fixed by #17201

Comments

@pchote
Copy link
Member

commented Oct 7, 2019

Library is missing from the mkbundle redistribution (like on Linux), and need to remove the $mono_libdir/s from the config. This will need to be fixed in https://github.com/OpenRA/OpenRALauncherOSX/

Regression from #17170.

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'OpenRA.Platform' threw an exception. ---> System.DllNotFoundException: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/../lib/libmono-native-compat.dylib assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Interop+Sys.GetNonCryptographicallySecureRandomBytes(byte*,int)
  at Interop.GetRandomBytes (System.Byte* buffer, System.Int32 length) [0x00000] in <b814b509d4ad406fb40c6c93e38929e7>:0 
  at System.Guid.NewGuid () [0x00000] in <b814b509d4ad406fb40c6c93e38929e7>:0 
  at OpenRA.Platform..cctor () [0x00000] in <ed3af7fbe29b438f9d5e479d4a9cd718>:0 
   --- End of inner exception stack trace ---
  at OpenRA.Log+<FilenamesForChannel>d__1.MoveNext () [0x0001a] in <ed3af7fbe29b438f9d5e479d4a9cd718>:0 
  at OpenRA.Log.AddChannel (System.String channelName, System.String baseFilename, System.Boolean isTimestamped) [0x000a0] in <ed3af7fbe29b438f9d5e479d4a9cd718>:0 
  at OpenRA.ExceptionHandler.HandleFatalError (System.Exception ex) [0x00027] in <ed3af7fbe29b438f9d5e479d4a9cd718>:0 
  at OpenRA.Program+<>c.<Main>b__0_0 (System.Object _, System.UnhandledExceptionEventArgs e) [0x00006] in <ed3af7fbe29b438f9d5e479d4a9cd718>:0 
2019-10-07 20:39:16.573 OpenRA[2476:221126] launchgame exited with code 1
@pchote pchote added the Regression label Oct 7, 2019
@pchote pchote added this to the Next Release milestone Oct 7, 2019
@pchote pchote self-assigned this Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.