Skip to content

Conversation

@jander-msft
Copy link
Contributor

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
@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
Contributor 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
Contributor Author

/backport to main

@github-actions
Copy link
Contributor

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

/backport to release/8.0

@github-actions
Copy link
Contributor

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

@jander-msft
Copy link
Contributor Author

/backport to release/6.x

@github-actions
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