kubernetes: util.sh missing when trying to run quickstart instructions
/kind bug
What happened:
Followed the quick start guide here https://github.com/kubernetes/kubernetes#to-start-developing-kubernetes
What you expected to happen:
make completed sucessfully
How to reproduce it (as minimally and precisely as possible):
zapf(~) % go get -d k8s.io/kubernetes
package k8s.io/kubernetes: no Go files in /Users/dfc/src/k8s.io/kubernetes
zapf(~) % cd $GOPATH/src/k8s.io/kubernetes
zapf(~/src/k8s.io/kubernetes) % make
hack/make-rules/../../hack/lib/init.sh: line 39: /Users/dfc/src/k8s.io/kubernetes
/Users/dfc/src/k8s.io/kubernetes/hack/lib/util.sh: No such file or directory
make[1]: *** [_output/bin/deepcopy-gen] Error 1
make: *** [generated_files] Error 2
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version): n/a - Cloud provider or hardware configuration**: n/a
- OS (e.g. from /etc/os-release): macOS Sierra(10.12)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (11 by maintainers)
Commits related to this issue
- Unset CDPATH in build script to fix path generation In https://github.com/kubernetes/kubernetes/issues/52255, it was determined that if the user has a CDPATH, running `make` will fail. This is becaus... — committed to marpaia/kubernetes by marpaia 6 years ago
- Merge pull request #60196 from marpaia/unset-cdpath Automatic merge from submit-queue (batch tested with PRs 60196, 59844, 60255, 60254, 60251). If you want to cherry-pick this change to another bran... — committed to tenxcloud/kubernetes by deleted user 6 years ago
- Unset CDPATH in build script to fix path generation In https://github.com/kubernetes/kubernetes/issues/52255, it was determined that if the user has a CDPATH, running `make` will fail. This is becaus... — committed to jingxu97/kubernetes by marpaia 6 years ago
I would also note: Having a
CDPATHset isn’t an issue, it’s only when a CDPATH doesn’t search the cwd first. Having aCDPATHwith a leading:solves for this use case.