libnetwork: ipvs.go:94:32: cannot use &tv (type *syscall.Timeval) as type *unix.Timeval in argument to sock.SetSendTimeout
With Go 1.9.4 x86_64 Linux
Testing: "/builddir/build/BUILD/libnetwork-2112cace8efd4c7b71daccbf54897871e205f293/_build/src/github.com/docker/libnetwork/ipvs"
+ GOPATH=/builddir/build/BUILD/libnetwork-2112cace8efd4c7b71daccbf54897871e205f293/_build:/usr/share/gocode
+ go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro '\'''
# github.com/docker/libnetwork/ipvs
./ipvs.go:94:32: cannot use &tv (type *syscall.Timeval) as type *unix.Timeval in argument to sock.SetSendTimeout
./ipvs.go:98:35: cannot use &tv (type *syscall.Timeval) as type *unix.Timeval in argument to sock.SetReceiveTimeout
FAIL github.com/docker/libnetwork/ipvs [build failed]
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (10 by maintainers)
netlink was updated in PR https://github.com/docker/libnetwork/pull/2366 (revendor in moby/moby is done in https://github.com/moby/moby/pull/39054)