When building Arrow, one can get errors such as the following
-- Buildoutput: ChangeDir: /home/antoine/arrow/dev/cpp/build-test/src/arrow/flight/try_compile/CMakeFiles/CMakeTmpRunBuildCommand(s):/usr/bin/ninjacmTC_cfc86 && [1/2] BuildingCXXobjectCMakeFiles/cmTC_cfc86.dir/check_tls_opts_132.cc.oFAILED: CMakeFiles/cmTC_cfc86.dir/check_tls_opts_132.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 -march=haswell -mavx2 -D_GLIBCXX_USE_CXX11_ABI=1 -D_GLIBCXX_USE_CXX11_ABI=1 -fno-omit-frame-pointer -fPIE -std=c++11 -oCMakeFiles/cmTC_cfc86.dir/check_tls_opts_132.cc.o -c /home/antoine/arrow/dev/cpp/src/arrow/flight/try_compile/check_tls_opts_132.cc
/home/antoine/arrow/dev/cpp/src/arrow/flight/try_compile/check_tls_opts_132.cc:28:31: error: 'TlsCredentialsOptions'innamespace'grpc::experimental'doesnotnameatype; didyoumean'AltsCredentialsOptions'?
28 | constgrpc::experimental::TlsCredentialsOptions* options) {
| ^~~~~~~~~~~~~~~~~~~~~
| AltsCredentialsOptions
/home/antoine/arrow/dev/cpp/src/arrow/flight/try_compile/check_tls_opts_132.cc: Infunction'grpc_tls_server_verification_option check(const int*)':
/home/antoine/arrow/dev/cpp/src/arrow/flight/try_compile/check_tls_opts_132.cc:29:61: error: requestformember'server_verification_option'in'* options', whichisofnon-classtype'const int'29 | grpc_tls_server_verification_optionserver_opt = options->server_verification_option();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: buildstopped: subcommandfailed.
There are two problems:
- this is displayed as an error, but it's not an actual error from the user's point of view (Arrow builds fine nevertheless)
- this is displayed each time when building, even if nothing needs rebuilding
Reporter: Antoine Pitrou / @pitrou
Assignee: David Li / @lidavidm
PRs and other links:
Note: This issue was originally created as ARROW-10286. Please see the migration documentation for further details.
When building Arrow, one can get errors such as the following
There are two problems:
Reporter: Antoine Pitrou / @pitrou
Assignee: David Li / @lidavidm
PRs and other links:
Note: This issue was originally created as ARROW-10286. Please see the migration documentation for further details.