Skip to content

[R] Full-feature build fails on ubuntu-24.04-arm64 #46313

Closed

Description

@jeroen

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

Activity

  1. changed the title [-]Fails to build on ubuntu-24.04-arm64[/-] [+][R] Fails to build on ubuntu-24.04-arm64[/+] on May 4, 2025
  2. eitsupi commented on May 5, 2025

    @eitsupi
    Contributor

    Related to #36193

  3. changed the title [-][R] Fails to build on ubuntu-24.04-arm64[/-] [+][R] Non-minimal build fails on ubuntu-24.04-arm64[/+] on May 6, 2025
  4. changed the title [-][R] Non-minimal build fails on ubuntu-24.04-arm64[/-] [+][R] Full build fails on ubuntu-24.04-arm64[/+] on May 6, 2025
  5. changed the title [-][R] Full build fails on ubuntu-24.04-arm64[/-] [+][R] Full-feature build fails on ubuntu-24.04-arm64[/+] on May 6, 2025
  6. jeroen commented on Oct 19, 2025

    @jeroen
    ContributorAuthor

    FYI this is still broken. If we build the R package on a system where there are no libarrow binaries (e.g. arm64 or just any non-release version) the build fails.

  7. thisisnic commented on Apr 7, 2026

    @thisisnic
    Member

    This should have been resolved in #48574 as we now have binaries - please let me know if it's not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions