Rok Mihevc created ARROW-17193:
----------------------------------

             Summary: [C++] Building GCS and tests on M1 MacOS 12.05 is failing.
                 Key: ARROW-17193
                 URL: https://issues.apache.org/jira/browse/ARROW-17193
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
    Affects Versions: 8.0.0
            Reporter: Rok Mihevc


Building GCS and tests on M1 MacOS 12.05 with dependencies installed with 
homebrew is failing.

{code:bash}
cmake \
        -GNinja \
        -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
        -DCMAKE_INSTALL_LIBDIR=lib \
        -DARROW_PYTHON=ON \
        -DARROW_COMPUTE=ON \
        -DARROW_FILESYSTEM=ON \
        -DARROW_CSV=ON \
        -DARROW_GCS=ON \
        -DARROW_INSTALL_NAME_RPATH=OFF \
        -DARROW_BUILD_TESTS=ON \
        -DCMAKE_CXX_STANDARD=17 \
        ..
{code}

Building errors with:

{noformat}
Undefined symbols for architecture arm64:
  "absl::lts_20220623::FormatTime(std::__1::basic_string_view<char, 
std::__1::char_traits<char> >, absl::lts_20220623::Time, 
absl::lts_20220623::TimeZone)", referenced from:
      arrow::fs::(anonymous 
namespace)::GcsIntegrationTest_OpenInputStreamReadMetadata_Test::TestBody() in 
gcsfs_test.cc.o
  
"absl::lts_20220623::FromChrono(std::__1::chrono::time_point<std::__1::chrono::system_clock,
 std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l> > > 
const&)", referenced from:
      arrow::fs::(anonymous 
namespace)::GcsIntegrationTest_OpenInputStreamReadMetadata_Test::TestBody() in 
gcsfs_test.cc.o
  "absl::lts_20220623::RFC3339_full", referenced from:
      arrow::fs::(anonymous 
namespace)::GcsFileSystem_ObjectMetadataRoundtrip_Test::TestBody() in 
gcsfs_test.cc.o
      arrow::fs::(anonymous 
namespace)::GcsIntegrationTest_OpenInputStreamReadMetadata_Test::TestBody() in 
gcsfs_test.cc.o
  "absl::lts_20220623::time_internal::cctz::utc_time_zone()", referenced from:
      arrow::fs::(anonymous 
namespace)::GcsIntegrationTest_OpenInputStreamReadMetadata_Test::TestBody() in 
gcsfs_test.cc.o
  "absl::lts_20220623::ToDoubleSeconds(absl::lts_20220623::Duration)", 
referenced from:
      arrow::fs::(anonymous 
namespace)::GcsFileSystem_ObjectMetadataRoundtrip_Test::TestBody() in 
gcsfs_test.cc.o
  "absl::lts_20220623::Duration::operator-=(absl::lts_20220623::Duration)", 
referenced from:
      arrow::fs::(anonymous 
namespace)::GcsFileSystem_ObjectMetadataRoundtrip_Test::TestBody() in 
gcsfs_test.cc.o
  "absl::lts_20220623::ParseTime(std::__1::basic_string_view<char, 
std::__1::char_traits<char> >, std::__1::basic_string_view<char, 
std::__1::char_traits<char> >, absl::lts_20220623::Time*, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> >*)", referenced from:
      arrow::fs::(anonymous 
namespace)::GcsFileSystem_ObjectMetadataRoundtrip_Test::TestBody() in 
gcsfs_test.cc.o
{noformat}


Dependencies  installed with:
{noformat}
brew update && brew bundle --file=cpp/Brewfile
{noformat}

See https://github.com/apache/arrow/pull/13681#issuecomment-1193241547 and  
https://github.com/apache/arrow/pull/13407



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to