kou commented on PR #34042: URL: https://github.com/apache/arrow/pull/34042#issuecomment-1422191511
@rtpsw @westonpace This broke `test-ubuntu-18.04-cpp` job: https://github.com/ursacomputing/crossbow/actions/runs/4121522608/jobs/7117290841#step:5:1695 ```text FAILED: src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/options.cc.o /usr/local/bin/sccache /usr/bin/c++ -DARROW_ENGINE_EXPORTING -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_HDFS -DARROW_MIMALLOC -DARROW_NO_DEPRECATED_API -DARROW_WITH_BROTLI -DARROW_WITH_BZ2 -DARROW_WITH_LZ4 -DARROW_WITH_RE2 -DARROW_WITH_SNAPPY -DARROW_WITH_TIMING_TESTS -DARROW_WITH_UTF8PROC -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -DURI_STATIC_BUILD -DUTF8PROC_STATIC -Darrow_substrait_shared_EXPORTS -Isrc -I/arrow/cpp/src -I/arrow/cpp/src/generated -Isubstrait_ep-generated -isystem /arrow/cpp/thirdparty/flatbuffers/include -isystem /arrow/cpp/thirdparty/hadoop/include -isystem orc_ep-install/include -isystem zstd_ep-install/include -isystem utf8proc_ep-install/include -isystem xsimd_ep/src/xsimd_ep-install/include -isystem jemalloc_ep-prefix/src -isystem mimalloc_ep/src/mimalloc_ep/include/mimalloc-2.0 -Wno-noexcept-type -fdiagnostics-color=always -Wall -Wno-conversion -Wno-sign-conversion -W unused-result -fno-semantic-interposition -msse4.2 -g -Werror -O0 -ggdb -fPIC -pthread -std=c++1z -MD -MT src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/options.cc.o -MF src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/options.cc.o.d -o src/arrow/engine/CMakeFiles/arrow_substrait_shared.dir/substrait/options.cc.o -c /arrow/cpp/src/arrow/engine/substrait/options.cc /arrow/cpp/src/arrow/engine/substrait/options.cc:130:6: error: 'mutex' in namespace 'std' does not name a type std::mutex g_default_extension_provider_mutex; ^~~~~ /arrow/cpp/src/arrow/engine/substrait/options.cc: In function 'std::shared_ptr<arrow::engine::ExtensionProvider> arrow::engine::default_extension_provider()': /arrow/cpp/src/arrow/engine/substrait/options.cc:135:8: error: 'unique_lock' is not a member of 'std' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~~~~~~~ /arrow/cpp/src/arrow/engine/substrait/options.cc:135:8: note: suggested alternative: 'unique_copy' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~~~~~~~ unique_copy /arrow/cpp/src/arrow/engine/substrait/options.cc:135:25: error: 'mutex' is not a member of 'std' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~ /arrow/cpp/src/arrow/engine/substrait/options.cc:135:37: error: 'g_default_extension_provider_mutex' was not declared in this scope std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /arrow/cpp/src/arrow/engine/substrait/options.cc:135:37: note: suggested alternative: 'default_extension_provider' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ default_extension_provider /arrow/cpp/src/arrow/engine/substrait/options.cc:135:32: error: 'lock' was not declared in this scope std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~ /arrow/cpp/src/arrow/engine/substrait/options.cc:135:32: note: suggested alternative: 'clock' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~ clock /arrow/cpp/src/arrow/engine/substrait/options.cc: In function 'void arrow::engine::set_default_extension_provider(const std::shared_ptr<arrow::engine::ExtensionProvider>&)': /arrow/cpp/src/arrow/engine/substrait/options.cc:140:8: error: 'unique_lock' is not a member of 'std' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~~~~~~~ /arrow/cpp/src/arrow/engine/substrait/options.cc:140:8: note: suggested alternative: 'unique_copy' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~~~~~~~ unique_copy /arrow/cpp/src/arrow/engine/substrait/options.cc:140:25: error: 'mutex' is not a member of 'std' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~ /arrow/cpp/src/arrow/engine/substrait/options.cc:140:37: error: 'g_default_extension_provider_mutex' was not declared in this scope std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /arrow/cpp/src/arrow/engine/substrait/options.cc:140:37: note: suggested alternative: 'default_extension_provider' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ default_extension_provider /arrow/cpp/src/arrow/engine/substrait/options.cc:140:32: error: 'lock' was not declared in this scope std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~ /arrow/cpp/src/arrow/engine/substrait/options.cc:140:32: note: suggested alternative: 'clock' std::unique_lock<std::mutex> lock(g_default_extension_provider_mutex); ^~~~ clock ``` Could you check this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
