Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

go get github.com/docker/swarm broken #2111

Closed
gongsu832 opened this issue Apr 12, 2016 · 6 comments
Closed

go get github.com/docker/swarm broken #2111

gongsu832 opened this issue Apr 12, 2016 · 6 comments
Labels
Milestone

Comments

@gongsu832
Copy link

It was working yesterday but today:

root@zhlpeer:/opt# export GOPATH=/opt/golang
root@zhlpeer:/opt# go get github.com/docker/swarm
# github.com/docker/swarm/api/nopclient
golang/src/github.com/docker/swarm/api/nopclient/nop.go:226: undefined: client.RequestPrivilegeFunc
golang/src/github.com/docker/swarm/api/nopclient/nop.go:231: undefined: client.RequestPrivilegeFunc
golang/src/github.com/docker/swarm/api/nopclient/nop.go:241: undefined: client.RequestPrivilegeFunc
@MHBauer
Copy link
Contributor

MHBauer commented Apr 12, 2016

I think if go get worked, it was by chance that all the dependencies were at compatible. The official way to build is with godep and documented in contributing.

@gongsu832
Copy link
Author

By chance or not, go get github.com/docker/swarm certainly is a much simpler way to build than the "official" way.

@vieux
Copy link
Contributor

vieux commented Apr 12, 2016

@gongsu832 it's very common to have this issue when the project's dependencies evolve so quickly.

This particular issue is going to be solved when we are going to switch to go 1.6 with the new vendoring

@gongsu832
Copy link
Author

@vieux good to know. Thanks!

@nishanttotla
Copy link
Contributor

This is due to docker/engine-api#162 being merged today. This should be fixed the next time we update Godeps for engine-api, preferably after #1983.

@nishanttotla nishanttotla added this to the 1.2.1 milestone Apr 13, 2016
@vieux
Copy link
Contributor

vieux commented Apr 14, 2016

@gongsu832 this will be fixed by #2124

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants