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)