Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI][C++] Flight feature verification failure #36475

Closed
pitrou opened this issue Jul 5, 2023 · 0 comments · Fixed by #36473
Closed

[CI][C++] Flight feature verification failure #36475

pitrou opened this issue Jul 5, 2023 · 0 comments · Fixed by #36473

Comments

@pitrou
Copy link
Member

pitrou commented Jul 5, 2023

Describe the bug, including details regarding any error messages, version, and platform.

Flight feature verification fails in the test-debian-11-python-3 CI job for reasons that have nothing to do with the feature being present/absent:

-- Checking support for TlsCredentialsOptions (gRPC >= 1.27)...
-- TlsCredentialsOptions (for gRPC 1.27) not found in grpc::experimental.
CMake Warning at src/arrow/flight/CMakeLists.txt:132 (message):
  Build output:
Call Stack (most recent call first):
  src/arrow/flight/CMakeLists.txt:154 (test_grpc_version)


CMake Warning at src/arrow/flight/CMakeLists.txt:134 (message):
  Change Dir: /build/cpp/src/arrow/flight/try_compile/CMakeFiles/CMakeTmp

  

  Run Build Command(s):/usr/bin/ninja cmTC_e1328 && [1/2] Building CXX object
  CMakeFiles/cmTC_e1328.dir/check_tls_opts_127.cc.o

  FAILED: CMakeFiles/cmTC_e1328.dir/check_tls_opts_127.cc.o

  /usr/lib/ccache/g++ -I/build/cpp/src -I/arrow/cpp/src
  -I/arrow/cpp/src/generated -Wno-noexcept-type -fdiagnostics-color=always
  -Wall -Wno-conversion -Wno-sign-conversion -Wunused-result -Wdate-time
  -fno-semantic-interposition -msse4.2 -g -Werror -O0 -ggdb -fPIE -pthread
  -std=c++11 -o CMakeFiles/cmTC_e1328.dir/check_tls_opts_127.cc.o -c
  /arrow/cpp/src/arrow/flight/try_compile/check_tls_opts_127.cc

  /arrow/cpp/src/arrow/flight/try_compile/check_tls_opts_127.cc: In function
  'int main(int, const char**)':

  /arrow/cpp/src/arrow/flight/try_compile/check_tls_opts_127.cc:34:39: error:
  unused variable 'opt' [-Werror=unused-variable]

     34 |   grpc_tls_server_verification_option opt = check(nullptr)
        |                                       ^~~

  cc1plus: all warnings being treated as errors

  ninja: build stopped: subcommand failed.

Component(s)

C++, Continuous Integration, Python

pitrou added a commit that referenced this issue Jul 5, 2023
Should fix the nightly `test-debian-11-python-3` failures.

* Closes: #36475

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
@pitrou pitrou added this to the 13.0.0 milestone Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant