Skip to content

[master] Add macOS brew image/env workaround - #1817

Closed
dagood wants to merge 1 commit into
dotnet:masterfrom
dagood:brew-env-workaround/master
Closed

dagood wants to merge 1 commit into
dotnet:masterfrom
dagood:brew-env-workaround/master

Conversation

@dagood

@dagood dagood commented Oct 20, 2020

Copy link
Copy Markdown
Member

Based on actions/runner-images#1811.

I'm also porting this to release/3.1.

@dagood

dagood commented Oct 20, 2020

Copy link
Copy Markdown
Member Author

Aaand there are general AzDO degradations showing up now. https://status.dev.azure.com

Comment on lines +12 to +14
brew uninstall [email protected]
brew uninstall [email protected]
brew untap local/openssl

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I guess this is to be expected:

  [21:17:11.11] Building 'runtime'
...
    Commencing CoreCLR Repo build
    __DistroRid: osx-x64
    __RuntimeId: osx-x64
    Setting up directories for build
    Checking prerequisites...
    /usr/local/bin/pkg-config
    Please install openssl before running this script, see https://github.com/dotnet/runtime/blob/master/docs/workflow/requirements/macos-requirements.md
  /Users/runner/work/1/s/artifacts/src/runtime.bf456654f9a4f9a86c15d9d50095ff29cde5f0a4/src/coreclr/runtime.proj(33,5):
    error MSB3073: The command ""/Users/runner/work/1/s/artifacts/src/runtime.bf456654f9a4f9a86c15d9d50095ff29cde5f0a4/src/coreclr/build-runtime.sh" -x64 -release -ci -keepnativesymbols -os OSX /p:OfficialBuildId=20200807.11 -nopgooptimize" exited with code 1.

Once it's practical to work on this (vs. AzDO general failures) we've got to figure out where we actually want to get openssl from. Maybe after the brew update we can install it again? I haven't looked very far into why exactly we need to uninstall it in the first place. (My impression is that the macOS image comes with a busted brew installation that we have to un-break before we can run brew update, but this might not be accurate.)

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.

1 participant