-
-
Notifications
You must be signed in to change notification settings - Fork 667
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
unable to build kubernetes/client-go #1356
Comments
I took a whack at this with the I'm not sure how to solve this problem and I'm pretty frustrated. |
I looked into this a bit. I saw similar but different errors in As I understand, k8s.io/apimachinery is synced from https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery. BUILD files are generated in kubernetes, committed into in kubernetes, then synced along with everything else. These BUILD files are broken during sync, since they contain repository-absolute paths that don't make sense anymore. I think the BUILD files should be either fixed on sync or deleted. I have a call scheduled with @ixdy later today. Hope to learn more then. |
I've filed kubernetes/publishing-bot#49 to look into this. I'll close the issue here, since I don't think there's anything to be done in rules_go. Since these repositories already has build files, it's probably better to use |
Cool. I didn't realize there were still BUILD files in there because I went and looked for WORKSPACE files and didn't see them. A simple fix to get me by til kubernetes/publishing-bot#49 is fixed will be to fork them and delete the files myself. It's late in the day, so I think I'll have to do that to get unblocked. |
Any work arounds? |
I used sum explicitly and it worked for me:
|
With
and then depending on
"@io_k8s_client_go//kubernetes/typed/core/v1:go_default_library"
in a target, you'll get an error like:The text was updated successfully, but these errors were encountered: