-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 building vault on ppc64le #2400
Comments
Nope. Try a |
sort.Slice was only added in Go 1.8 (see here: golang/go@22a2bdf), therefor, terraform only compiles with Go 1.8+ (unlike the documented 1.7+) |
@AdallomRoy this is a Vault issue tracker, not a Terraform issue tracker. |
Sorry, but it's the same issue anyway :) sort.Slice was introduced only in Go 1.8 |
Right, but Vault documents that Go 1.8 is required. I don't know what Terraform documents as being required. |
Yes, and again, sorry about that. Your documentation is correct and contains 1.8 as the minimum required while @vaibhavsood used 1.7.5 |
Definitely sounds like the OP's problem. Thanks @AdallomRoy ! |
Hi,
I am building vault as per steps here: https://github.com/hashicorp/vault#developing-vault
make fails for me with this error:
[root@pts00433-vm27 vault]# make
go generate
==> Removing old directory...
==> Building...
Number of parallel builds: 3
--> linux/ppc64le: github.com/hashicorp/vault
1 errors occurred:
--> linux/ppc64le error: exit status 2
Stderr: # github.com/hashicorp/vault/vault
vault/mount.go:126: undefined: sort.Slice
make: *** [dev] Error 1
Any help why I could be getting this error?
Thanks!
Vaibhav
Env:
uname -a
go version
go env
The text was updated successfully, but these errors were encountered: