docker-archive / deploykit

A toolkit for creating and managing declarative, self-healing infrastructure.
Apache License 2.0
2.25k stars 262 forks source link

Unable to build the binaries #634

Closed adityacs closed 7 years ago

adityacs commented 7 years ago

Got below error while trying to build the binaries

go build -o build/infrakit -ldflags "-X github.com/docker/infrakit/pkg/cli.Version=328a778.m -X github.com/docker/infrakit/pkg/cli.Revision=328a77867c54a0ebe4c84b0ca47658d19b4e7b43 -X github.com/docker/infrakit/pkg/util/docker.ClientVersion=1.30" github.com/docker/infrakit/cmd/infrakit
# github.com/docker/infrakit/vendor/github.com/coreos/etcd/clientv3
vendor/github.com/coreos/etcd/clientv3/client.go:225: dialer.DialContext undefined (type *net.Dialer has no field or method DialContext)
vendor/github.com/coreos/etcd/clientv3/client.go:225: not enough arguments to return
Makefile:86: recipe for target 'build/infrakit' failed
make: *** [build/infrakit] Error 2
chungers commented 7 years ago

What version of the Go compiler are you using? We are using 1.7 at the moment.

adityacs commented 7 years ago

@chungers I am using 1.8

adityacs commented 7 years ago

Sorry, I was using 1.6. My bad. Sorry for raising wrong ticket. Closing this.