build_with_bazel 无法正常编译
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
你用的 bazel 版本可能太新了, bazel 兼容性不太好, 可以试试使用较低的版本. 例如 6.x or 5.x.