docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

Master branch broken w/ dockerserver+Rax backend #129

Closed jalev closed 10 years ago

jalev commented 10 years ago

Trying to build swarm. Seems to fail on Dockerserver + Rax

[sg@whatup ~]# go get github.com/docker/libswarm/...
# github.com/docker/libswarm/backends
mygo/src/github.com/docker/libswarm/backends/dockerserver.go:429: cannot use "github.com/dotcloud/docker/api".APIVERSION (type "github.com/docker/docker/pkg/version".Version) as type "github.com/dotcloud/docker/pkg/version".Version in assignment
mygo/src/github.com/docker/libswarm/backends/rax.go:290: too few values in struct initializer
mygo/src/github.com/docker/libswarm/backends/rax.go:291: too few values in struct initializer
mygo/src/github.com/docker/libswarm/backends/rax.go:292: too few values in struct initializer
mygo/src/github.com/docker/libswarm/backends/rax.go:293: too few values in struct initializer
mygo/src/github.com/docker/libswarm/backends/rax.go:294: too few values in struct initializer
mygo/src/github.com/docker/libswarm/backends/rax.go:295: too few values in struct initializer
mygo/src/github.com/docker/libswarm/backends/rax.go:296: too few values in struct initializer
mygo/src/github.com/docker/libswarm/backends/rax.go:376: cannot use job (type *"github.com/dotcloud/docker/engine".Job) as type *"github.com/docker/docker/engine".Job in function argument
mygo/src/github.com/docker/libswarm/backends/rax.go:477: cannot use job (type *"github.com/dotcloud/docker/engine".Job) as type *"github.com/docker/docker/engine".Job in function argument
mygo/src/github.com/docker/libswarm/backends/rax.go:477: too many errors

Using Go version 1.2.2

cpuguy83 commented 10 years ago

@qweet See #128 regarding docekrserver.go:429, rax.go:376/477 We changed the docker repo from dotcloud/docker to docker/docker.

For the other errors "too few values ...", you'll need to use an older version of the codegangsta/cli. You should use godep to resolve that dependency.

jalev commented 10 years ago

That fixed that particular problem thanks :) I have another issue, but it doesn't fit the scope here.