This repo does not build successfully w/amd64 debian and Bazel 5 or 6
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- build-system
调研方向
在使用 Bazel 5 或 6 的 amd64 Debian 上,通过 bazel build //... 重现该失败。先从 bzlmod/02-override_bazel_module/BUILD、examples/tutorial/backend 和 WORKSPACE.bazel 开始,然后追踪日志中显示的缺失符号和仓库。完成标准是该仓库能够在报告的配置范围内成功构建。
由索引模型根据 Issue 内容生成。
描述
aryehh@aryehh ~/Development/code/examples
% bazel --version
bazel 6.0.0
aryehh@aryehh ~/Development/code/examples
% bazel build //...
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 096687e2-7229-4ba9-aa60-bdba69e1c6ba
DEBUG: /usr/local/google/home/aryehh/.cache/bazel/_bazel_aryehh/d115293f84f1332379fb52a513faaa5c/external/build_bazel_rules_nodejs/index.bzl:73:14: yarn_install#yarn attribute not set and no repository named 'yarn' exists; installing default yarn
ERROR: Traceback (most recent call last):
File "/usr/local/google/home/aryehh/Development/code/examples/bzlmod/02-override_bazel_module/BUILD", line 1, column 38, in <toplevel>
load("@bazel_skylib//:version.bzl", "hello_msg")
Error: file '@bazel_skylib//:version.bzl' does not contain symbol 'hello_msg'
DEBUG: /usr/local/google/home/aryehh/Development/code/examples/bzlmod/06-specify_dev_dependency/BUILD:3:6: Bazel Skylib version: 1.2.1
INFO: Repository build_bazel_rules_android instantiated at:
/usr/local/google/home/aryehh/Development/code/WORKSPACE.bazel:325:20: in <toplevel>
/usr/local/google/home/aryehh/.cache/bazel/_bazel_aryehh/d115293f84f1332379fb52a513faaa5c/external/io_bazel_rules_kotlin/src/main/starlark/core/repositories/initialize.bzl:72:10: in kotlin_repositories
/usr/local/google/home/aryehh/.cache/bazel/_bazel_aryehh/d115293f84f1332379fb52a513faaa5c/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule http_archive defined at:
/usr/local/google/home/aryehh/.cache/bazel/_bazel_aryehh/d115293f84f1332379fb52a513faaa5c/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
ERROR: Skipping '//...': error loading package under directory '': error loading package 'examples/tutorial/backend': Unable to find package for @io_bazel_rules_appengine//appengine:appengine.bzl: The repository '@io_bazel_rules_appengine' could not be resolved: Repository '@io_bazel_rules_appengine' is not defined.
WARNING: Target pattern parsing failed.
ERROR: error loading package under directory '': error loading package 'examples/tutorial/backend': Unable to find package for @io_bazel_rules_appengine//appengine:appengine.bzl: The repository '@io_bazel_rules_appengine' could not be resolved: Repository '@io_bazel_rules_appengine' is not defined.
INFO: Elapsed time: 3.595s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (58 packages loaded)
currently loading: frontend/planning/study/project/change/edit_change/new_line_change ... (109 packages)
- 主要语言
- Starlark
- 星标
- 958
- 派生
- 582
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bazelbuild/examples 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 30/100
bazelbuild/examples#722 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 48/100
bazelbuild/examples#721 ·
-
[Bazel CI] ERROR: rules_rust_prost: implicit attribute defaults to @bazel_tools//tools/cpp:empty, fails single-file check (08-grpc-client-server)可能已有人在做 @deepalak56 于 45 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 64/100
bazelbuild/examples#710 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 30/100
bazelbuild/examples#650 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
bazelbuild/examples#642 ·
查看 bazelbuild/examples 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
bazelbuild/apple_support#707 ·
维护者通常 1 天内回复
-
security
难度 2/5 1-3 小时 新手友好度 78/100
nimbus-agent/Nimbus#2319 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
nextjournal/clerk#830 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
-
out-of-date
难度 2/5 1-3 小时 新手友好度 68/100
CachyOS/CachyOS-PKGBUILDS#2232 ·
维护者通常 1 天内回复