Building the R package on arm64-linux fails due to ABSL linking errors:
Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/__w/apache/apache/mylib/00LOCK-arrow/00new/arrow/libs/arrow.so':
/__w/apache/apache/mylib/00LOCK-arrow/00new/arrow/libs/arrow.so: undefined symbol: _ZN4absl7debian319str_format_internal13FormatArgImpl8DispatchIiEEbNS2_4DataENS1_24FormatConversionSpecImplEPv
Error: loading failed
Execution halted
When we demangle, seems like a missing symbol for absl:
c++filt __ZN4absl7debian319str_format_internal13FormatArgImpl8DispatchIiEEbNS2_4DataENS1_24FormatConversionSpecImplEPv
# bool absl::debian3::str_format_internal::FormatArgImpl::Dispatch<int>(absl::debian3::str_format_internal::FormatArgImpl::Data, absl::debian3::str_format_internal::FormatConversionSpecImpl, void*)
We can work around the problem by disabling absl, either via LIBARROW_MINIMAL=true or ARROW_GCS=OFF.
Reproduce one-liner
You can reproduce in docker on an arm64 system (for example M1 mac) by installing arrow with NOT_CRAN=TRUE.
I also made a GitHub action that does this: https://github.com/jeroen/test-arrow/blob/main/.github/workflows/test.yml
You can see the fail log here: https://github.com/jeroen/test-arrow/actions/runs/14857603984
Component(s)
R
Building the R package on arm64-linux fails due to ABSL linking errors:
When we demangle, seems like a missing symbol for absl:
c++filt __ZN4absl7debian319str_format_internal13FormatArgImpl8DispatchIiEEbNS2_4DataENS1_24FormatConversionSpecImplEPv # bool absl::debian3::str_format_internal::FormatArgImpl::Dispatch<int>(absl::debian3::str_format_internal::FormatArgImpl::Data, absl::debian3::str_format_internal::FormatConversionSpecImpl, void*)We can work around the problem by disabling absl, either via
LIBARROW_MINIMAL=trueorARROW_GCS=OFF.Reproduce one-liner
You can reproduce in docker on an arm64 system (for example M1 mac) by installing arrow with
NOT_CRAN=TRUE.I also made a GitHub action that does this: https://github.com/jeroen/test-arrow/blob/main/.github/workflows/test.yml
You can see the fail log here: https://github.com/jeroen/test-arrow/actions/runs/14857603984
Component(s)
R