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] Rules Java error: Cannot load '@bazel_skylib~//lib:modules.bzl' #456

Open
sgowroji opened this issue May 20, 2024 · 0 comments
Open

Comments

@sgowroji
Copy link
Member

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3869#018f942c-8e44-4269-95a6-541739629b05

Platform: MacOS

Logs:

ERROR: �[0mAnalysis of target '//:main' failed; build aborted: Error loading '@@rules_java~//java:extensions.bzl' for module extensions, requested by @@bazel_tools//:MODULE.bazel:25:32: at /private/var/tmp/_bazel_buildkite/19380aa54925c2b3b84dbb6f2e26fc8e/external/rules_java~/java/extensions.bzl:16:6: cannot load '@@bazel_skylib~//lib:modules.bzl': no such file: at /private/var/tmp/_bazel_buildkite/19380aa54925c2b3b84dbb6f2e26fc8e/external/rules_java~/java/extensions.bzl:16:6: cannot load '@@bazel_skylib~//lib:modules.bzl': no such file

Culprit:

Steps:

git clone https://github.com/bazelbuild/examples
git reset 4679b3915ebdec89b319c4da376b339484c7bf81  --hard
export USE_BAZEL_VERSION=f4cfc846dbdf5f6c19d0a716fccd2ddcdae0d609
bazel build //:main 

CC Greenteam @meteorcloudy

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

1 participant