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

   **Describe the bug (描述bug)**
   
   当前 ci 编译报错,
   https://github.com/apache/brpc/actions/runs/11756557576/job/32872650818
   
   日志中发现,bazel 未使用声明的 protobuf 版本
   
   > WARNING: For repository 'com_google_protobuf', the root module requires 
module version protobuf@3.19.6, but got protobuf@27.0 in the resolved 
dependency graph.
   
   `::google::protobuf::DynamicCastToGenerated` 在 protobuf 27 版本改动,引入了[不兼容 gcc 
13 以下版本的问题](https://github.com/protocolbuffers/protobuf/issues/16868),在 27.3 
中修复。
   
   需确定 bazel 是如何解析为 27 版本的
   
   
   **To Reproduce (复现方法)**
   
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS:
   Compiler:
   brpc:
   protobuf:
   
   **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: dev-unsubscr...@brpc.apache.org.apache.org

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


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

Reply via email to