This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-java.git
The following commit(s) were added to refs/heads/main by this push:
new 4e8faf74a MINOR: Don't install Homebrew's Node.js for JNI macOS build
(#1270)
4e8faf74a is described below
commit 4e8faf74a3081663b68634d5ab33d81c52c46319
Author: JB Onofré <[email protected]>
AuthorDate: Mon Aug 31 02:30:38 2026 +0200
MINOR: Don't install Homebrew's Node.js for JNI macOS build (#1270)
The `JNI macos-15-intel x86_64` job currently fails on `main` and on
every open PR while installing dependencies:
```
==> Installing node
Error: node: no bottle available!
This is a Tier 3 configuration:
https://docs.brew.sh/Support-Tiers#tier-3
Installing node has failed!
`brew bundle` failed! 1 Brewfile dependency failed to install
```
`apache/arrow`'s `cpp/Brewfile` lists `brew "node"`, and Homebrew treats
x86_64 macOS as a tier 3 configuration and no longer builds a bottle for
it. `brew bundle` doesn't build from source, so the step aborts before
anything is built.
We don't need Node.js for the JNI build, so this skips installing it via
`HOMEBREW_BUNDLE_BREW_SKIP`, the same way #1269 did for `aws-sdk-cpp`
and gRPC.
Failing runs for reference:
* `main`:
https://github.com/apache/arrow-java/actions/runs/33283736388/job/99183221397
* PR #1263:
https://github.com/apache/arrow-java/actions/runs/33297775855/job/99221106761
---
.github/workflows/rc.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/rc.yml b/.github/workflows/rc.yml
index 59b461c5d..b27a80449 100644
--- a/.github/workflows/rc.yml
+++ b/.github/workflows/rc.yml
@@ -248,7 +248,10 @@ jobs:
#
# "brew bundle" fails with "no bottle available!" without this
# because it doesn't build them from source.
- HOMEBREW_BUNDLE_BREW_SKIP="aws-sdk-cpp grpc" \
+ #
+ # We don't use Homebrew's Node.js too. Homebrew doesn't provide
+ # a bottle for it on x86_64 macOS for the same reason.
+ HOMEBREW_BUNDLE_BREW_SKIP="aws-sdk-cpp grpc node" \
brew bundle --file=arrow/cpp/Brewfile
# We want to link aws-sdk-cpp statically but Homebrew's
# aws-sdk-cpp provides only shared library. If we have