-
Notifications
You must be signed in to change notification settings - Fork 638
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
Bad Gazelle BUILD file for k8s.io/apimachinery #1022
Comments
I wasn't able to build this on my Linux workstation or on my Mac laptop. I'm getting a bunch of Python errors in repository rules. I guess I need a newer version of Python and maybe some specific system packages installed. I took a look at k8s.io/apimachinery. There are some BUILD files in here already, but there's no BUILD file in the repository root, so Gazelle will run. Is that intentional? The problematic package you mentioned is Since the protos won't build with Bazel and there are already .pb.go files present, you probably want to set Gazelle's proto mode to
|
Well that got me past the issue. On to the next, thanks! |
Sure, good luck! |
Hi, folks. I stepped on this issue only now, but the suggested fix does not work in my setup. Asking gazelle to |
@filmil Are you seeing a problem building
|
I also asked on bazel-discuss, so linking here to avoid repetition: https://groups.google.com/forum/?nomobile=true#!topic/bazel-discuss/nIG0qngfjTw |
You should be able to hit this by cloning: https://github.com/mattmoor/rules_k8s (
go-todo
branch).This manifests as the
bazel build
time error:It seems to be a problem synthesizing BUILD rules for some targets within the apimachinery repo:
The text was updated successfully, but these errors were encountered: