You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vendor/github.com/siddontang/go-mysql/client/auth.go:11:2:
build constraints exclude all Go files in .../vendor/github.com/go-mysql/packet
make: *** [searcher] Error 1
Build under go version go1.10.4 darwin/amd64 with GOOS=linux.
Since the packet package (and others) imports "C":
Cross compile failure
vendor/github.com/siddontang/go-mysql/client/auth.go:11:2: build constraints exclude all Go files in .../vendor/github.com/go-mysql/packet make: *** [searcher] Error 1
Build under
go version go1.10.4 darwin/amd64
withGOOS=linux
.Since the packet package (and others) imports "C":
https://github.com/siddontang/go-mysql/blob/master/packet/conn.go#L1-L8
And cgo is disabled with cross compile, see golang/go#24068
Enable CGO via
CGO_ENABLED=1
cannot help.So, is there any way to pass this compile failure? (Do not want to build under docker cause of the build cache.)
Or give an explaination in README to inform others.
Thanks.
The text was updated successfully, but these errors were encountered: