You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/11/16 08:48:05 UTC

[GitHub] [incubator-brpc] pcman-zhang opened a new issue #1287: Build break with Bazel

pcman-zhang opened a new issue #1287:
URL: https://github.com/apache/incubator-brpc/issues/1287


   **Describe the bug (描述bug)**
   Try to build brpc with bazel, but build break
   
   **To Reproduce (复现方法)**
   at the directory of brpc, run:
   $ bazel build brpc
   
   This error occupied:
   
   ERROR: Traceback (most recent call last):
   	File "/private/var/tmp/_bazel_freeman/b850d964ac91cfb4966c867783252dee/external/com_google_protobuf/protobuf.bzl", line 130, column 29, in <toplevel>
   		"protoc": attr.label(
   Error in label: label() got unexpected keyword argument 'single_file'
   ERROR: Skipping 'brpc': error loading package '': in /Users/freeman/Dev/incubator-brpc/bazel/brpc.bzl: Extension file 'protobuf.bzl' has errors
   WARNING: Target pattern parsing failed.
   ERROR: error loading package '': in /Users/freeman/Dev/incubator-brpc/bazel/brpc.bzl: Extension file 'protobuf.bzl' has errors
   INFO: Elapsed time: 0.048s
   INFO: 0 processes.
   FAILED: Build did NOT complete successfully (1 packages loaded)
   
   
   **Expected behavior (期望行为)**
   build success
   
   **Versions (各种版本)**
   OS: macOS catalina 10.15.7
   Compiler: Apple clang version 12.0.0 (clang-1200.0.32.2) / bazel version: Build label: 3.6.0-homebrew 
   brpc: current master branch 
   protobuf: libprotoc 3.13.0
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] chenzhangyi commented on issue #1287: Build break with Bazel

Posted by GitBox <gi...@apache.org>.
chenzhangyi commented on issue #1287:
URL: https://github.com/apache/incubator-brpc/issues/1287#issuecomment-731565182


   bazel是什么版本?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] yuqZY commented on issue #1287: Build break with Bazel

Posted by GitBox <gi...@apache.org>.
yuqZY commented on issue #1287:
URL: https://github.com/apache/incubator-brpc/issues/1287#issuecomment-880385427


   一样的问题


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] pcman-zhang commented on issue #1287: Build break with Bazel

Posted by GitBox <gi...@apache.org>.
pcman-zhang commented on issue #1287:
URL: https://github.com/apache/incubator-brpc/issues/1287#issuecomment-733426517


   bazel: version 3.60


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org