Open perdasilva opened 6 years ago
I just had the same problem. The WalkFunc
to filepath.Walk
doesn't check errors. If you return the error you see the glide is deleting the directory and then trying to continue walking it...
...
[INFO] Removing: /home/eparis/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/vendor
[INFO] Removing: /home/eparis/go/src/github.com/openshift/origin/vendor/k8s.io/sample-apiserver/vendor
[INFO] Removing: /home/eparis/go/src/github.com/openshift/origin/vendor/github.com/vmware/photon-controller-go-sdk/Godeps/_workspace
[ERROR] Unable to strip vendor directories: lstat /home/eparis/go/src/github.com/openshift/origin/vendor/github.com/vmware/photon-controller-go-sdk/Godeps/_workspace/.gitignore: no such file or directory
An Error has occurred
[ERROR] PID 22972: hack/update-deps.sh:37: `glide update --strip-vendor` exited with status 2.
[INFO] Stack Trace:
[INFO] 1: hack/update-deps.sh:37: `glide update --strip-vendor`
[INFO] Exiting with code 2.