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

python_grpc_library build fail #273

Open
chokychou opened this issue Jul 28, 2023 · 0 comments
Open

python_grpc_library build fail #273

chokychou opened this issue Jul 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@chokychou
Copy link

Issue Description

python_grpc_compile succeeded but python_grpc_library failed.

Log Output

% blaze build ...
INFO: Analyzed 3 targets (86 packages loaded, 3180 targets configured).
INFO: Found 3 targets...
INFO: From Compiling src/google/protobuf/generated_message_tctable_lite.cc [for tool]:
external/com_google_protobuf/src/google/protobuf/generated_message_tctable_lite.cc:347:14: warning: unused function 'Offset' [-Wunused-function]
inline void* Offset(void* base, uint32_t offset) {
             ^
1 warning generated.
INFO: From Compiling src/google/protobuf/stubs/strutil.cc [for tool]:
external/com_google_protobuf/src/google/protobuf/stubs/strutil.cc:506:11: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
          sprintf(dest + used, (use_hex ? "\\x%02x" : "\\%03o"),
          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
INFO: From Compiling src/google/protobuf/compiler/cpp/helpers.cc [for tool]:
external/com_google_protobuf/src/google/protobuf/compiler/cpp/helpers.cc:197:25: warning: unused function 'VerifyInt32TypeToVerifyCustom' [-Wunused-function]
inline VerifySimpleType VerifyInt32TypeToVerifyCustom(VerifyInt32Type t) {
                        ^
1 warning generated.
INFO: From Generating Descriptor Set proto_library @com_github_cncf_udpa//xds/type/v3:pkg:
xds/type/v3/typed_struct.proto:10:1: warning: Import validate/validate.proto is unused.
INFO: From Generating Descriptor Set proto_library @com_github_cncf_udpa//xds/service/orca/v3:pkg:
xds/service/orca/v3/orca.proto:14:1: warning: Import validate/validate.proto is unused.
ERROR: /private/var/tmp/_bazel_user/e73f6637d252203b675bd1a947b12b44/external/com_github_grpc_grpc/src/core/BUILD:4596:16: Compiling src/core/ext/transport/chttp2/server/chttp2_server.cc failed: (Exit 1): wrapped_clang_pp failed: error executing command (from target @com_github_grpc_grpc//src/core:grpc_transport_chttp2_server) external/local_config_cc/wrapped_clang_pp '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -O0 -DDEBUG '-std=c++11' ... (remaining 75 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:40:
In file included from external/com_github_grpc_grpc/src/core/lib/avl/avl.h:26:
external/com_github_grpc_grpc/src/core/lib/gpr/useful.h:109:17: error: 'auto' not allowed in lambda parameter
      [&](const auto& x) {
                ^~~~
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:58:11: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    reset(std::exchange(other.value_, nullptr));
          ^~~~~~~~~~~~~
          absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:63:11: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    reset(std::exchange(other.value_, nullptr));
          ^~~~~~~~~~~~~
          absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:109:20: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    T* old_value = std::exchange(value_, value);
                   ^~~~~~~~~~~~~
                   absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:114:20: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    T* old_value = std::exchange(value_, value);
                   ^~~~~~~~~~~~~
                   absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:134:25: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
  T* release() { return std::exchange(value_, nullptr); }
                        ^~~~~~~~~~~~~
                        absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:201:11: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    reset(std::exchange(other.value_, nullptr));
          ^~~~~~~~~~~~~
          absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:206:11: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    reset(std::exchange(other.value_, nullptr));
          ^~~~~~~~~~~~~
          absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:252:20: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    T* old_value = std::exchange(value_, value);
                   ^~~~~~~~~~~~~
                   absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:26:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_args.h:43:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/dual_ref_counted.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/orphanable.h:29:
In file included from external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted.h:32:
external/com_github_grpc_grpc/src/core/lib/gprpp/ref_counted_ptr.h:257:20: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    T* old_value = std::exchange(value_, value);
                   ^~~~~~~~~~~~~
                   absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:73:
In file included from external/com_github_grpc_grpc/src/core/lib/promise/arena_promise.h:30:
In file included from external/com_github_grpc_grpc/src/core/lib/resource_quota/arena.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/resource_quota/memory_quota.h:42:
external/com_github_grpc_grpc/src/core/lib/promise/activity.h:113:12: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    return std::exchange(wakeable_, promise_detail::unwakeable());
           ^~~~~~~~~~~~~
           absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:73:
In file included from external/com_github_grpc_grpc/src/core/lib/promise/arena_promise.h:30:
In file included from external/com_github_grpc_grpc/src/core/lib/resource_quota/arena.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/resource_quota/memory_quota.h:42:
external/com_github_grpc_grpc/src/core/lib/promise/activity.h:334:12: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    return std::exchange(action_during_run_, ActionDuringRun::kNone);
           ^~~~~~~~~~~~~
           absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:73:
external/com_github_grpc_grpc/src/core/lib/promise/arena_promise.h:36:17: error: no template named 'aligned_storage_t' in namespace 'std'; did you mean 'absl::aligned_storage_t'?
using ArgType = std::aligned_storage_t<sizeof(void*)>;
                ^~~~~~~~~~~~~~~~~~~~~~
                absl::aligned_storage_t
external/com_google_absl/absl/meta/type_traits.h:625:1: note: 'absl::aligned_storage_t' declared here
using aligned_storage_t = typename std::aligned_storage<Len, Align>::type;
^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:64:17: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
      : center_(std::exchange(other.center_, nullptr)) {}
                ^~~~~~~~~~~~~
                absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:66:15: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    center_ = std::exchange(other.center_, nullptr);
              ^~~~~~~~~~~~~
              absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:302:24: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
    if (auto* center = std::exchange(center_, nullptr)) center->UnrefSend();
                       ^~~~~~~~~~~~~
                       absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:425:7: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
      std::exchange(center_, nullptr)->UnrefRecv();
      ^~~~~~~~~~~~~
      absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:56:
external/com_github_grpc_grpc/src/core/lib/promise/pipe.h:470:17: error: no member named 'exchange' in namespace 'std'; did you mean 'absl::exchange'?
  if (auto* p = std::exchange(center_, nullptr)) p->AckNext();
                ^~~~~~~~~~~~~
                absl::exchange
external/com_google_absl/absl/utility/utility.h:314:3: note: 'absl::exchange' declared here
T exchange(T& obj, U&& new_value) {
  ^
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc:21:
In file included from external/com_github_grpc_grpc/src/core/ext/transport/chttp2/server/chttp2_server.h:28:
In file included from external/com_github_grpc_grpc/src/core/lib/surface/server.h:45:
In file included from external/com_github_grpc_grpc/src/core/lib/channel/channel_stack.h:75:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/transport.h:60:
In file included from external/com_github_grpc_grpc/src/core/lib/transport/metadata_batch.h:41:
In file included from external/com_github_grpc_grpc/src/core/lib/compression/compression_internal.h:34:
external/com_github_grpc_grpc/src/core/lib/gprpp/bitset.h:87:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
  constexpr void set(int i) { units_[unit_for(i)] |= mask_for(i); }
                 ^
                            const
external/com_github_grpc_grpc/src/core/lib/gprpp/bitset.h:90:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
  constexpr void set(int i, bool is_set) {
                 ^
                                         const
external/com_github_grpc_grpc/src/core/lib/gprpp/bitset.h:99:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
  constexpr void clear(int i) { units_[unit_for(i)] &= ~mask_for(i); }
                 ^
                              const
external/com_github_grpc_grpc/src/core/lib/gprpp/bitset.h:87:18: error: constexpr function's return type 'void' is not a literal type
  constexpr void set(int i) { units_[unit_for(i)] |= mask_for(i); }
                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
Error in child process '/usr/bin/xcrun'. 1
INFO: Elapsed time: 35.837s, Critical Path: 8.14s
INFO: 508 processes: 28 internal, 478 darwin-sandbox, 2 local.
FAILED: Build did NOT complete successfully

rules_proto_grpc Version

rules_proto_grpc-4.4.0

Bazel Version

[bazel release 6.2.1-homebrew]

OS

Ventura Version 13.3.1 (a) (22E772610a)

Link to Demo Repo

No response

WORKSPACE Content

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_proto_grpc",
    sha256 = "928e4205f701b7798ce32f3d2171c1918b363e9a600390a25c876f075f1efc0a",
    strip_prefix = "rules_proto_grpc-4.4.0",
    urls = ["https://github.com/rules-proto-grpc/rules_proto_grpc/releases/download/4.4.0/rules_proto_grpc-4.4.0.tar.gz"],
)

load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_toolchains", "rules_proto_grpc_repos")
rules_proto_grpc_toolchains()
rules_proto_grpc_repos()

load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()


load("@rules_proto_grpc//python:repositories.bzl", rules_proto_grpc_python_repos = "python_repos")

rules_proto_grpc_python_repos()

load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")

grpc_deps()

load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")

grpc_extra_deps()

BUILD Content

python_grpc_library(
    name = "server_pb2_grpc",
    protos = [":server_pb2"],
)

Proto Content

syntax = "proto3";

package server;

message TokenConnectionRequest {
    optional string token = 1;
}

message TokenConnectionResponse {
    enum Status{
        UNKNOWN = 0;
        OK = 1;
        ERROR = 2;
    }
    optional Status status = 1;
}

service TokenConnection {
    rpc DealNewConnectionToken(TokenConnectionRequest) returns (TokenConnectionResponse) {}
}

Any Other Content

No response

@chokychou chokychou added the bug Something isn't working label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant