This is an automated email from the ASF dual-hosted git repository.

thisisnic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new d165954db5 GH-48010: [C++] Update bundled RE2 from 2022-06-01 to 
2023-03-01 (#48011)
d165954db5 is described below

commit d165954db5ff5de4ce29c7edebe97ce1e06c52b6
Author: Nic Crane <[email protected]>
AuthorDate: Fri Oct 31 18:13:42 2025 -0400

    GH-48010: [C++] Update bundled RE2 from 2022-06-01 to 2023-03-01 (#48011)
    
    ### Rationale for this change
    
    Arrow currently bundles RE2 version 2022-06-01, which fails to build on 
musl libc systems (Alpine Linux) due to missing `#include <cstdint>` in RE2's 
`util/pcre.h`. This affects R  package installations from source on Alpine 
(#46769), C++ builds on Alpine (#43350, #41619), and causes CRAN extended musl 
checks to fail.
    
    ### What changes are included in this PR?
    
    Updated `cpp/thirdparty/versions.txt`
    
    ### Are these changes tested?
    
    Yep - CI checks
    
    ### Are there any user-facing changes?
    
    No.
    
    * GitHub Issue: #48010
    
    Authored-by: Nic Crane <[email protected]>
    Signed-off-by: Nic Crane <[email protected]>
---
 cpp/thirdparty/versions.txt | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/cpp/thirdparty/versions.txt b/cpp/thirdparty/versions.txt
index 7ba1f4f876..fd596f9a24 100644
--- a/cpp/thirdparty/versions.txt
+++ b/cpp/thirdparty/versions.txt
@@ -99,8 +99,11 @@ 
ARROW_PROTOBUF_BUILD_SHA256_CHECKSUM=2f723218f6cb709ae4cdc4fb5ed56a5951fc5d466f0
 # warnings.
 ARROW_RAPIDJSON_BUILD_VERSION=232389d4f1012dddec4ef84861face2d2ba85709
 
ARROW_RAPIDJSON_BUILD_SHA256_CHECKSUM=b9290a9a6d444c8e049bd589ab804e0ccf2b05dc5984a19ed5ae75d090064806
-ARROW_RE2_BUILD_VERSION=2022-06-01
-ARROW_RE2_BUILD_SHA256_CHECKSUM=f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f
+# RE2 2023-03-01 is pinned to avoid Abseil dependency. Versions after 
2023-06-01
+# require Abseil, which would add significant build time and complexity, 
particularly
+# for CRAN builds. This version includes musl libc support (GH-48010).
+ARROW_RE2_BUILD_VERSION=2023-03-01
+ARROW_RE2_BUILD_SHA256_CHECKSUM=7a9a4824958586980926a300b4717202485c4b4115ac031822e29aa4ef207e48
 ARROW_SNAPPY_BUILD_VERSION=1.2.2
 
ARROW_SNAPPY_BUILD_SHA256_CHECKSUM=90f74bc1fbf78a6c56b3c4a082a05103b3a56bb17bca1a27e052ea11723292dc
 ARROW_SUBSTRAIT_BUILD_VERSION=v0.44.0

Reply via email to