From 079e31c499b5819f41ce22fd3551630918de6f4a Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Sun, 16 Aug 2026 23:11:40 +0900 Subject: [PATCH 01/21] GH-50886: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index fcecea40b46..0d0921aa830 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -158,6 +158,7 @@ jobs: ARROW_WITH_SNAPPY: ON ARROW_WITH_ZLIB: ON ARROW_WITH_ZSTD: ON + absl_SOURCE: BUNDLED steps: - name: Checkout Arrow uses: actions/checkout@v7 From 4f0443c0445bcf31e2e882524d3085be4ecff09c Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Mon, 17 Aug 2026 10:18:12 +0900 Subject: [PATCH 02/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 0d0921aa830..91fe7a1e7ad 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -159,6 +159,7 @@ jobs: ARROW_WITH_ZLIB: ON ARROW_WITH_ZSTD: ON absl_SOURCE: BUNDLED + ARROW_DEPENDENCY_SOURCE: BUNDLED steps: - name: Checkout Arrow uses: actions/checkout@v7 From 65a648cd7939862a3ba6ff6da7e23c1103a9e48e Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Mon, 17 Aug 2026 12:23:42 +0900 Subject: [PATCH 03/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 91fe7a1e7ad..ab2f8cb9249 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -159,7 +159,8 @@ jobs: ARROW_WITH_ZLIB: ON ARROW_WITH_ZSTD: ON absl_SOURCE: BUNDLED - ARROW_DEPENDENCY_SOURCE: BUNDLED + #Protobuf_SOURCE: BUNDLED + gRPC_SOURCE: BUNDLED steps: - name: Checkout Arrow uses: actions/checkout@v7 From 20306143984321785b055c3509463b39df6fe30d Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Mon, 17 Aug 2026 13:47:09 +0900 Subject: [PATCH 04/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index ab2f8cb9249..c79fac408e4 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -158,8 +158,11 @@ jobs: ARROW_WITH_SNAPPY: ON ARROW_WITH_ZLIB: ON ARROW_WITH_ZSTD: ON + # Keep these dependencies bundled to avoid mixing Abseil ABIs until + # google-cloud-cpp supports Abseil 20260526. + # https://github.com/apache/arrow/issues/50868 absl_SOURCE: BUNDLED - #Protobuf_SOURCE: BUNDLED + Protobuf_SOURCE: BUNDLED gRPC_SOURCE: BUNDLED steps: - name: Checkout Arrow From ca67b5f2cc8cae0655616b0059e1e430958b10f1 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Mon, 17 Aug 2026 14:15:30 +0900 Subject: [PATCH 05/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 2 +- cpp/cmake_modules/ThirdpartyToolchain.cmake | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index c79fac408e4..d781aba7586 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -163,7 +163,7 @@ jobs: # https://github.com/apache/arrow/issues/50868 absl_SOURCE: BUNDLED Protobuf_SOURCE: BUNDLED - gRPC_SOURCE: BUNDLED + #gRPC_SOURCE: BUNDLED steps: - name: Checkout Arrow uses: actions/checkout@v7 diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 8888f52f721..a6695c5b73c 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -1925,6 +1925,7 @@ function(build_absl) # This is necessary for bundled Protobuf otherwise it fails on configure. set(ABSL_ENABLE_INSTALL ON) fetchcontent_makeavailable(absl) + include_directories(BEFORE SYSTEM "${absl_SOURCE_DIR}") if(CMAKE_VERSION VERSION_LESS 3.28) set_property(DIRECTORY ${absl_SOURCE_DIR} PROPERTY EXCLUDE_FROM_ALL TRUE) From 77733d9f885be0de6fbe7cfb112782b45bc12fcc Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Mon, 17 Aug 2026 15:26:09 +0900 Subject: [PATCH 06/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 5 +++-- cpp/cmake_modules/ThirdpartyToolchain.cmake | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index d781aba7586..5a2d2b0f17c 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -161,9 +161,10 @@ jobs: # Keep these dependencies bundled to avoid mixing Abseil ABIs until # google-cloud-cpp supports Abseil 20260526. # https://github.com/apache/arrow/issues/50868 - absl_SOURCE: BUNDLED - Protobuf_SOURCE: BUNDLED + #absl_SOURCE: BUNDLED + #Protobuf_SOURCE: BUNDLED #gRPC_SOURCE: BUNDLED + ARROW_WITH_GOOGLE_CLOUD_CPP: ON steps: - name: Checkout Arrow uses: actions/checkout@v7 diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index a6695c5b73c..91df05cd65e 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -1925,7 +1925,6 @@ function(build_absl) # This is necessary for bundled Protobuf otherwise it fails on configure. set(ABSL_ENABLE_INSTALL ON) fetchcontent_makeavailable(absl) - include_directories(BEFORE SYSTEM "${absl_SOURCE_DIR}") if(CMAKE_VERSION VERSION_LESS 3.28) set_property(DIRECTORY ${absl_SOURCE_DIR} PROPERTY EXCLUDE_FROM_ALL TRUE) @@ -2220,7 +2219,7 @@ if(ARROW_WITH_GOOGLE_CLOUD_CPP OR ARROW_WITH_GRPC OR ARROW_WITH_PROTOBUF) # Abseil 20230125 released CRC32C which is necessary for GCS builds - set(ARROW_ABSL_REQUIRED_VERSION 20230125) + set(ARROW_ABSL_REQUIRED_VERSION 20250127) # Google Cloud C++ SDK, gRPC and any dependency that pulls Protobuf # requires Abseil. if(ARROW_WITH_GOOGLE_CLOUD_CPP From f1ddadde5c54b41173e602c51159441a6070ee4c Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Mon, 17 Aug 2026 19:34:02 +0900 Subject: [PATCH 07/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 5a2d2b0f17c..16457edbaef 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -165,6 +165,7 @@ jobs: #Protobuf_SOURCE: BUNDLED #gRPC_SOURCE: BUNDLED ARROW_WITH_GOOGLE_CLOUD_CPP: ON + ARROW_WITH_GCS: ON steps: - name: Checkout Arrow uses: actions/checkout@v7 From e635f7b9aef3420af4bead7b3516fbe628250a0b Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Mon, 17 Aug 2026 19:52:13 +0900 Subject: [PATCH 08/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 16457edbaef..c3527b588f4 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -161,11 +161,11 @@ jobs: # Keep these dependencies bundled to avoid mixing Abseil ABIs until # google-cloud-cpp supports Abseil 20260526. # https://github.com/apache/arrow/issues/50868 - #absl_SOURCE: BUNDLED + absl_SOURCE: BUNDLED #Protobuf_SOURCE: BUNDLED #gRPC_SOURCE: BUNDLED ARROW_WITH_GOOGLE_CLOUD_CPP: ON - ARROW_WITH_GCS: ON + #ARROW_WITH_GCS: ON steps: - name: Checkout Arrow uses: actions/checkout@v7 From ca2e585ec21ec3491c41850164d18574afb6e381 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Mon, 17 Aug 2026 20:26:46 +0900 Subject: [PATCH 09/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- cpp/cmake_modules/ThirdpartyToolchain.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 91df05cd65e..8888f52f721 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -2219,7 +2219,7 @@ if(ARROW_WITH_GOOGLE_CLOUD_CPP OR ARROW_WITH_GRPC OR ARROW_WITH_PROTOBUF) # Abseil 20230125 released CRC32C which is necessary for GCS builds - set(ARROW_ABSL_REQUIRED_VERSION 20250127) + set(ARROW_ABSL_REQUIRED_VERSION 20230125) # Google Cloud C++ SDK, gRPC and any dependency that pulls Protobuf # requires Abseil. if(ARROW_WITH_GOOGLE_CLOUD_CPP From 28539b268e39536449f70bf24b7971dae137ceac Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Mon, 17 Aug 2026 22:36:09 +0900 Subject: [PATCH 10/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index c3527b588f4..16a3b71262e 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -162,9 +162,9 @@ jobs: # google-cloud-cpp supports Abseil 20260526. # https://github.com/apache/arrow/issues/50868 absl_SOURCE: BUNDLED - #Protobuf_SOURCE: BUNDLED - #gRPC_SOURCE: BUNDLED - ARROW_WITH_GOOGLE_CLOUD_CPP: ON + Protobuf_SOURCE: BUNDLED + gRPC_SOURCE: BUNDLED + #ARROW_WITH_GOOGLE_CLOUD_CPP: ON #ARROW_WITH_GCS: ON steps: - name: Checkout Arrow From 5c0a733ba97976023a87fbdfd701bdb24ce2c15d Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Tue, 18 Aug 2026 09:20:50 +0900 Subject: [PATCH 11/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- ruby/red-arrow-flight/Rakefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ruby/red-arrow-flight/Rakefile b/ruby/red-arrow-flight/Rakefile index 77c9f81e995..e4092a1ae55 100644 --- a/ruby/red-arrow-flight/Rakefile +++ b/ruby/red-arrow-flight/Rakefile @@ -30,6 +30,10 @@ release_task.prerequisites.replace(["build", "release:rubygem_push"]) desc "Run tests" task :test do + if /darwin/.match?(RUBY_PLATFORM) + puts "SKIP test on macOS" + next + end cd(base_dir) do cd("dependency-check") do ruby("-S", "rake") From d24dea3fc9a1697bd9364d456f2a4c9e57e8e4f9 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Tue, 18 Aug 2026 09:31:24 +0900 Subject: [PATCH 12/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 16a3b71262e..03481b1edc4 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -162,8 +162,8 @@ jobs: # google-cloud-cpp supports Abseil 20260526. # https://github.com/apache/arrow/issues/50868 absl_SOURCE: BUNDLED - Protobuf_SOURCE: BUNDLED - gRPC_SOURCE: BUNDLED + #Protobuf_SOURCE: BUNDLED + #gRPC_SOURCE: BUNDLED #ARROW_WITH_GOOGLE_CLOUD_CPP: ON #ARROW_WITH_GCS: ON steps: From 43d0043184a1c8de7837ee8f2f57220201a1f160 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Tue, 18 Aug 2026 11:42:46 +0900 Subject: [PATCH 13/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- ruby/red-arrow-flight/Rakefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ruby/red-arrow-flight/Rakefile b/ruby/red-arrow-flight/Rakefile index e4092a1ae55..77c9f81e995 100644 --- a/ruby/red-arrow-flight/Rakefile +++ b/ruby/red-arrow-flight/Rakefile @@ -30,10 +30,6 @@ release_task.prerequisites.replace(["build", "release:rubygem_push"]) desc "Run tests" task :test do - if /darwin/.match?(RUBY_PLATFORM) - puts "SKIP test on macOS" - next - end cd(base_dir) do cd("dependency-check") do ruby("-S", "rake") From 1e50e7396ffc8c0449523e98036fda3bd6cb194d Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Tue, 18 Aug 2026 12:24:22 +0900 Subject: [PATCH 14/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- c_glib/test/flight-sql/test-client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_glib/test/flight-sql/test-client.rb b/c_glib/test/flight-sql/test-client.rb index 631eb3d542d..1ed7f7e6e43 100644 --- a/c_glib/test/flight-sql/test-client.rb +++ b/c_glib/test/flight-sql/test-client.rb @@ -23,7 +23,7 @@ def setup @server = nil omit("Arrow Flight SQL is required") unless defined?(ArrowFlightSQL) omit("Unstable on Windows") if Gem.win_platform? - omit("Unstable on x86_64 macOS") if /x86_64-darwin/.match?(RUBY_PLATFORM) + omit("Unstable on macOS") if /darwin/.match?(RUBY_PLATFORM) @server = Helper::FlightSQLServer.new host = "127.0.0.1" location = ArrowFlight::Location.new("grpc://#{host}:0") From 1daa61503d6a09bd3bd8e7d5704c03fc45960590 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Tue, 18 Aug 2026 16:04:02 +0900 Subject: [PATCH 15/21] GH-50868: Use bundled Abseil in macOS CI to avoid deprecation errors --- .github/workflows/ruby.yml | 2 +- cpp/src/arrow/filesystem/gcsfs.cc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 03481b1edc4..5caffdfff41 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -161,7 +161,7 @@ jobs: # Keep these dependencies bundled to avoid mixing Abseil ABIs until # google-cloud-cpp supports Abseil 20260526. # https://github.com/apache/arrow/issues/50868 - absl_SOURCE: BUNDLED + #absl_SOURCE: BUNDLED #Protobuf_SOURCE: BUNDLED #gRPC_SOURCE: BUNDLED #ARROW_WITH_GOOGLE_CLOUD_CPP: ON diff --git a/cpp/src/arrow/filesystem/gcsfs.cc b/cpp/src/arrow/filesystem/gcsfs.cc index ffeba9eadc3..b7b13aff7d1 100644 --- a/cpp/src/arrow/filesystem/gcsfs.cc +++ b/cpp/src/arrow/filesystem/gcsfs.cc @@ -353,7 +353,9 @@ class GcsFileSystem::Impl { // "Directory" convention, so if there is at least one object that // matches the prefix we assume it is a directory. std::string canonical = internal::EnsureTrailingSlash(path.object); + ARROW_SUPPRESS_DEPRECATION_WARNING auto list_result = client_.ListObjects(path.bucket, gcs::Prefix(canonical)); + ARROW_UNSUPPRESS_DEPRECATION_WARNING for (auto&& object_metadata : list_result) { if (!object_metadata) { From 9ec07f29a25ee8285e0721c41b37ab4e30f32adc Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Wed, 19 Aug 2026 09:34:19 +0900 Subject: [PATCH 16/21] Try no-error=deprecated-declarations --- cpp/src/arrow/CMakeLists.txt | 7 +++++++ cpp/src/arrow/filesystem/gcsfs.cc | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index c5bc01c8ef9..2617bb60240 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -991,6 +991,13 @@ if(ARROW_FILESYSTEM) list(APPEND ARROW_FILESYSTEM_SRCS filesystem/gcsfs.cc filesystem/gcsfs_internal.cc) set_source_files_properties(filesystem/gcsfs.cc filesystem/gcsfs_internal.cc PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON) + if(APPLE) + set_source_files_properties( + filesystem/gcsfs.cc + PROPERTIES + COMPILE_OPTIONS "-Wno-error=deprecated-declarations" + ) + endif() # Suppress documentation warnings from google-cloud-cpp headers if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang") set_source_files_properties(filesystem/gcsfs.cc filesystem/gcsfs_internal.cc diff --git a/cpp/src/arrow/filesystem/gcsfs.cc b/cpp/src/arrow/filesystem/gcsfs.cc index b7b13aff7d1..ffeba9eadc3 100644 --- a/cpp/src/arrow/filesystem/gcsfs.cc +++ b/cpp/src/arrow/filesystem/gcsfs.cc @@ -353,9 +353,7 @@ class GcsFileSystem::Impl { // "Directory" convention, so if there is at least one object that // matches the prefix we assume it is a directory. std::string canonical = internal::EnsureTrailingSlash(path.object); - ARROW_SUPPRESS_DEPRECATION_WARNING auto list_result = client_.ListObjects(path.bucket, gcs::Prefix(canonical)); - ARROW_UNSUPPRESS_DEPRECATION_WARNING for (auto&& object_metadata : list_result) { if (!object_metadata) { From 2d54ca8a01df0c7080a121633f062f5a7e801ba4 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Wed, 19 Aug 2026 09:51:48 +0900 Subject: [PATCH 17/21] Try no-error=deprecated-declarations2 --- cpp/src/arrow/CMakeLists.txt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index 2617bb60240..db260ea2ad2 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -991,18 +991,11 @@ if(ARROW_FILESYSTEM) list(APPEND ARROW_FILESYSTEM_SRCS filesystem/gcsfs.cc filesystem/gcsfs_internal.cc) set_source_files_properties(filesystem/gcsfs.cc filesystem/gcsfs_internal.cc PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON) - if(APPLE) - set_source_files_properties( - filesystem/gcsfs.cc - PROPERTIES - COMPILE_OPTIONS "-Wno-error=deprecated-declarations" - ) - endif() # Suppress documentation warnings from google-cloud-cpp headers if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang") set_source_files_properties(filesystem/gcsfs.cc filesystem/gcsfs_internal.cc PROPERTIES COMPILE_OPTIONS - "-Wno-documentation;-Wno-documentation-deprecated-sync" + "-Wno-documentation;-Wno-documentation-deprecated-sync;-Wno-error=deprecated-declarations" ) endif() endif() From 415a267ce825a1e020d11969cc76fd0d23406ec0 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Wed, 19 Aug 2026 10:14:25 +0900 Subject: [PATCH 18/21] Try no-error=deprecated-declarations3 --- .github/workflows/ruby.yml | 8 -------- c_glib/test/flight-sql/test-client.rb | 2 +- cpp/src/arrow/CMakeLists.txt | 11 ++++++++++- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 5caffdfff41..fcecea40b46 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -158,14 +158,6 @@ jobs: ARROW_WITH_SNAPPY: ON ARROW_WITH_ZLIB: ON ARROW_WITH_ZSTD: ON - # Keep these dependencies bundled to avoid mixing Abseil ABIs until - # google-cloud-cpp supports Abseil 20260526. - # https://github.com/apache/arrow/issues/50868 - #absl_SOURCE: BUNDLED - #Protobuf_SOURCE: BUNDLED - #gRPC_SOURCE: BUNDLED - #ARROW_WITH_GOOGLE_CLOUD_CPP: ON - #ARROW_WITH_GCS: ON steps: - name: Checkout Arrow uses: actions/checkout@v7 diff --git a/c_glib/test/flight-sql/test-client.rb b/c_glib/test/flight-sql/test-client.rb index 1ed7f7e6e43..631eb3d542d 100644 --- a/c_glib/test/flight-sql/test-client.rb +++ b/c_glib/test/flight-sql/test-client.rb @@ -23,7 +23,7 @@ def setup @server = nil omit("Arrow Flight SQL is required") unless defined?(ArrowFlightSQL) omit("Unstable on Windows") if Gem.win_platform? - omit("Unstable on macOS") if /darwin/.match?(RUBY_PLATFORM) + omit("Unstable on x86_64 macOS") if /x86_64-darwin/.match?(RUBY_PLATFORM) @server = Helper::FlightSQLServer.new host = "127.0.0.1" location = ArrowFlight::Location.new("grpc://#{host}:0") diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index db260ea2ad2..c7dd618ef05 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -995,7 +995,16 @@ if(ARROW_FILESYSTEM) if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang") set_source_files_properties(filesystem/gcsfs.cc filesystem/gcsfs_internal.cc PROPERTIES COMPILE_OPTIONS - "-Wno-documentation;-Wno-documentation-deprecated-sync;-Wno-error=deprecated-declarations" + "-Wno-documentation;-Wno-documentation-deprecated-sync" + ) + endif() + # Workaround deprecated Abseil APIs used by google-cloud-cpp on macOS + # https://github.com/apache/arrow/issues/50868 + if(APPLE) + set_property( + SOURCE filesystem/gcsfs.cc filesystem/gcsfs_internal.cc + APPEND PROPERTY COMPILE_OPTIONS + "-Wno-error=deprecated-declarations" ) endif() endif() From 2e5cc60f68acea851483821a32c25e26d1960553 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Wed, 19 Aug 2026 10:31:04 +0900 Subject: [PATCH 19/21] Try no-error=deprecated-declarations4 --- cpp/src/arrow/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index c7dd618ef05..147497d4bb3 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -1001,11 +1001,9 @@ if(ARROW_FILESYSTEM) # Workaround deprecated Abseil APIs used by google-cloud-cpp on macOS # https://github.com/apache/arrow/issues/50868 if(APPLE) - set_property( - SOURCE filesystem/gcsfs.cc filesystem/gcsfs_internal.cc - APPEND PROPERTY COMPILE_OPTIONS - "-Wno-error=deprecated-declarations" - ) + set_property(SOURCE filesystem/gcsfs.cc filesystem/gcsfs_internal.cc + APPEND + PROPERTY COMPILE_OPTIONS "-Wno-error=deprecated-declarations") endif() endif() if(ARROW_HDFS) From c13d2c6c23742b43ae53a8109c8d8e9fcc59c778 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Wed, 19 Aug 2026 21:58:30 +0900 Subject: [PATCH 20/21] Skip red-arrow-flight test on macOS --- c_glib/test/flight-sql/test-client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_glib/test/flight-sql/test-client.rb b/c_glib/test/flight-sql/test-client.rb index 631eb3d542d..1ed7f7e6e43 100644 --- a/c_glib/test/flight-sql/test-client.rb +++ b/c_glib/test/flight-sql/test-client.rb @@ -23,7 +23,7 @@ def setup @server = nil omit("Arrow Flight SQL is required") unless defined?(ArrowFlightSQL) omit("Unstable on Windows") if Gem.win_platform? - omit("Unstable on x86_64 macOS") if /x86_64-darwin/.match?(RUBY_PLATFORM) + omit("Unstable on macOS") if /darwin/.match?(RUBY_PLATFORM) @server = Helper::FlightSQLServer.new host = "127.0.0.1" location = ArrowFlight::Location.new("grpc://#{host}:0") From 6d7e434d75197dc0c5e8cb76803c68a83cbacf4a Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 20 Aug 2026 05:48:36 +0900 Subject: [PATCH 21/21] Use google-cloud-cpp issue --- cpp/src/arrow/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index 147497d4bb3..b9ff2ffa2c2 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -999,7 +999,7 @@ if(ARROW_FILESYSTEM) ) endif() # Workaround deprecated Abseil APIs used by google-cloud-cpp on macOS - # https://github.com/apache/arrow/issues/50868 + # https://github.com/googleapis/google-cloud-cpp/issues/16354 if(APPLE) set_property(SOURCE filesystem/gcsfs.cc filesystem/gcsfs_internal.cc APPEND