-
Notifications
You must be signed in to change notification settings - Fork 123
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
go build error #68
Comments
@chinaboard, what go version are you using? I am unable to reproduce this on This relates to golang/go#27925 and golang/go#27153 which was fixed in golang/go@1bca6ce |
@alvin-huang and you can see other pr travis build details |
Ah yeah here is an example: https://travis-ci.org/hashicorp/go-discover/builds/466369612?utm_source=github_status&utm_medium=notification |
any workaround?
|
I got exactly the same error as above. At least I am not insane. |
ive the fix, if u r using docker, use golang:1.11.1 |
This may be related to golang/go#29278 (comment); @u007 with golang 1.11.4, could you try deleting |
i tried that, didnt work. |
just realise, i need to 1st go clean -modcache, then only delete go.sum, then go get , then it works |
on my mac it works, but on docker golang:1.11, it does not even with latest go.sum updated |
In my testing I found that for affected dependencies, a |
Previously, we upgraded to the most recent version of kubekins, which was built on 1/08/2019. We needed >= 1.11 because nomos-operator uses go mod, which was included in 1.11. However, due to an issue with go mod detailed at: hashicorp/go-discover#68 there is a checksum mismatch during build that causes the build of the nomos operator to fail. Now, one possible option would be to upgrade the go version of all devs on this repo past go1.11.4, but from what I can tell that isn't easily available in glinux packages yet, and so feels rather frictiony and unpleasant. So, the alternate approach is to use a different version of kubekins that is recent enough to support go mod (>=1.11) but not so recent as to have the change that causes the checksum mismatch (<1.11.4). I found one such version from early december. As 1.11.4 becomes easily available to devs, we will need to update go.sum and the kubekins container for this job. This is a minimum-friction holdover until then. Change-Id: I58075d596fc2d495cad9bf5af35d0b2c3ae36240
Specifying |
nice, this is new :) |
go: verifying k8s.io/client-go@v8.0.0+incompatible: checksum mismatch
downloaded: h1:tTI4hRmb1DRMl4fG6Vclfdi6nTM82oIrTT7HfitmxC4=
go.sum: h1:7Zl+OVXn0bobcsi4NEZGdoQDTE9ij1zPMfM21+yqQsM=
The text was updated successfully, but these errors were encountered: