You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "Lowpower (via GitHub)" <gi...@apache.org> on 2023/08/31 10:25:17 UTC

[I] build_with_bazel 无法正常编译 (brpc)

Lowpower opened a new issue, #2365:
URL: https://github.com/apache/brpc/issues/2365

   **Describe the bug (描述bug)**
   ERROR: /home/xxx/.cache/bazel/_bazel_szq/b7f169e30d91fc83d5236eaff6188978/external/bazel_tools/tools/osx/BUILD: no such target '@bazel_tools//tools/osx:darwin': target 'darwin' not declared in package 'tools/osx' defined by /home/xxx/.cache/bazel/_bazel_szq/b7f169e30d91fc83d5236eaff6188978/external/bazel_tools/tools/osx/BUILD (Tip: use `query "@bazel_tools//tools/osx:*"` to see all the targets in that package)
   
   **To Reproduce (复现方法)**
   编译例子里的build_with_bazel
   
   **Expected behavior (期望行为)**
   正常编译
   
   **Versions (各种版本)**
   OS: ubuntu22.04
   Compiler: 
   brpc:master
   protobuf:默认
   
   **Additional context/screenshots (更多上下文/截图)**
   bazel 版本7.0
   


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


Re: [I] build_with_bazel 无法正常编译 (brpc)

Posted by "chenBright (via GitHub)" <gi...@apache.org>.
chenBright closed issue #2365: build_with_bazel 无法正常编译
URL: https://github.com/apache/brpc/issues/2365


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


Re: [I] build_with_bazel 无法正常编译 (brpc)

Posted by "fansehep (via GitHub)" <gi...@apache.org>.
fansehep commented on issue #2365:
URL: https://github.com/apache/brpc/issues/2365#issuecomment-1705146567

   你用的 bazel 版本太新了, bazel 兼容性不太好, 可以试试使用较低的版本. 例如 6.x or 5.x.


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