Last active
February 12, 2016 18:47
-
-
Save cbednarski/5e840577723ea179d2d3 to your computer and use it in GitHub Desktop.
When building go with vendored dependencies, the error message for a missing dependency is not super intuitive.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
post-processor/amazon-import/post-processor.go:139: cannot use session (type *session.Session) as type "github.com/aws/aws-sdk-go/aws/client".ConfigProvider in argument to s3manager.NewUploader: | |
*session.Session does not implement "github.com/aws/aws-sdk-go/aws/client".ConfigProvider (wrong type for ClientConfig method) | |
have ClientConfig(string, ...*"github.com/mitchellh/packer/vendor/github.com/aws/aws-sdk-go/aws".Config) "github.com/mitchellh/packer/vendor/github.com/aws/aws-sdk-go/aws/client".Config | |
want ClientConfig(string, ...*"github.com/aws/aws-sdk-go/aws".Config) "github.com/aws/aws-sdk-go/aws/client".Config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
post-processor/amazon-import/post-processor.go:12:2: cannot find package "github.com/aws/aws-sdk-go/service/s3" in any of: | |
/Users/cbednarski/go/src/github.com/mitchellh/packer/vendor/github.com/aws/aws-sdk-go/service/s3 (vendor tree) | |
/usr/local/go/src/github.com/aws/aws-sdk-go/service/s3 (from $GOROOT) | |
/Users/cbednarski/go/src/github.com/aws/aws-sdk-go/service/s3 (from $GOPATH) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment