Closed SpComb closed 6 years ago
See https://github.com/golang/go/issues/26576, golang.org/x/sys/unix is a dependency of golang.org/x/net/websocket used by web/events.go
golang.org/x/sys/unix
golang.org/x/net/websocket
web/events.go
$ GOPATH=~/go /usr/bin/go version go version go1.6.2 linux/amd64 $ GOPATH=~/go /usr/bin/go install ./cmd/... # github.com/qmsk/e2/vendor/golang.org/x/sys/unix vendor/golang.org/x/sys/unix/ioctl.go:18: undefined: runtime.KeepAlive vendor/golang.org/x/sys/unix/ioctl.go:28: undefined: runtime.KeepAlive
Fixed by overriding golang.org/x/sys to the earlier version prior to this commit.
golang.org/x/sys
However, Go 1.6 is no longer supported, so I figure I'll just require Go 1.10 instead.
See https://github.com/golang/go/issues/26576,
golang.org/x/sys/unix
is a dependency ofgolang.org/x/net/websocket
used byweb/events.go