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

[catalyst] ignored introspection failures for native symbols #10883

Closed
spouliot opened this issue Mar 16, 2021 · 1 comment
Closed

[catalyst] ignored introspection failures for native symbols #10883

spouliot opened this issue Mar 16, 2021 · 1 comment
Labels
bug If an issue is a bug or a pull request a bug fix Mac Catalyst Issues affecting Mac Catalyst
Milestone

Comments

@spouliot
Copy link
Contributor

The way things are build (right now) the BCL for MacCatalyst includes extra p/invokes to functions that do not exists in libmono-native.dylib.

The following test cases will be disable on catalyst until this is resolved.

  • Corlib
[FAIL] Could not find the symbol 'SystemNative_ConvertErrorPlatformToPal' in libmono-native.dylib for the P/Invoke Interop+Sys.ConvertErrorPlatformToPal in mscorlib
[FAIL] Could not find the symbol 'SystemNative_ConvertErrorPalToPlatform' in libmono-native.dylib for the P/Invoke Interop+Sys.ConvertErrorPalToPlatform in mscorlib
[FAIL] Could not find the symbol 'SystemNative_StrErrorR' in libmono-native.dylib for the P/Invoke Interop+Sys.StrErrorR in mscorlib
[FAIL] Could not find the symbol 'SystemNative_GetNonCryptographicallySecureRandomBytes' in libmono-native.dylib for the P/Invoke Interop+Sys.GetNonCryptographicallySecureRandomBytes in mscorlib
[FAIL] Could not find the symbol 'SystemNative_OpenDir' in libmono-native.dylib for the P/Invoke Interop+Sys.OpenDir in mscorlib
[FAIL] Could not find the symbol 'SystemNative_GetReadDirRBufferSize' in libmono-native.dylib for the P/Invoke Interop+Sys.GetReadDirRBufferSize in mscorlib
[FAIL] Could not find the symbol 'SystemNative_ReadDirR' in libmono-native.dylib for the P/Invoke Interop+Sys.ReadDirR in mscorlib
[FAIL] Could not find the symbol 'SystemNative_CloseDir' in libmono-native.dylib for the P/Invoke Interop+Sys.CloseDir in mscorlib
[FAIL] Could not find the symbol 'SystemNative_ReadLink' in libmono-native.dylib for the P/Invoke Interop+Sys.ReadLink in mscorlib
[FAIL] Could not find the symbol 'SystemNative_FStat2' in libmono-native.dylib for the P/Invoke Interop+Sys.FStat in mscorlib
[FAIL] Could not find the symbol 'SystemNative_Stat2' in libmono-native.dylib for the P/Invoke Interop+Sys.Stat in mscorlib
[FAIL] Could not find the symbol 'SystemNative_LStat2' in libmono-native.dylib for the P/Invoke Interop+Sys.LStat in mscorlib
[FAIL] Could not find the symbol 'SystemNative_Symlink' in libmono-native.dylib for the P/Invoke Interop+Sys.Symlink in mscorlib
[FAIL] Could not find the symbol 'SystemNative_ChMod' in libmono-native.dylib for the P/Invoke Interop+Sys.ChMod in mscorlib
[FAIL] Could not find the symbol 'SystemNative_CopyFile' in libmono-native.dylib for the P/Invoke Interop+Sys.CopyFile in mscorlib
[FAIL] Could not find the symbol 'SystemNative_GetEGid' in libmono-native.dylib for the P/Invoke Interop+Sys.GetEGid in mscorlib
[FAIL] Could not find the symbol 'SystemNative_GetEUid' in libmono-native.dylib for the P/Invoke Interop+Sys.GetEUid in mscorlib
[FAIL] Could not find the symbol 'SystemNative_LChflags' in libmono-native.dylib for the P/Invoke Interop+Sys.LChflags in mscorlib
[FAIL] Could not find the symbol 'SystemNative_LChflagsCanSetHiddenFlag' in libmono-native.dylib for the P/Invoke Interop+Sys.LChflagsCanSetHiddenFlag in mscorlib
[FAIL] Could not find the symbol 'SystemNative_Link' in libmono-native.dylib for the P/Invoke Interop+Sys.Link in mscorlib
[FAIL] Could not find the symbol 'SystemNative_MkDir' in libmono-native.dylib for the P/Invoke Interop+Sys.MkDir in mscorlib
[FAIL] Could not find the symbol 'SystemNative_Rename' in libmono-native.dylib for the P/Invoke Interop+Sys.Rename in mscorlib
[FAIL] Could not find the symbol 'SystemNative_RmDir' in libmono-native.dylib for the P/Invoke Interop+Sys.RmDir in mscorlib
[FAIL] Could not find the symbol 'SystemNative_Stat2' in libmono-native.dylib for the P/Invoke Interop+Sys.Stat in mscorlib
[FAIL] Could not find the symbol 'SystemNative_LStat2' in libmono-native.dylib for the P/Invoke Interop+Sys.LStat in mscorlib
[FAIL] Could not find the symbol 'SystemNative_UTime' in libmono-native.dylib for the P/Invoke Interop+Sys.UTime in mscorlib
[FAIL] Could not find the symbol 'SystemNative_UTimes' in libmono-native.dylib for the P/Invoke Interop+Sys.UTimes in mscorlib
[FAIL] Could not find the symbol 'SystemNative_Unlink' in libmono-native.dylib for the P/Invoke Interop+Sys.Unlink in mscorlib
	[FAIL] Corlib :   28 errors found in 79 symbol lookups:
  • System
[FAIL] Could not find the symbol 'SystemNative_ConvertErrorPlatformToPal' in libmono-native.dylib for the P/Invoke Interop+Sys.ConvertErrorPlatformToPal in System
[FAIL] Could not find the symbol 'SystemNative_ConvertErrorPalToPlatform' in libmono-native.dylib for the P/Invoke Interop+Sys.ConvertErrorPalToPlatform in System
[FAIL] Could not find the symbol 'SystemNative_StrErrorR' in libmono-native.dylib for the P/Invoke Interop+Sys.StrErrorR in System
[FAIL] Could not find the symbol 'NetSecurityNative_ReleaseGssBuffer' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.ReleaseGssBuffer in System
[FAIL] Could not find the symbol 'NetSecurityNative_DisplayMinorStatus' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.DisplayMinorStatus in System
[FAIL] Could not find the symbol 'NetSecurityNative_DisplayMajorStatus' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.DisplayMajorStatus in System
[FAIL] Could not find the symbol 'NetSecurityNative_ImportUserName' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.ImportUserName in System
[FAIL] Could not find the symbol 'NetSecurityNative_ImportPrincipalName' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.ImportPrincipalName in System
[FAIL] Could not find the symbol 'NetSecurityNative_ReleaseName' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.ReleaseName in System
[FAIL] Could not find the symbol 'NetSecurityNative_InitiateCredSpNego' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.InitiateCredSpNego in System
[FAIL] Could not find the symbol 'NetSecurityNative_InitiateCredWithPassword' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.InitiateCredWithPassword in System
[FAIL] Could not find the symbol 'NetSecurityNative_ReleaseCred' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.ReleaseCred in System
[FAIL] Could not find the symbol 'NetSecurityNative_InitSecContext' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.InitSecContext in System
[FAIL] Could not find the symbol 'NetSecurityNative_InitSecContextEx' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.InitSecContext in System
[FAIL] Could not find the symbol 'NetSecurityNative_AcceptSecContext' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.AcceptSecContext in System
[FAIL] Could not find the symbol 'NetSecurityNative_DeleteSecContext' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.DeleteSecContext in System
[FAIL] Could not find the symbol 'NetSecurityNative_GetUser' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.GetUser in System
[FAIL] Could not find the symbol 'NetSecurityNative_Wrap' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.Wrap in System
[FAIL] Could not find the symbol 'NetSecurityNative_Unwrap' in libmono-native.dylib for the P/Invoke Interop+NetSecurityNative.Unwrap in System
	[FAIL] System :   19 errors found in 144 symbol lookups:
  • System.Core
[FAIL] Could not find the symbol 'SystemNative_GetDomainSocketSizes' in libmono-native.dylib for the P/Invoke Interop+Sys.GetDomainSocketSizes in System.Core
	[FAIL] SystemCore :   1 errors found in 1 symbol lookups:
@spouliot spouliot added bug If an issue is a bug or a pull request a bug fix Mac Catalyst Issues affecting Mac Catalyst labels Mar 16, 2021
@spouliot spouliot added this to the Mac Catalyst milestone Mar 16, 2021
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this issue Aug 3, 2021
rolfbjarne added a commit that referenced this issue Aug 3, 2021
* [introspection] Ignore the ApiAvailabilityTest.LegacyAttribute test on Mac Catalyst as well.

* [introspection] #10883 only applies to Mac Catalyst for legacy Xamarin.

* [xharness] introspection is now green on .NET/Mac Catalyst
@rolfbjarne
Copy link
Member

We're not going to add Mac Catalyst support for Xamarin.iOS, only .NET, so I'm closing this.

@ghost ghost locked as resolved and limited conversation to collaborators Jul 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug If an issue is a bug or a pull request a bug fix Mac Catalyst Issues affecting Mac Catalyst
Projects
None yet
Development

No branches or pull requests

2 participants