You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2022/07/25 02:45:00 UTC

[jira] [Commented] (ARROW-17193) [C++] Building GCS and tests on M1 MacOS 12.05 is failing.

    [ https://issues.apache.org/jira/browse/ARROW-17193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570589#comment-17570589 ] 

Kouhei Sutou commented on ARROW-17193:
--------------------------------------

It seems that Abseil is built without {{std::string_view}} but GCS uses {{std::string_view}}.

Could you show {{$(brew --prefix abseil)/include/absl/base/options.h}}?

> [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
>            Priority: Major
>
> 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}
> Env:
> {code:bash}
> 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
> {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)