You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2022/06/21 14:53:00 UTC

[jira] [Created] (ARROW-16869) [C++] Fix bundled abseil and homebrew formula

Neal Richardson created ARROW-16869:
---------------------------------------

             Summary: [C++] Fix bundled abseil and homebrew formula
                 Key: ARROW-16869
                 URL: https://issues.apache.org/jira/browse/ARROW-16869
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Neal Richardson
            Assignee: Neal Richardson


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

{code}
** 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
{code}

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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)