Skip to content

Conversation

mattleibow
Copy link
Collaborator

Description of Change

Fixes for local dev.

@mattleibow mattleibow changed the title Fix targets for ARM machines Fix local targets for ARM machines Mar 7, 2025
@mattleibow mattleibow merged commit cf545ba into main Mar 7, 2025
1 check passed
@mattleibow mattleibow deleted the dev/arm branch March 7, 2025 18:49
@kasperk81
Copy link
Contributor

all linux tests are failing after this merge

  Error Message:
   System.TypeInitializationException : The type initializer for 'SkiaSharp.SKObject' threw an exception.
---- System.DllNotFoundException : Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: 
/opt/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App/8.0.8/libSkiaSharp.so: cannot open shared object file: No such file or directory
/home/vsts/work/1/s/tests/SkiaSharp.Tests.Console/bin/Release/net8.0/libSkiaSharp.so: cannot open shared object file: No such file or directory
/opt/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App/8.0.8/liblibSkiaSharp.so: cannot open shared object file: No such file or directory
/home/vsts/work/1/s/tests/SkiaSharp.Tests.Console/bin/Release/net8.0/liblibSkiaSharp.so: cannot open shared object file: No such file or directory
/opt/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App/8.0.8/libSkiaSharp: cannot open shared object file: No such file or directory
/home/vsts/work/1/s/tests/SkiaSharp.Tests.Console/bin/Release/net8.0/libSkiaSharp: cannot open shared object file: No such file or directory
/opt/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App/8.0.8/liblibSkiaSharp: cannot open shared object file: No such file or directory
/home/vsts/work/1/s/tests/SkiaSharp.Tests.Console/bin/Release/net8.0/liblibSkiaSharp: cannot open shared object file: No such file or directory

  Stack Trace:
     at SkiaSharp.SKObject.GetOrAddObject[TSkiaObject](IntPtr handle, Func`3 objectFactory)
   at SkiaSharp.Tests.SKObjectTest.CanInstantiateAbstractClassesWithImplementation() in /_/tests/Tests/SkiaSharp/SKObjectTest.cs:line 18
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
   at SkiaSharp.SkiaApi.sk_version_get_milestone()
   at SkiaSharp.SkiaSharpVersion.get_Native() in /_/binding/SkiaSharp/SkiaSharpVersion.cs:line 21
   at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Boolean throwIfIncompatible) in /_/binding/SkiaSharp/SkiaSharpVersion.cs:line 36
   at SkiaSharp.SKObject..cctor() in /_/binding/SkiaSharp/SKObject.cs:line 41
  Failed SkiaSharp.Tests.SKObjectTest.ManagedObjectsAreDisposedBeforeNative [2 ms]

@kasperk81 kasperk81 mentioned this pull request Mar 11, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants