Skip to content

Conversation

@timhurskidremio
Copy link

The jarbuild workflow was failing on macOS because it tried to uninstall Homebrew formulas that don't exist or aren't installed:

  • aws-sdk-cpp (may not be installed)
  • re2 (may not be installed)
  • protobuf (may not be installed)

These uninstall commands were failing with exit code 1, causing the entire build to fail. By adding '|| :' to these commands, we make them non-fatal so the build can continue even if the formulas aren't installed.

The grpc and grpc@1.54 uninstall commands already had '|| :' and were working correctly.

The jarbuild workflow was failing on macOS because it tried to uninstall
Homebrew formulas that don't exist or aren't installed:
- aws-sdk-cpp (may not be installed)
- re2 (may not be installed)
- protobuf (may not be installed)

These uninstall commands were failing with exit code 1, causing the entire
build to fail. By adding '|| :' to these commands, we make them non-fatal
so the build can continue even if the formulas aren't installed.

The grpc and grpc@1.54 uninstall commands already had '|| :' and were
working correctly.
@timhurskidremio timhurskidremio changed the title Fix macOS build failures by making brew uninstall commands non-fatal MINOR: Fix macOS build failures by making brew uninstall commands non-fatal Dec 5, 2025
@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Thank you for opening a pull request!

Please label the PR with one or more of:

  • bug-fix
  • chore
  • dependencies
  • documentation
  • enhancement

Also, add the 'breaking-change' label if appropriate.

See CONTRIBUTING.md for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant