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

Unable to build v0.2.0 tag #536

Closed
jhaals opened this issue Aug 14, 2015 · 4 comments
Closed

Unable to build v0.2.0 tag #536

jhaals opened this issue Aug 14, 2015 · 4 comments

Comments

@jhaals
Copy link
Contributor

jhaals commented Aug 14, 2015

I'm not able to build the v0.2.0 tag, master works fine, has the build procedure changed since or is the v0.2.0 simply broken?

~/src/github.com/hashicorp/vault(358a3c2 ✔)  make bootstrap
Installing github.com/tools/godep
Installing github.com/mitchellh/gox
Installing golang.org/x/tools/cmd/cover
Installing golang.org/x/tools/cmd/vet
~/src/github.com/hashicorp/vault(358a3c2 ✔) make
go generate ./...
TF_ACC= godep go test ./...  -timeout=30s -parallel=4
ok      github.com/hashicorp/vault  0.023s
ok      github.com/hashicorp/vault/api  0.021s
ok      github.com/hashicorp/vault/audit    0.018s
?       github.com/hashicorp/vault/builtin/audit/file   [no test files]
?       github.com/hashicorp/vault/builtin/audit/syslog [no test files]
ok      github.com/hashicorp/vault/builtin/credential/app-id    0.027s
ok      github.com/hashicorp/vault/builtin/credential/cert  0.595s
ok      github.com/hashicorp/vault/builtin/credential/github    0.022s
ok      github.com/hashicorp/vault/builtin/credential/ldap  0.025s
ok      github.com/hashicorp/vault/builtin/credential/userpass  0.021s
ok      github.com/hashicorp/vault/builtin/logical/aws  0.021s
ok      github.com/hashicorp/vault/builtin/logical/cassandra    0.023s
ok      github.com/hashicorp/vault/builtin/logical/consul   6.036s
ok      github.com/hashicorp/vault/builtin/logical/mysql    0.022s
ok      github.com/hashicorp/vault/builtin/logical/pki  0.021s
ok      github.com/hashicorp/vault/builtin/logical/postgresql   0.021s
ok      github.com/hashicorp/vault/builtin/logical/transit  0.016s
ok      github.com/hashicorp/vault/builtin/token/disk   0.060s
?       github.com/hashicorp/vault/cli  [no test files]
ok      github.com/hashicorp/vault/command  0.854s
ok      github.com/hashicorp/vault/command/server   0.017s
ok      github.com/hashicorp/vault/command/token    0.062s
ok      github.com/hashicorp/vault/helper/certutil  1.931s
ok      github.com/hashicorp/vault/helper/flag-kv   0.006s
ok      github.com/hashicorp/vault/helper/flag-slice    0.006s
ok      github.com/hashicorp/vault/helper/gated-writer  0.006s
ok      github.com/hashicorp/vault/helper/kdf   0.006s
ok      github.com/hashicorp/vault/helper/kv-builder    0.006s
?       github.com/hashicorp/vault/helper/mlock [no test files]
?       github.com/hashicorp/vault/helper/password  [no test files]
ok      github.com/hashicorp/vault/helper/salt  0.016s
ok      github.com/hashicorp/vault/helper/uuid  0.015s
ok      github.com/hashicorp/vault/http 0.140s
ok      github.com/hashicorp/vault/logical  0.016s
ok      github.com/hashicorp/vault/logical/framework    0.031s
ok      github.com/hashicorp/vault/logical/testing  0.024s
ok      github.com/hashicorp/vault/physical 0.090s
ok      github.com/hashicorp/vault/shamir   0.007s
ok      github.com/hashicorp/vault/vault    0.448s
~/src/github.com/hashicorp/vault(358a3c2 ✔) make dev
go generate ./...
==> Getting dependencies...
# github.com/hashicorp/vault/physical
physical/s3.go:59: undefined: credentials.EC2RoleProvider
physical/s3.go:64: cannot use region (type string) as type *string in field value
make: *** [dev] Error 2
@sethvargo
Copy link
Contributor

Hi @jhaals

Thank you for opening an issue. We had some issues with godep recently, and they might have been present in the 0.2.0 tag and we hadn't noticed. They should be fixed moving forward.

We are pretty new to godep, so we are still figuring things out. Sorry for the inconvenience - we will make sure future tags work in isolated environments before tagging 😄

@donjuanica
Copy link

Same issue:

physical/s3.go:59: undefined: credentials.EC2RoleProvider
physical/s3.go:64: cannot use region (type string) as type string in field value
make: *
* [dev] Error 2

Mac OS X 10.11 using brew install vault

@jhaals
Copy link
Contributor Author

jhaals commented Aug 18, 2015

Hmm it might be worth re-releasing a working tag since it's used in homebrew as well. Is there a commit that's the actual 0.2.0?

@dol
Copy link
Contributor

dol commented Aug 18, 2015

I agree with @jhaals . I tried to make a debian package from the 0.2.0 tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants