Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bazel CI] Error:No repository visible as '@bazel_skylib' from main repository. #1008

Closed
sgowroji opened this issue Aug 30, 2024 · 0 comments

Comments

@sgowroji
Copy link
Member

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4089#0191a183-15b2-4fdc-b9e0-6803206e6c08

Platform: Multiple

Logs:


(04:20:47) ERROR: Skipping '...': error loading package under directory '': error loading package 'rules/exec_properties': Unable to find package for @@[unknown repo 'bazel_skylib' requested from @@]//:bzl_library.bzl: The repository '@@[unknown repo 'bazel_skylib' requested from @@]' could not be resolved: No repository visible as '@bazel_skylib' from main repository.
(04:20:47) ERROR: error loading package under directory '': error loading package 'rules/exec_properties': Unable to find package for @@[unknown repo 'bazel_skylib' requested from @@]//:bzl_library.bzl: The repository '@@[unknown repo 'bazel_skylib' requested from @@]' could not be resolved: No repository visible as '@bazel_skylib' from main repository.

Culprit: bazelbuild/bazel@5881c38

Steps:

git clone https://github.com/bazelbuild/bazel-toolchains
git reset 6146252bda912a77a25c3b0ebe55ed0d00a1fa4d  --hard
export USE_BAZEL_VERSION=ed8ed01cf3c86485dbd1d756b6e891daad892358
bazel build ... 

CC Greenteam @mai93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants