-
Notifications
You must be signed in to change notification settings - Fork 128
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
Error with a golang dependency when using Go 1.10 #432
Comments
Hi @Anirudh-MV, Based on Some time ago development version of Acra started requiring at least Go 1.13 for compilation. This pulls in Go 1.11 module support and it should fix the issues with packages changing their source location. While using older versions might work for some tools, it is recommended to use the latest stable version of Go (currently, that's Go 1.15). Admittely, Go version requirements are not well-documented :( |
As pointed out in #432 we need to update docs a bit.
* Update readme As pointed out in #432 we need to update docs a bit. * Apply suggestions from code review Co-authored-by: Alexei Lozovsky <alexei@cossacklabs.com> * Update README.md Co-authored-by: Alexei Lozovsky <alexei@cossacklabs.com>
Thank you @Anirudh-MV for pushing us to update Readme :) As @ilammy mentioned, we support Acra for 2-3 latest Go versions only. We can't guarantee that it will work if you're using Go 1.10. Please use Go 1.11-1.13 or consider downloading Acra's as package or Docker container. |
thank you for letting me know that I had to upgrade my golang |
Please let us know if you have any further issues! Thank you for using Acra. |
Hi, I am running into the same error as the original post with go version 1.15 and 1.13.15 linux/amd64 |
Hm 🤔 🤔 🤔 It seems that newer Go does not default to using modules for out-of-tree Could you please set export GO111MODULE=on in the shell before issuing Alternatively, this variable can be set for individual commands, for example: GO111MODULE=on go get github.com/cossacklabs/acra/cmd/acra-keymaker This too needs to be noted in the docs, I guess... |
Hi, The Yes, I think this should be noted in the docs because I had the issue with different versions of go on different machines. |
Hello, I'm trying to build Acra from sources but I'm failing at the first step of the guide which is to install acra-keymaker.
This is the error I get when I run
go get github.com/cossacklabs/acra/cmd/acra-keymaker
This got resolved when I downgraded go.opencensus.io/ from latest to v0.19.x because the package jaeger is moved to contrib.go.opencensus.io
The text was updated successfully, but these errors were encountered: