这是indexloc提供的服务,不要输入任何密码
Skip to content

Building w/ v0.5.1 produces a repository is used prior to being defined. error #152

@mrstevegross-tecton

Description

@mrstevegross-tecton

(This issue may be due to user error on my part, but it does seem pretty odd!)

When I load distroless with this command (bazel_dep(name = "rules_distroless", version = "0.3.8")), it loads fine.

When I load the newer version with bazel_dep(name = "rules_distroless", version = "0.5.1"), I get this error:

ERROR: Failed to load Starlark extension '@@compatibility_proxy//:proxy.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.
 - @@compatibility_proxy
This could either mean you have to add the '@@compatibility_proxy' 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.

I suppose this could be due to some misconfiguration on my side, but it does seem like it should be possible to bazel_dep() the latest version cleanly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions