bazelbuild / examples

Examples for Bazel
http://bazel.build
Apache License 2.0
800 stars 497 forks source link

ERROR: Failed to load Starlark extension '@@maven//:compat.bzl' #411

Closed sgowroji closed 3 months ago

sgowroji commented 4 months ago

CI: https://buildkite.com/bazel/bazel-bazel-examples/builds/2633#018d7c93-5a4d-459e-9caa-14d65b5a90f3

Main Pipeline : https://buildkite.com/bazel/bazel-bazel-examples/builds/2633#_

Platform: Multiple

Logs:

ERROR: Failed to load Starlark extension '@@maven//:compat.bzl'.
Cycle in the workspace file detected. This indicates that a repository is used prior to being defined.
The following chain of repository dependencies lead to the missing definition.
 - @@maven
This could either mean you have to add the '@@maven' repository with a statement like `http_archive` in your WORKSPACE file (note that transitive dependencies are not added automatically), or move an existing definition earlier in your WORKSPACE file.
(04:01:14) ERROR: Error computing the main repository mapping: cycles detected during computation of main repo mapping
(04:01:14) Computing main repo mapping:
bazel build failed with exit code 37
🚨 Error: The command exited with status 1

Last green commit is not updated and bazel examples main pipeline is always red.

CC Greenteam @salmasamy

sgowroji commented 3 months ago

Bazel CI is Green now for examples. We can close this issue now. Thanks!