Skip to content

Conversation

@jbonofre
Copy link
Member

@jbonofre jbonofre commented Dec 2, 2025

Just an empty commit to test the CI (again) and stabilize.

@jbonofre jbonofre changed the title Just an empty commit to trigger the CI MINOR: Test CI Dec 2, 2025
@github-actions

This comment has been minimized.

@jbonofre jbonofre added the bug-fix PRs that fix a big. label Dec 2, 2025
@github-actions github-actions bot added this to the 18.4.0 milestone Dec 2, 2025
@jbonofre
Copy link
Member Author

jbonofre commented Jan 5, 2026

I did a new rebase to trigger a new run.

@lidavidm @kou I would like to have this green before moving forward on a new arrow-java release.

@kou
Copy link
Member

kou commented Jan 5, 2026

Could you try this for JNI on macOS? We need protoc for Gandiva JNI (not Gandiva itself).

diff --git a/.github/workflows/rc.yml b/.github/workflows/rc.yml
index efa69533..83235d2c 100644
--- a/.github/workflows/rc.yml
+++ b/.github/workflows/rc.yml
@@ -259,11 +259,6 @@ jobs:
           brew uninstall grpc || : # gRPC depends on RE2
           brew uninstall [email protected] || : # gRPC 1.54 may be installed too
           brew uninstall re2
-          # We want to use bundled Protobuf for static linking. If
-          # Homebrew's Protobuf is installed, its library file may be
-          # used on test  We uninstall Homebrew's Protobuf to ensure using
-          # bundled Protobuf.
-          brew uninstall protobuf
 
           brew bundle --file=Brewfile
       - name: Prepare ccache
diff --git a/gandiva/CMakeLists.txt b/gandiva/CMakeLists.txt
index 369829d7..d75cbe28 100644
--- a/gandiva/CMakeLists.txt
+++ b/gandiva/CMakeLists.txt
@@ -57,7 +57,6 @@ set_property(TARGET arrow_java_jni_gandiva PROPERTY OUTPUT_NAME "gandiva_jni")
 target_link_libraries(arrow_java_jni_gandiva
                       arrow_java_jni_gandiva_headers
                       jni
-                      protobuf::libprotobuf
                       Gandiva::gandiva_static)
 
 # Localize thirdparty symbols using a linker version script. This hides them

Or can we remove Protobuf dependency from https://github.com/apache/arrow-java/tree/main/gandiva ...? It will simplify our build system...

@kou
Copy link
Member

kou commented Jan 5, 2026

Could you try apache/arrow#48726 for JNI on Windows?

diff --git a/.github/workflows/rc.yml b/.github/workflows/rc.yml
index efa69533d..fc8238717 100644
--- a/.github/workflows/rc.yml
+++ b/.github/workflows/rc.yml
@@ -324,7 +324,8 @@ jobs:
         # if: github.event_name == 'schedule'
         uses: actions/checkout@v6
         with:
-          repository: apache/arrow
+          repository: kou/arrow
+          ref: cpp-bundled-protobuf
           path: arrow
       - name: Set up Java
         uses: actions/setup-java@v5

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

Labels

bug-fix PRs that fix a big.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants