Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error: coreos/etcd/pkg/transport/listener_tls.go:151: undefined #34

Open
linearregression opened this issue May 10, 2017 · 2 comments

Comments

@linearregression
Copy link

linearregression commented May 10, 2017

go version
go version go1.7.4 darwin/amd64

go build -a ./...

github.com/coreos/etcd/pkg/transport
../../coreos/etcd/pkg/transport/listener_tls.go:151: undefined: net.DefaultResolver in net.DefaultResolver.LookupHost

@linearregression
Copy link
Author

make install-deps
go get github.com/tools/godep
godep restore
godep: Dep (github.com/coreos/etcd/clientv3) restored, but was unable to load it with error:
Package (github.com/grpc-ecosystem/go-grpc-prometheus) not found
godep: Dep (github.com/coreos/etcd/etcdserver/etcdserverpb) restored, but was unable to load it with error:
Package (github.com/grpc-ecosystem/grpc-gateway/runtime) not found
godep: Dep (github.com/coreos/etcd/pkg/transport) restored, but was unable to load it with error:
Package (github.com/coreos/pkg/capnslog) not found
godep: Dep (google.golang.org/grpc/status) restored, but was unable to load it with error:
Package (google.golang.org/grpc/status) not found
godep: Error checking some deps.

@RichardKnop
Copy link
Owner

RichardKnop commented May 11, 2017

I have tested it with docker-compose up --build just now and it seems to be running fine. Builds and runs docker image properly.

$ go version
go version go1.8.1 darwin/amd64

I have updated vendored dependencies just in case something was missing in the vendor directory. Can you do git pull and try running it with docker-compose?

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

No branches or pull requests

2 participants