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 get -u fails, apparently due to coreos/etcd move #817
Comments
We would appreciate a PR to fix the imports. This does however work with go mod if you are using it. Which we'd otherwise also recommend. |
export GO111MODULE=on github.com/lucas-clemente/quic-go/internal/handshakeGoWork/pkg/mod/github.com/lucas-clemente/quic-go@v0.12.0/internal/handshake/crypto_setup.go:501:72: undefined: qtls.CipherSuite |
In the go.mod file, there is a line which is "github.com/coreos/etcd v3.3.15+incompatible". |
Please do not run go get -u as this updates the dependencies |
I install micro toolkit by the command
What can I do now? |
FYI I tried putting together a quick PR that just swaps out the old imports for the new ones, however I was getting build problems; for some reason at least when I was running it locally it was pulling some old dependencies. I'll try to dig into it some more at some point, but I have to work on other things for now. Here are the changes I tried, in case anyone else wants to look at it. |
There should not be "github.com" in that import if you check your GOPATH. |
If we fix source codes, it will bring discord. Just suggest host fixes this to modify go file or go.mod simply, and moreover, it`s convenient to jump to declarations. |
So changing the imports will not help due to the way etcd does vendoring. They say they'll be fixing some of this post 3.4 release. For the time being the best approach is go modules. @newrelic-eheinlein does your build system use go modules? If not you should enable these. |
Can anyone provide enough information to move forward with this? Like exact detail on how to get past this? |
Please use Go 1.13 and Go modules. If you're in your go path use |
It all worked! Thanks for solving the problem. |
i've got the same problem and i'm not able to solve it |
worked - could you add this information to the docs? |
i meet a problem [~/work/golang]$ go get github.com/micro/micro SECURITY ERROR For more information, see 'go help module-auth'. |
I run |
Please always use go modules and go get for our project. |
Go version: go1.13
Problem: when I run
go get -u github.com/micro/go-micro
I get the following error:We first saw this error when our CI build began to fail, and at first couldn't reproduce it locally, but then were able to by adding the
-u
to the command. Alternately, here's a simple Dockerfile that demonstrates the issue when building it.This seems to be caused by the moving of
github.com/coreos/etcd
togithub.com/etcd-io/etcd
, as described here: etcd-io/etcd#10044 (comment)That change and the issue are from last year, so I'm not sure why this is just showing up now, but my colleagues and I (and our CI) can all reproduce the problem now.
I will look into creating a PR that changes the imports from
coreos/etcd
toetcd-io/etcd
.The text was updated successfully, but these errors were encountered: