Skip to content

Commit d165954

Browse files
authored
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]>
1 parent 8dd357d commit d165954

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cpp/thirdparty/versions.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,11 @@ ARROW_PROTOBUF_BUILD_SHA256_CHECKSUM=2f723218f6cb709ae4cdc4fb5ed56a5951fc5d466f0
9999
# warnings.
100100
ARROW_RAPIDJSON_BUILD_VERSION=232389d4f1012dddec4ef84861face2d2ba85709
101101
ARROW_RAPIDJSON_BUILD_SHA256_CHECKSUM=b9290a9a6d444c8e049bd589ab804e0ccf2b05dc5984a19ed5ae75d090064806
102-
ARROW_RE2_BUILD_VERSION=2022-06-01
103-
ARROW_RE2_BUILD_SHA256_CHECKSUM=f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f
102+
# RE2 2023-03-01 is pinned to avoid Abseil dependency. Versions after 2023-06-01
103+
# require Abseil, which would add significant build time and complexity, particularly
104+
# for CRAN builds. This version includes musl libc support (GH-48010).
105+
ARROW_RE2_BUILD_VERSION=2023-03-01
106+
ARROW_RE2_BUILD_SHA256_CHECKSUM=7a9a4824958586980926a300b4717202485c4b4115ac031822e29aa4ef207e48
104107
ARROW_SNAPPY_BUILD_VERSION=1.2.2
105108
ARROW_SNAPPY_BUILD_SHA256_CHECKSUM=90f74bc1fbf78a6c56b3c4a082a05103b3a56bb17bca1a27e052ea11723292dc
106109
ARROW_SUBSTRAIT_BUILD_VERSION=v0.44.0

0 commit comments

Comments
 (0)