-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Vault requires go 1.22.5 to build; found 1.22.2. #27894
Comments
Are you able to try downloading Go 1.22.5 and see if the error persists? Thanks! |
i already have it, the problem i found its here https://github.com/hashicorp/vault/blob/main/api/auth/aws/go.mod#L5 If i change it to 1.25, it works. Do you think is also my system? |
No, that's pretty clear - thanks for the report! I'll take it back to the team. :) |
Tell me if this change pass all tests, unless with the unitary works. Dont know with the conformance. |
Hi @borjaOrtizLlamas, I'm trying to understand the issue here - I don't think Go should prevent you building because there is an older toolchain in a submodule. If they all have to be perfectly in sync then ours and many projects release processes are all broken so that would be a bigger issue! Also, I can build this on the same version of Go as you without issues and so can our CI! That said, I'm not super familiar with this new There is says:
Which I think means this should be fine since you have have a version of Go toolchain that is newer it should just use that and be happy. It seems like Go is downloading the older version to satisfy this It could be that our go version check in Makefile is interacting with this new toolchain behaviour badly and needs a fix, but I'm curious why I and others are not seeing the same thing you are in that case. Can you confirm whether you have When you said You also mentioned patches, can you build |
Oh I see the logs include |
Hello @borjaOrtizLlamas, since there hasn't been any follow up on the issue for over a month, I'm going to assume we can close this out without the proposed fixes. If I'm incorrect and you are still encountering the issue, please re-open this issue with a follow up to the questions/comments above. |
Describe the bug
I am building vault with some patches and i am having this error:
logs:
To Reproduce
Build with make
prep: check-go-version clean
Expected behavior
Finish the build
The text was updated successfully, but these errors were encountered: