Skip to content

Commit 4e8faf7

Browse files
authored
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
1 parent f7a7829 commit 4e8faf7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/rc.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,10 @@ jobs:
248248
#
249249
# "brew bundle" fails with "no bottle available!" without this
250250
# because it doesn't build them from source.
251-
HOMEBREW_BUNDLE_BREW_SKIP="aws-sdk-cpp grpc" \
251+
#
252+
# We don't use Homebrew's Node.js too. Homebrew doesn't provide
253+
# a bottle for it on x86_64 macOS for the same reason.
254+
HOMEBREW_BUNDLE_BREW_SKIP="aws-sdk-cpp grpc node" \
252255
brew bundle --file=arrow/cpp/Brewfile
253256
# We want to link aws-sdk-cpp statically but Homebrew's
254257
# aws-sdk-cpp provides only shared library. If we have

0 commit comments

Comments
 (0)