This repo does not build successfully w/amd64 debian and Bazel 5 or 6

Đang mở
#277 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
build-system

Hướng nghiên cứu

Tái hiện lỗi bằng bazel build //... trên Debian amd64 sử dụng Bazel 5 hoặc 6. Bắt đầu với bzlmod/02-override_bazel_module/BUILD, examples/tutorial/backend và WORKSPACE.bazel, sau đó lần theo các symbol và repository bị thiếu được hiển thị trong log. Công việc được hoàn tất khi repository xây dựng thành công trên toàn bộ cấu hình được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

invalid
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)
Ngôn ngữ chính
Starlark
Star
958
Fork
582
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bazelbuild/examples

Tất cả issue của bazelbuild/examples

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.