-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-48824: [CI] Fix homebrew-cpp with Mac by using formula-based dependency resolution #48824
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or See also: |
|
@github-actions crossbow submit homebrew-cpp |
|
Revision: 4a9face Submitted crossbow builds: ursacomputing/crossbow @ actions-892981fcf9
|
|
@github-actions crossbow submit homebrew-cpp |
|
Revision: 76066f0 Submitted crossbow builds: ursacomputing/crossbow @ actions-8cbd3f47d3
|
|
Revision: 76066f0 Submitted crossbow builds: ursacomputing/crossbow @ actions-4874464f58
|
|
@github-actions crossbow submit homebrew-cpp |
|
Revision: 4a4410a Submitted crossbow builds: ursacomputing/crossbow @ actions-b659d645d6
|
|
@github-actions crossbow submit homebrew-cpp |
|
Revision: e58b8cb Submitted crossbow builds: ursacomputing/crossbow @ actions-8567fefd86
|
|
@github-actions crossbow submit homebrew-cpp |
|
Revision: 79a0e5c Submitted crossbow builds: ursacomputing/crossbow @ actions-49e935cfaf
|
|
@github-actions crossbow submit homebrew-cpp |
|
Revision: cdeadc2 Submitted crossbow builds: ursacomputing/crossbow @ actions-d485738cc1
|
|
@github-actions crossbow submit homebrew-cpp |
|
Revision: 70ff052 Submitted crossbow builds: ursacomputing/crossbow @ actions-652b58c285
|
This reverts commit cdeadc2.
|
|
|
|
Rationale for this change
homebrew-cpp with MacOS was failing with
No such file or directory @ rb_sysopenerrors when downloading bottles for dependencies (icu4c, boost, etc.).This appears to be caused by Homebrew's JSON API (
ghcr.io) returning stale or corrupted metadata on GitHub Actions runners.Disclaimer: I can't tell what is the actual cause. Seems to be a bug in Homebrew introduced from the latest MacOS runner image but I don't have any evidence for it. What I can see was that there was an recent update in MacOS images with Homebrew upgraded together:
which I believe are related.
What changes are included in this PR?
Add
HOMEBREW_NO_INSTALL_FROM_API=1to the Homebrew test workflow to use traditional formula-based dependency resolution instead of the JSON API.Are these changes tested?
Tested in https://github.com/ursacomputing/crossbow/actions/runs/20907195327/job/60062808357
Are there any user-facing changes?
No, CI-only.