thisisnic opened a new issue, #48010: URL: https://github.com/apache/arrow/issues/48010
### Describe the bug, including details regarding any error messages, version, and platform. ### Describe the bug, including details regarding any error messages, version, and platform. Arrow currently bundles RE2 version 2022-06-01, which fails to build on musl libc systems (Alpine Linux) with the error: ``` error: 'int32_t' does not name a type /arrow/cpp/re2_ep-prefix/src/re2_ep/util/pcre.h:503:11 ``` This affects: - R package installation from source on Alpine (#46769) - C++ builds on Alpine Linux (#43350, #41619) - CRAN extended checks on musl (https://raw.githubusercontent.com/bastistician/Rcheck/refs/heads/results/musl/issues/arrow.out) ### Root cause RE2's `util/pcre.h` used `int32_t` without including `<cstdint>`. This was fixed upstream in RE2 on January 30, 2023 (commit changed from `int32_t` to plain `int` type). ### Proposed solution Update Arrow's bundled RE2 from **2022-06-01** to **2024-07-02**: - This version includes the fix (any version >= 2023-02-01 would work) - 2024-07-02 is widely adopted (used by vcpkg, Arch Linux) - Gets ~2 years of bug fixes and improvements - Well-tested and stable ### References - #43350 - Original bug report with suggested patch - #46769 - R package build failure on Alpine - #41619 - Docker build failure with RE2 on Alpine - RE2 commit fixing the issue: https://github.com/google/re2/commits/main/util/pcre.h (Jan 30, 2023) - CRAN extended musl check: Arrow 22.0.0 currently failing ### Component(s) C++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
