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

//distribution/... won't build with bzlmod #5

Open
silvergasp opened this issue Feb 11, 2022 · 0 comments
Open

//distribution/... won't build with bzlmod #5

silvergasp opened this issue Feb 11, 2022 · 0 comments

Comments

@silvergasp
Copy link
Contributor

The error we are getting is along the lines of.

 bazel build //... --config bzlmod
INFO: Invocation ID: df7a45a2-88ff-4475-a249-cfd22b6c1e99
ERROR: Analysis of target '//distribution:relnotes' failed; build aborted: no such package '@rules_pkg.0.5.1//private': The repository '@rules_pkg.0.5.1' could not be resolved: Repository '@rules_pkg.0.5.1' is not visible from repository '@'
INFO: Elapsed time: 6.814s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (13 packages loaded, 41 targets configured)
    currently loading: @stardoc.0.5.0//stardoc ... (2 packages)
    Fetching https://bcr.bazel.build/bazel_registry.json

However we have added rules_pkg as a dep in MODULES.bazel and it seems to work fine from the normal WORKSPACE.

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