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

[C++] Building GCS and tests on M1 MacOS 12.05 is failing.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0.0
    • 10.0.0
    • C++

    Description

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

      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 \
      	..
      

      Env:

      PYARROW_WITH_PARQUET=1
      PYARROW_WITH_DATASET=1
      PYARROW_WITH_ORC=1
      PYARROW_WITH_PARQUET_ENCRYPTION=1
      PYARROW_WITH_PLASMA=1
      PYARROW_WITH_GCS=1
      

      Building errors with:

      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
      

      Dependencies installed with:

      brew update && brew bundle --file=cpp/Brewfile
      

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

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              rokm Rok Mihevc
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 3h 20m
                  3h 20m