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(cmd/gazelle): :gazelle_test is broken on Bzlmod #1689

Open
tyler-french opened this issue Dec 14, 2023 · 1 comment
Open

bug(cmd/gazelle): :gazelle_test is broken on Bzlmod #1689

tyler-french opened this issue Dec 14, 2023 · 1 comment

Comments

@tyler-french
Copy link
Contributor

It references go_sdk by name, which is not the name of a repository registered.

We should register the sdk under this name, but we don't want to collide with users who also choose to use go_sdk naming convention.

ERROR: no such package '@@[unknown repo 'go_sdk' requested from @@]//': The repository '@@[unknown repo 'go_sdk' requested from @@]' could not be resolved: No repository visible as '@go_sdk' from main repository
ERROR: /home/user/bazel-gazelle/cmd/gazelle/BUILD.bazel:43:8: no such package '@@[unknown repo 'go_sdk' requested from @@]//': The repository '@@[unknown repo 'go_sdk' requested from @@]' could not be resolved: No repository visible as '@go_sdk' from main repository and referenced by '//cmd/gazelle:gazelle_test'
Use --verbose_failures to see the command lines of failed build steps.
@alimoli
Copy link

alimoli commented Jan 5, 2024

Same here, just on building. I am trying to migrate from WORKSPACE to MODULE.bazel (bzlmod).

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

2 participants