⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@HyukjinKwon
Copy link
Member

@HyukjinKwon HyukjinKwon commented Jan 12, 2026

Rationale for this change

homebrew-cpp with MacOS was failing with No such file or directory @ rb_sysopen errors 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=1 to 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.

@HyukjinKwon HyukjinKwon marked this pull request as draft January 12, 2026 03:04
@github-actions
Copy link

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?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@github-actions github-actions bot added the awaiting review Awaiting review label Jan 12, 2026
@HyukjinKwon
Copy link
Member Author

@github-actions crossbow submit homebrew-cpp

@github-actions
Copy link

Revision: 4a9face

Submitted crossbow builds: ursacomputing/crossbow @ actions-892981fcf9

Task Status
homebrew-cpp GitHub Actions

@HyukjinKwon
Copy link
Member Author

HyukjinKwon commented Jan 12, 2026

@github-actions crossbow submit homebrew-cpp

@github-actions
Copy link

Revision: 76066f0

Submitted crossbow builds: ursacomputing/crossbow @ actions-8cbd3f47d3

Task Status
homebrew-cpp GitHub Actions

@github-actions
Copy link

Revision: 76066f0

Submitted crossbow builds: ursacomputing/crossbow @ actions-4874464f58

Task Status
homebrew-cpp GitHub Actions

@HyukjinKwon
Copy link
Member Author

@github-actions crossbow submit homebrew-cpp

@github-actions
Copy link

Revision: 4a4410a

Submitted crossbow builds: ursacomputing/crossbow @ actions-b659d645d6

Task Status
homebrew-cpp GitHub Actions

@HyukjinKwon
Copy link
Member Author

@github-actions crossbow submit homebrew-cpp

@github-actions
Copy link

Revision: e58b8cb

Submitted crossbow builds: ursacomputing/crossbow @ actions-8567fefd86

Task Status
homebrew-cpp GitHub Actions

@HyukjinKwon
Copy link
Member Author

@github-actions crossbow submit homebrew-cpp

@github-actions
Copy link

Revision: 79a0e5c

Submitted crossbow builds: ursacomputing/crossbow @ actions-49e935cfaf

Task Status
homebrew-cpp GitHub Actions

@HyukjinKwon
Copy link
Member Author

@github-actions crossbow submit homebrew-cpp

@github-actions
Copy link

Revision: cdeadc2

Submitted crossbow builds: ursacomputing/crossbow @ actions-d485738cc1

Task Status
homebrew-cpp GitHub Actions

@HyukjinKwon
Copy link
Member Author

@github-actions crossbow submit homebrew-cpp

@github-actions
Copy link

Revision: 70ff052

Submitted crossbow builds: ursacomputing/crossbow @ actions-652b58c285

Task Status
homebrew-cpp GitHub Actions

@HyukjinKwon HyukjinKwon changed the title WIP: Temporary workaround to clear bottle cache to avoid corrupted downloads WIP: [CI] Fix homebrew-cpp with Mac by using formula-based dependency resolution Jan 12, 2026
@HyukjinKwon HyukjinKwon marked this pull request as ready for review January 12, 2026 03:50
@HyukjinKwon HyukjinKwon changed the title WIP: [CI] Fix homebrew-cpp with Mac by using formula-based dependency resolution GH-48824: [CI] Fix homebrew-cpp with Mac by using formula-based dependency resolution Jan 12, 2026
@github-actions
Copy link

⚠️ GitHub issue #48824 has been automatically assigned in GitHub to PR creator.

@github-actions
Copy link

⚠️ GitHub issue #48824 has no components, please add labels for components.

@raulcd raulcd changed the title GH-48824: [CI] Fix homebrew-cpp with Mac by using formula-based dependency resolution GH-48809: [CI] Fix homebrew-cpp with Mac by using formula-based dependency resolution Jan 12, 2026
@raulcd
Copy link
Member

raulcd commented Jan 12, 2026

Updated title, should be GH-48809 instead of the PR :)

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

Can we report this to upstream? (But which is "upstream"? Homebrew? GitHub Runner...?)

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting review Awaiting review labels Jan 12, 2026
@HyukjinKwon
Copy link
Member Author

I think it's homebrew .. will dig a bit more tmr..

Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I'll merge this so we include it on the 23.0.0 feature freeze which I plan to do soon.
Let's report upstream to follow up.

@raulcd raulcd merged commit 342c5d5 into apache:main Jan 12, 2026
11 of 12 checks passed
@raulcd raulcd removed the awaiting merge Awaiting merge label Jan 12, 2026
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 342c5d5.

There weren't enough matching historic benchmark results to make a call on whether there were regressions.

The full Conbench report has more details.

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