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

2022-08-03 Thread Kae Suarez (Jira)


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

Kae Suarez commented on ARROW-17193:


I can confirm that when turning on C++17, I stop having the error you show 
there, [~kou]. Also, this happens even with Abseil not in my homebrew, but in 
my Conda.

> [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
>Assignee: Kouhei Sutou
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> 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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-30 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-17193:
--

The error message

{noformat}
ImportError: 
dlopen(/Users/kszucs/Workspace/arrow/python/pyarrow/lib.cpython-39-darwin.so, 
0x0002): symbol not found in flat namespace 
'__ZN4absl12lts_2021110210FormatTimeENS0_11string_viewENS0_4TimeENS0_8TimeZoneE'
{noformat}

may not be related to this.

This may be able to fix by specifying {{-DCMAKE_CXX_STANDARD=17}}. (If used 
Abseil is built with C++17 and Arrow is built with C++11, this may be caused.)

> [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
>Assignee: Kouhei Sutou
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> 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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-30 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


With this change I'm able to build locally on M1. I think it'd be nice if this 
would be included as it's not possible to build locally otherwise. With 
ARROW_BUILD_TESTS=OFF you still can't build a working python library, see 
[Krisz' comment on 
Zulip|https://ursalabs.zulipchat.com/#narrow/stream/180245-dev/topic/Status.20of.20GCS.20support.3F/near/291180396].

> [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
>Assignee: Kouhei Sutou
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> 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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-29 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-17193:
--

This is ready but I'm not sure whether we should cherry-pick this to 9.0.0 or 
not. (I don't opposite it.)
Generally, users don't use {{ARROW_BUILD_TESTS=ON}}. I think that this isn't 
occurred without {{ARROW_BUILD_TESTS=ON}}.

> [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
>Assignee: Kouhei Sutou
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> 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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-29 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


I think Krisz is [probably open to 
it|https://ursalabs.zulipchat.com/#narrow/stream/180245-dev/topic/Status.20of.20GCS.20support.3F]
 if we have a fix.
[~kou] please let me know if I can help testing or otherwise!

> [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
>Assignee: Kouhei Sutou
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-29 Thread Ian Cook (Jira)


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

Ian Cook commented on ARROW-17193:
--

[~kou] [~rokm] do you think we could get the patch for this included in the 
next 9.0.0 release candidate (assuming there will be another release candidate)?

> [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
>Assignee: Kouhei Sutou
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-28 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


Oh, that makes sense.

> [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
>Assignee: Kouhei Sutou
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-28 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-17193:
--

I found that this is caused by mixing system Abseil (installed by Homebrew) and 
bundled Abseil.

> [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
>Assignee: Kouhei Sutou
>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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-25 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


Great! If I have time I'll try to move this too and will report here.

> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-25 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-17193:
--

OK. I'll try this this week or the next week because I'll get a M1 mac soon.

> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-25 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


Ah, that makes sense :)
That returns nothing.

> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-25 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-17193:
--

Ah, sorry. "G" is my local alias... Please use "| grep" instead of "G":

{noformat}
for x in $(brew --prefix abseil)/lib/libabsl*.dylib; do
 strings $x | c++filt | grep FormatTime && echo $x;
done
{noformat}

> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-25 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


Sure: 
{noformat}
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_bad_any_cast_impl.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_bad_any_cast_impl.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_bad_optional_access.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_bad_optional_access.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_bad_variant_access.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_bad_variant_access.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_base.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_base.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_city.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_city.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_civil_time.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_civil_time.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cord.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cord.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cord_internal.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cord_internal.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cordz_functions.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cordz_functions.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cordz_handle.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cordz_handle.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cordz_info.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cordz_info.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cordz_sample_token.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_cordz_sample_token.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_debugging_internal.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_debugging_internal.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_demangle_internal.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_demangle_internal.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_examine_stack.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_examine_stack.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_exponential_biased.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_exponential_biased.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_failure_signal_handler.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_failure_signal_handler.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_commandlineflag.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_commandlineflag.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_commandlineflag_internal.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_commandlineflag_internal.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_config.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_config.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_internal.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_internal.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_marshalling.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_marshalling.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_parse.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_parse.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_private_handle_accessor.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_private_handle_accessor.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_program_name.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_program_name.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_reflection.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_reflection.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_usage.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_usage.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_usage_internal.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_flags_usage_internal.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_graphcycles_internal.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_graphcycles_internal.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_hash.2206.0.0.dylib
G
FormatTime
/opt/homebrew/opt/abseil/lib/libabsl_hash.dylib
G
FormatTime

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

2022-07-24 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-17193:
--

Oh... Could you try the following?

{noformat}
for x in $(brew --prefix abseil)/lib/libabsl*.dylib; do
 strings $x | c++filt G FormatTime && echo $x;
done
{noformat}

> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-24 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


Just:
{noformat}
strings $(brew --prefix abseil)/lib/libabsl_time.dylib
{noformat}

Returns:

{noformat}
-%m-%d%ET%H:%M:%S
-%m-%d%ET%H:%M
-%m-%d%ET%H
-%m-%d
-2562047788015215h30m8s
%Y-%m-%d%ET%H:%M:%E*S%Ez
%Y-%m-%d%ET%H:%M:%S%Ez
%a, %d %b %E4Y %H:%M:%S %z
%d %b %E4Y %H:%M:%S %z
infinite-future
infinite-past
vH7Br
{noformat}


> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-24 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


{noformat}
strings $(brew --prefix abseil)/lib/libabsl_time.dylib | c++filt | grep 
FormatTime
{noformat}

Doesn't return anything. Filesize of libabsl_time.dylib is 106K.

> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-24 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-17193:
--

{{OK. Then could you show `strings $(brew --prefix 
abseil)/lib/libabsl_time.dylib | c++filt | grep FormatTime`?}}

> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-24 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


Thanks for looking into this Kou!

I just have dynamic libs:
{noformat}
/opt/homebrew/opt/abseil/lib/libabsl_time.dylib
/opt/homebrew/opt/abseil/lib/libabsl_time.2206.0.0.dylib{noformat}

> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-24 Thread Kouhei Sutou (Jira)


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

Kouhei Sutou commented on ARROW-17193:
--

Thanks.

Here is the important part:

{quote}
{noformat}
// A value of 2 means to detect the C++ version being used to compile Abseil,
// and use an alias only if a working std::string_view is available.  This
// option is useful when you are building your program from source.  It should
// not be used otherwise -- for example, if you are distributing Abseil in a
// binary package manager -- since in mode 2, absl::string_view will name a
// different type, with a different mangled name and binary layout, depending on
// the compiler flags passed by the end user.  For more info, see
// https://abseil.io/about/design/dropin-types.

#define ABSL_OPTION_USE_STD_STRING_VIEW 2
{noformat}
{quote}

Could you also show {{strings $(brew --prefix abseil)/lib/libabsl_time.a | 
c++filt | grep FormatTime}}?

> [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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)


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

2022-07-24 Thread Rok Mihevc (Jira)


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

Rok Mihevc commented on ARROW-17193:


{noformat}
/opt/homebrew/opt/abseil/include/absl/base/options.h
{noformat}


{code:cpp}
// Copyright 2019 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//  https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// -
// File: options.h
// -
//
// This file contains Abseil configuration options for setting specific
// implementations instead of letting Abseil determine which implementation to
// use at compile-time. Setting these options may be useful for package or build
// managers who wish to guarantee ABI stability within binary builds (which are
// otherwise difficult to enforce).
//
// *** IMPORTANT NOTICE FOR PACKAGE MANAGERS:  It is important that
// maintainers of package managers who wish to package Abseil read and
// understand this file! ***
//
// Abseil contains a number of possible configuration endpoints, based on
// parameters such as the detected platform, language version, or command-line
// flags used to invoke the underlying binary. As is the case with all
// libraries, binaries which contain Abseil code must ensure that separate
// packages use the same compiled copy of Abseil to avoid a diamond dependency
// problem, which can occur if two packages built with different Abseil
// configuration settings are linked together. Diamond dependency problems in
// C++ may manifest as violations to the One Definition Rule (ODR) (resulting in
// linker errors), or undefined behavior (resulting in crashes).
//
// Diamond dependency problems can be avoided if all packages utilize the same
// exact version of Abseil. Building from source code with the same compilation
// parameters is the easiest way to avoid such dependency problems. However, for
// package managers who cannot control such compilation parameters, we are
// providing the file to allow you to inject ABI (Application Binary Interface)
// stability across builds. Settings options in this file will neither change
// API nor ABI, providing a stable copy of Abseil between packages.
//
// Care must be taken to keep options within these configurations isolated
// from any other dynamic settings, such as command-line flags which could alter
// these options. This file is provided specifically to help build and package
// managers provide a stable copy of Abseil within their libraries and binaries;
// other developers should not have need to alter the contents of this file.
//
// -
// Usage
// -
//
// For any particular package release, set the appropriate definitions within
// this file to whatever value makes the most sense for your package(s). Note
// that, by default, most of these options, at the moment, affect the
// implementation of types; future options may affect other implementation
// details.
//
// NOTE: the defaults within this file all assume that Abseil can select the
// proper Abseil implementation at compile-time, which will not be sufficient
// to guarantee ABI stability to package managers.

#ifndef ABSL_BASE_OPTIONS_H_
#define ABSL_BASE_OPTIONS_H_

// Include a standard library header to allow configuration based on the
// standard library in use.
#ifdef __cplusplus
#include 
#endif

// -
// Type Compatibility Options
// -
//
// ABSL_OPTION_USE_STD_ANY
//
// This option controls whether absl::any is implemented as an alias to
// std::any, or as an independent implementation.
//
// A value of 0 means to use Abseil's implementation.  This requires only C++11
// support, and is expected to work on every toolchain we support.
//
// A value of 1 means to use an alias to std::any.  This requires that all code
// using Abseil is built in C++17 mode or later.
//
// A value of 2 means to detect the C++ version being used to compile Abseil,
// and use an alias only if a working std::any is available.  This option is
// useful when you are building your entire program, including all of 

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

2022-07-24 Thread Kouhei Sutou (Jira)


[ 
https://issues.apache.org/jira/browse/ARROW-17193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 std::__1::char_traits >, 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::duration > > 
> 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 std::__1::char_traits >, std::__1::basic_string_view std::__1::char_traits >, absl::lts_20220623::Time*, 
> std::__1::basic_string, 
> std::__1::allocator >*)", 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)