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

Mac CI is failing #1652

Closed
martinthomson opened this issue Feb 13, 2024 · 3 comments · Fixed by #1653
Closed

Mac CI is failing #1652

martinthomson opened this issue Feb 13, 2024 · 3 comments · Fixed by #1653

Comments

@martinthomson
Copy link
Member

We ask brew to do this:

brew install ninja mercurial cargo-binstall llvm

And for some reason, it tries to install PHP. And fails. Investigation needed.

@larseggert
Copy link
Collaborator

It's installing php because it's trying to upgrade dependencies of installed packages, and php is apparently one.

But that's not why it's failing, it's failing on

==> Pouring python@3.12--3.12.2.ventura.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3-3.12
Target /usr/local/bin/2to3-3.12
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3-3.12'

To force the link and overwrite all conflicting files:
  brew link --overwrite python@3.12

To list all files that would be deleted:
  brew link --overwrite --dry-run python@3.12

Possible conflicting files are:
/usr/local/bin/2to3-3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/2to3-3.12
/usr/local/bin/idle3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3.12
/usr/local/bin/pydoc3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
/usr/local/bin/python3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/usr/local/bin/python3.12-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config

i.e., when trying to upgrade python.

@larseggert
Copy link
Collaborator

Also see actions/runner-images#4020

larseggert added a commit to larseggert/neqo that referenced this issue Feb 14, 2024
To see if this magically fixes mozilla#1652
@larseggert
Copy link
Collaborator

It seems going to macos-14 fixes this. I will land the PR.

larseggert added a commit that referenced this issue Feb 14, 2024
* ci: Bump MacOS runner to `macos-14`

To see if this magically fixes #1652

* llvm path is different on ARM-based MacOS

Also check if Mozilla has larger runners available.

* No large runners available :-(

* Symlink python
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 a pull request may close this issue.

2 participants