Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16869

[C++] Fix bundled abseil and homebrew formula

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 9.0.0
    • C++

    Description

      The homebrew-r-brew nightly job has been failing since the ARROW_GCS flag was turned on in ARROW-14892. The failure is an undefined absl symbol

      ** testing if installed package can be loaded from temporary location
      Error: Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath = DLLpath, ...):
       unable to load shared object '/Users/runner/work/crossbow/crossbow/arrow/r/check/arrow.Rcheck/00LOCK-arrow/00new/arrow/libs/arrow.so':
        dlopen(/Users/runner/work/crossbow/crossbow/arrow/r/check/arrow.Rcheck/00LOCK-arrow/00new/arrow/libs/arrow.so, 6): Symbol not found: __ZN4absl12lts_2021110210FormatTimeENS0_11string_viewENS0_4TimeENS0_8TimeZoneE
        Referenced from: /usr/local/opt/apache-arrow/lib/libarrow.900.dylib
        Expected in: flat namespace
       in /usr/local/opt/apache-arrow/lib/libarrow.900.dylib
      

      I encountered the same error when working on R bindings for GCS in ARROW-16510. There are two issues:

      • The bundled abseil cmake build macro is incomplete, possibly as a result of a merge conflict
      • The homebrew formula should be updated to use the brew bottles for the google-cloud-cpp dependencies (there is no formula for it itself) rather than bundle everything

      Attachments

        Issue Links

          Activity

            People

              npr Neal Richardson
              npr Neal Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m

                  Slack

                    Issue deployment