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 MacOS version to 12 #6522

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

jander-msft
Copy link
Member

Summary

It seems that .NET 9 Preview 4 requires MacOS 12 at minimum to run. When installing newer Preview 4 candidates, running dotnet will fail with:

Failed to load /Users/runner/work/1/s/.dotnet/host/fxr/9.0.0-preview.4.24223.11/libhostfxr.dylib, error: dlopen(/Users/runner/work/1/s/.dotnet/host/fxr/9.0.0-preview.4.24223.11/libhostfxr.dylib, 1): Symbol not found: __ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj
  Referenced from: /Users/runner/work/1/s/.dotnet/host/fxr/9.0.0-preview.4.24223.11/libhostfxr.dylib (which was built for Mac OS X 12.0)
  Expected in: /usr/lib/libc++.1.dylib

Update the MacOS version for pipeline jobs to 12.

Release Notes Entry

@jander-msft jander-msft enabled auto-merge (squash) April 25, 2024 17:56
@jander-msft jander-msft merged commit e33db22 into dotnet:feature/9.x Apr 25, 2024
25 checks passed
@jander-msft jander-msft deleted the macos-12 branch May 20, 2024 05:03
@akoeplinger
Copy link
Member

akoeplinger commented Jun 15, 2024

@jander-msft @schmittjoseph FYI Azure DevOps will remove the macos-11 image in about two weeks so this needs to be backported to servicing branches too and also fixed here: https://github.com/dotnet/dotnet-monitor/blob/main/eng/pipelines/jobs/build.yml#L73

@jander-msft
Copy link
Member Author

@akoeplinger, what is going to be done for .NET 6 runtime here? https://github.com/dotnet/runtime/blob/release/6.0/eng/pipelines/common/xplat-setup.yml#L124

We'll probably follow the same solution.

@jander-msft
Copy link
Member Author

/backport to main

Copy link
Contributor

Started backporting to main: https://github.com/dotnet/dotnet-monitor/actions/runs/9552611459

github-actions bot pushed a commit that referenced this pull request Jun 17, 2024
@jander-msft
Copy link
Member Author

/backport to release/8.0

Copy link
Contributor

Started backporting to release/8.0: https://github.com/dotnet/dotnet-monitor/actions/runs/9552620316

@jander-msft
Copy link
Member Author

/backport to release/6.x

Copy link
Contributor

Started backporting to release/6.x: https://github.com/dotnet/dotnet-monitor/actions/runs/9552699295

@akoeplinger
Copy link
Member

akoeplinger commented Jun 17, 2024

@jander-msft yes, we need to fix it everywhere :) I checked and dotnet/runtime#103366 bumps to macos-12

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