-
Notifications
You must be signed in to change notification settings - Fork 386
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
Build failure when run in kubernetes-sig/controller-tools #924
Comments
What did you write for the
The prefix should match the module path in Also, try running After that, I see an error like:
This happens because Kubernetes uses proto import paths that don't match the module root directory. There are ways to adjust the import prefix in |
Thanks, I think I've made it work by disabling proto mode like you suggested. |
This is from feedback from [this comment](bazel-contrib#924 (comment))
This is from feedback from [this comment](#924 (comment))
I was trying to build kubernetes-sigs/controller-tools using bazel 3.5.0, and followed the instructions on the main README from Gazelle.
What version of gazelle are you using?
0.22.1
What version of rules_go are you using?
0.24.3
What version of Bazel are you using?
3.5.0
Does this issue reproduce with the latest releases of all the above?
Yeah.
What operating system and processor architecture are you using?
What did you do?
Create
WORKSPACE
andBUILD.bazel
files as per the main README.What did you expect to see?
A successful build.
What did you see instead?
The text was updated successfully, but these errors were encountered: