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

MacOS brew install mono-libdgiplus failure #2428

Closed
1 task done
michaelgsharp opened this issue Jan 12, 2021 · 4 comments
Closed
1 task done

MacOS brew install mono-libdgiplus failure #2428

michaelgsharp opened this issue Jan 12, 2021 · 4 comments
Labels
awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: macOS

Comments

@michaelgsharp
Copy link

Description
After the recent changes to the MacOS hosted pool, when doing brew install mono-libgdiplus it lists [email protected] as a dependency. This dependency fails to install with this error:

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3'

Python 3.9 did not used to be a dependency (prior passing build), but has been added recently (recent failed build)

Area for Triage:
Apple

Question, Bug, or Feature?:
Bug

Virtual environments affected

  • macOS 10.14

Expected behavior
Since python 3.9 is already installed, I expected either the installation to not happen, or to not fail.

Actual behavior
Install fails because python 3.9 is already installed.

Repro steps

  1. Run build pipeline in MacOS Hosted pool
  2. brew install mono-libgdiplus
@al-cheb al-cheb added awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: macOS and removed needs triage labels Jan 12, 2021
@michaelgsharp
Copy link
Author

I see you already have a PR merged in (#2326) just waiting for the image rollout. Do you have a rough ETA on when that may happen?

@al-cheb
Copy link
Contributor

al-cheb commented Jan 12, 2021

Hello, @michaelgsharp
Sorry for the inconvenience. Waiting for a new image rollout with fix - #2326. Temporary workaround - #2322 (comment). I hope in a week.

@michaelgsharp
Copy link
Author

Thanks for the workaround, I will go ahead and apply that. Thanks for your help and quick response!

@michaelgsharp
Copy link
Author

Closing this issue as the provided workaround worked and builds passed.

rchen152 added a commit to google/pytype that referenced this issue Jan 14, 2021
Homebrew was recently updated
(actions/runner-images#2415),
introducing a bug related to 2to3:
actions/runner-images#2428. I applid
the workaround recommended in the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: macOS
Projects
None yet
Development

No branches or pull requests

2 participants