kubernetes: Various Bazel problems - Mac, assumptions about paths, etc

On OSX El Capitan

$ bazel test  //pkg/...
ERROR: /Users/clayton/projects/origin/src/k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/BUILD:13:1: every rule of type go_library implicitly depends upon the target '//:go_prefix', but this target could not be found because of: no such package '': BUILD file not found on package path.
ERROR: Analysis of target '//pkg/client/clientset_generated/internalclientset/typed/storage/unversioned:go_default_library' failed; build aborted.
INFO: Elapsed time: 0.115s
ERROR: Couldn't start the build. Unable to run tests.

Docs didn’t seem to cover when this happens?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 61 (52 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks @mikedanese … 😃 … Can we make a checklist for this guy to be closed? Probably several small PRs ; will be great for those of us in the community who are just learning and want to watch the changes flow in.