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

Update the .NET SDK in the CI builds to 6.0.300 #2780

Closed
wants to merge 1 commit into from

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Jun 16, 2024

Description

A minimal update to the .NET 6 SDK version, to see if it fixes the macOS/ARM CI failures discussed in #2778

@Numpsy
Copy link
Contributor Author

Numpsy commented Jun 16, 2024

Hmm, the macOS CI failed and the built output contains

Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.TypeInitializationException: The type initializer for '<StartupCode$Fake-DotNet-Cli-IntegrationTests>.$Fake.DotNet.Cli.IntegrationTests.TemplateTests' threw an exception.
 ---> System.DllNotFoundException: Unable to load shared library 'MonoPosixHelper' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libMonoPosixHelper, 0x0001): tried: 'libMonoPosixHelper' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibMonoPosixHelper' (no such file), '/usr/lib/libMonoPosixHelper' (no such file, not in dyld cache), 'libMonoPosixHelper' (no such file), '/usr/local/lib/libMonoPosixHelper' (no such file), '/usr/lib/libMonoPosixHelper' (no such file, not in dyld cache)

So now I wonder if the old version of Mono.Posix it's using maybe only has Intel CPU support?

@Numpsy
Copy link
Contributor Author

Numpsy commented Jun 17, 2024

There are some integration tests in https:/fsprojects/FAKE/blob/master/src/test/Fake.Core.IntegrationTests/Fake.DotNet.sdkAssemblyResolver.fs which are doing explicit things with the 6.0.10X SDK, and I start to wonder if that simply isn't going to work on ARM macs?

@Thorium
Copy link
Member

Thorium commented Jul 15, 2024

This could help the CI failure: #2783

@xperiandri
Copy link
Collaborator

But it is already rebased

@Numpsy
Copy link
Contributor Author

Numpsy commented Jul 25, 2024

I tried updating some of those in https:/Numpsy/FAKE/commits/6.0.131/ a while ago and hit some other failures.
At this point, I don't know if it's worth spending time updating the 6.0 SDKs or if it's better to put the effort into switching everything to .NET 8.0 before 6.0 goes out of support.

@xperiandri
Copy link
Collaborator

Probably 8 is better

@Numpsy
Copy link
Contributor Author

Numpsy commented Jul 30, 2024

The build at https:/Numpsy/FAKE/actions/runs/10161143249 from the branch at https:/Numpsy/FAKE/tree/bump_flail seems to have passed with the 6.0.30x SDK, though there are still a couple of changes n top of the SDK update in there

@xperiandri xperiandri closed this Jul 31, 2024
auto-merge was automatically disabled July 31, 2024 00:05

Pull request was closed

@Numpsy Numpsy deleted the 603_sdk branch July 31, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants