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

   **Describe the bug (描述bug)**
   
   这是我的BUILD文件中一部分。
   `scu_cc_library(
       name = "context",
       hdrs = ["context.h"],
       srcs = ["context.cpp"],
       deps = [
           # "//libscu/lib/link/pb:link_cpp_proto",
           "@com_github_brpc_brpc//:brpc",
           "@com_github_brpc_brpc//:butil",
       ],
   )`
   
   编译context的时候会报如下错误:
   
   `ERROR: Analysis of target '//libscu/lib/link:context' failed; build 
aborted: no such package 'bazel/config': BUILD file not found in any of the 
following directories. Add a BUILD file to a directory to mark it as a package.`
   
   如果把"@com_github_brpc_brpc//:brpc"注释掉可以编译通过。
   
   
   **To Reproduce (复现方法)**
   
   必现
   
   **Expected behavior (期望行为)**
   能够编译通过
   
   **Versions (各种版本)**
   OS: ubuntu1~22.04
   Compiler: gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
   brpc: brpc-1.4.0
   protobuf: protobuf-3.19.4
   
   **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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to