Skip to content
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 Guru is searching for an old version of the stdlib #28217

Closed
macrael opened this issue Oct 15, 2018 · 1 comment
Closed

Go Guru is searching for an old version of the stdlib #28217

macrael opened this issue Oct 15, 2018 · 1 comment

Comments

@macrael
Copy link

macrael commented Oct 15, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.10.4

Does this issue reproduce with the latest release?

I believe so!

What operating system and processor architecture are you using (go env)?

darwin/amd64

What did you do?

If possible, provide a recipe for reproducing the error.

guru -scope ,github.com/18F/e-QIP-prototype/api/http -tags "" callstack /Users/macrael/code/go/src/github.com/18F/e-QIP-prototype/api/http/save.go:#1790

What did you expect to see?

Useful output

What did you see instead?

Errors for all the stdlib imports like this one:

/Users/macrael/code/go/src/github.com/18F/e-QIP-prototype/api/eqip/security.go:9:2: could not import crypto/x509 (cannot find package "crypto/x509" in any of:
/Users/macrael/code/go/src/github.com/18F/e-QIP-prototype/api/vendor/crypto/x509 (vendor tree)
/usr/local/Cellar/go/1.8.1/libexec/src/crypto/x509 (from $GOROOT)
/Users/macrael/code/go/src/crypto/x509 (from $GOPATH))

For some reason it's looking for 1.8.1 even though go env GOROOT returns /usr/local/Cellar/go@1.10/1.10.4/libexec

I don't know how to get guru to do the right thing.

@agnivade
Copy link
Contributor

Hi @macrael ,

By any chance, you haven't built guru using 1.8.1 right ? You should be using guru built with go 1.10.4.

In any case, this seems to be a system setup issue rather than a bug. We don't track general debugging issues on the issue tracker. A more apt place is the list of forums that we have on the wiki page - https://github.com/golang/go/wiki/Questions.

Please do reach out to these forums. Folks will be glad to help you out. Thanks.

@golang golang locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants