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

[Bug]: Upgrading to 2.0.3 without bzlmod fails due to missing @aspect_rules_lint #686

Closed
gzm0 opened this issue Dec 11, 2023 · 2 comments · Fixed by #687
Closed

[Bug]: Upgrading to 2.0.3 without bzlmod fails due to missing @aspect_rules_lint #686

gzm0 opened this issue Dec 11, 2023 · 2 comments · Fixed by #687
Labels
bug Something isn't working untriaged Requires traige

Comments

@gzm0
Copy link
Contributor

gzm0 commented Dec 11, 2023

What happened?

ERROR: /root/.cache/bazel/_bazel_root/769b68fb6b103d4f6b0d6fc45651db8a/external/aspect_bazel_lib/lib/private/BUILD.bazel:35:12: error loading package '@aspect_bazel_lib//tools': Unable to find package for @aspect_rules_lint//format:defs.bzl: The repository '@aspect_rules_lint' could not be resolved: Repository '@aspect_rules_lint' is not defined. and referenced by '@aspect_bazel_lib//lib/private:copy_directory_toolchain'
ERROR: /root/.cache/bazel/_bazel_root/769b68fb6b103d4f6b0d6fc45651db8a/external/aspect_bazel_lib/lib/private/BUILD.bazel:80:12: error loading package '@aspect_bazel_lib//tools': Unable to find package for @aspect_rules_lint//format:defs.bzl: The repository '@aspect_rules_lint' could not be resolved: Repository '@aspect_rules_lint' is not defined. and referenced by '@aspect_bazel_lib//lib/private:copy_to_directory_toolchain'
ERROR: /root/.cache/bazel/_bazel_root/769b68fb6b103d4f6b0d6fc45651db8a/external/aspect_bazel_lib/lib/private/BUILD.bazel:130:12: error loading package '@aspect_bazel_lib//tools': Unable to find package for @aspect_rules_lint//format:defs.bzl: The repository '@aspect_rules_lint' could not be resolved: Repository '@aspect_rules_lint' is not defined. and referenced by '@aspect_bazel_lib//lib/private:expand_template_toolchain'

Culprit is almost certainly #681.

Version

Development (host) and target OS/architectures:

Output of bazel --version: 6.4.0

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:

Language(s) and/or frameworks involved:

How to reproduce

No response

Any other information?

No response

@gzm0 gzm0 added the bug Something isn't working label Dec 11, 2023
@github-actions github-actions bot added the untriaged Requires traige label Dec 11, 2023
@gzm0
Copy link
Contributor Author

gzm0 commented Dec 11, 2023

Sorry for the minimal bug report. I just wanted to get this out there. I can spend more time on details later if necessary.

@gregmagolan
Copy link
Collaborator

All good. I see the issue and its a quick fix. Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Requires traige
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants