Antoine Pitrou created ARROW-11786: -------------------------------------- Summary: [C++] CMake output noisy Key: ARROW-11786 URL: https://issues.apache.org/jira/browse/ARROW-11786 Project: Apache Arrow Issue Type: Bug Components: C++ Reporter: Antoine Pitrou Assignee: David Li
This shouldn't appear in the default CMake configuration output: {code} Run Build Command(s):/usr/bin/ninja cmTC_d6806 && [1/2] Building CXX object CMakeFiles/cmTC_d6806.dir/check_tls_opts_136.cc.o FAILED: CMakeFiles/cmTC_d6806.dir/check_tls_opts_136.cc.o /usr/bin/g++-9 -I/home/antoine/arrow/dev/cpp/thirdparty/flatbuffers/include -I/home/antoine/arrow/dev/cpp/build-test/jemalloc_ep-prefix/src -I/home/antoine/arrow/dev/cpp/build-test/mimalloc_ep/src/mimalloc_ep/lib/mimalloc-1.6/include -I/home/antoine/arrow/dev/cpp/thirdparty/hadoop/include -I/home/antoine/arrow/dev/cpp/build-test/src -I/home/antoine/arrow/dev/cpp/src -I/home/antoine/arrow/dev/cpp/src/generated -isystem /home/antoine/miniconda3/envs/pyarrow/include -Wno-noexcept-type -fdiagnostics-color=always -fuse-ld=gold -ggdb -O0 -Wall -Wno-conversion -Wno-deprecated-declarations -Wno-sign-conversion -Wno-unused-variable -fno-semantic-interposition -msse4.2 -D_GLIBCXX_USE_CXX11_ABI=1 -D_GLIBCXX_USE_CXX11_ABI=1 -fno-omit-frame-pointer -fPIE -pthread -std=c++11 -o CMakeFiles/cmTC_d6806.dir/check_tls_opts_136.cc.o -c /home/antoine/arrow/dev/cpp/src/arrow/flight/try_compile/check_tls_opts_136.cc In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33, from /usr/include/c++/9/bits/allocator.h:46, from /usr/include/c++/9/memory:63, from /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/channel.h:22, from /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/grpcpp.h:53, from /home/antoine/arrow/dev/cpp/src/arrow/flight/try_compile/check_tls_opts_136.cc:24: /usr/include/c++/9/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = grpc::experimental::TlsChannelCredentialsOptions; _Args = {}; _Tp = grpc::experimental::TlsChannelCredentialsOptions]': /usr/include/c++/9/bits/alloc_traits.h:482:2: required from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = grpc::experimental::TlsChannelCredentialsOptions; _Args = {}; _Tp = grpc::experimental::TlsChannelCredentialsOptions; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<grpc::experimental::TlsChannelCredentialsOptions>]' /usr/include/c++/9/bits/shared_ptr_base.h:548:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {}; _Tp = grpc::experimental::TlsChannelCredentialsOptions; _Alloc = std::allocator<grpc::experimental::TlsChannelCredentialsOptions>; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' /usr/include/c++/9/bits/shared_ptr_base.h:679:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = grpc::experimental::TlsChannelCredentialsOptions; _Alloc = std::allocator<grpc::experimental::TlsChannelCredentialsOptions>; _Args = {}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' /usr/include/c++/9/bits/shared_ptr_base.h:1344:71: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<grpc::experimental::TlsChannelCredentialsOptions>; _Args = {}; _Tp = grpc::experimental::TlsChannelCredentialsOptions; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' /usr/include/c++/9/bits/shared_ptr.h:359:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator<grpc::experimental::TlsChannelCredentialsOptions>; _Args = {}; _Tp = grpc::experimental::TlsChannelCredentialsOptions]' /usr/include/c++/9/bits/shared_ptr.h:701:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = grpc::experimental::TlsChannelCredentialsOptions; _Alloc = std::allocator<grpc::experimental::TlsChannelCredentialsOptions>; _Args = {}]' /usr/include/c++/9/bits/shared_ptr.h:717:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = grpc::experimental::TlsChannelCredentialsOptions; _Args = {}]' /home/antoine/arrow/dev/cpp/src/arrow/flight/try_compile/check_tls_opts_136.cc:30:85: required from here /usr/include/c++/9/ext/new_allocator.h:145:20: error: no matching function for call to 'grpc::experimental::TlsChannelCredentialsOptions::TlsChannelCredentialsOptions()' 145 | noexcept(noexcept(::new((void *)__p) | ^~~~~~~~~~~~~~~~~~ 146 | _Up(std::forward<_Args>(__args)...))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/security/credentials.h:31, from /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/create_channel.h:26, from /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/grpcpp.h:56, from /home/antoine/arrow/dev/cpp/src/arrow/flight/try_compile/check_tls_opts_136.cc:24: /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/security/tls_credentials_options.h:197:12: note: candidate: 'grpc::experimental::TlsChannelCredentialsOptions::TlsChannelCredentialsOptions(std::shared_ptr<grpc::experimental::CertificateProviderInterface>)' 197 | explicit TlsChannelCredentialsOptions( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/security/tls_credentials_options.h:197:12: note: candidate expects 1 argument, 0 provided /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/security/tls_credentials_options.h:195:7: note: candidate: 'grpc::experimental::TlsChannelCredentialsOptions::TlsChannelCredentialsOptions(const grpc::experimental::TlsChannelCredentialsOptions&)' 195 | class TlsChannelCredentialsOptions final : public TlsCredentialsOptions { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/security/tls_credentials_options.h:195:7: note: candidate expects 1 argument, 0 provided /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/security/tls_credentials_options.h:195:7: note: candidate: 'grpc::experimental::TlsChannelCredentialsOptions::TlsChannelCredentialsOptions(grpc::experimental::TlsChannelCredentialsOptions&&)' /home/antoine/miniconda3/envs/pyarrow/include/grpcpp/security/tls_credentials_options.h:195:7: note: candidate expects 1 argument, 0 provided ninja: build stopped: subcommand failed. -- TlsCredentialsOptions (for gRPC 1.36) not found in grpc::experimental. -- Checking support for TlsCredentialsOptions (gRPC >= 1.34)... -- Change Dir: /home/antoine/arrow/dev/cpp/build-test/src/arrow/flight/try_compile/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_a16f5 && [1/2] Building CXX object CMakeFiles/cmTC_a16f5.dir/check_tls_opts_134.cc.o [2/2] Linking CXX executable cmTC_a16f5 {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)