synergiator edited a comment on issue #1: URL: https://github.com/apache/cloudstack-terraform-provider/issues/1#issuecomment-895226751
Thanks for mentioning the $GOPATH. Now I've added it, I get some error messages during the build process like the following: ``` go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af ../pkg/mod/github.com/hashicorp/[email protected]/config/interpolate_funcs.go:33:2: missing go.sum entry for module providing package golang.org/x/crypto/bcrypt (imported by github.com/hashicorp/terraform/config); to add: go get github.com/hashicorp/terraform/[email protected] ../pkg/mod/github.com/hashicorp/[email protected]/plugin/discovery/signature.go:7:2: missing go.sum entry for module providing package golang.org/x/crypto/openpgp (imported by github.com/hashicorp/terraform/plugin/discovery); to add: go get github.com/hashicorp/terraform/plugin/[email protected] ../pkg/mod/github.com/hashicorp/[email protected]/internal/plugin/grpc_broker.pb.go:9:2: missing go.sum entry for module providing package golang.org/x/net/context (imported by github.com/hashicorp/go-plugin); to add: go get github.com/hashicorp/[email protected] ../pkg/mod/golang.org/x/[email protected]/internal/token.go:22:2: missing go.sum entry for module providing package golang.org/x/net/context/ctxhttp (imported by golang.org/x/oauth2/internal); to add: go get golang.org/x/oauth2/[email protected] ../pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:27:2: missing go.sum entry for module providing package golang.org/x/net/http2 (imported by google.golang.org/grpc/internal/transport); to add: go get google.golang.org/grpc/internal/[email protected] ../pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:28:2: missing go.sum entry for module providing package golang.org/x/net/http2/hpack (imported by google.golang.org/grpc/internal/transport); to add: go get google.golang.org/grpc/internal/[email protected] ../pkg/mod/github.com/hashicorp/[email protected]/svchost/svchost.go:18:2: missing go.sum entry for module providing package golang.org/x/net/idna (imported by github.com/hashicorp/terraform/svchost); to add: go get github.com/hashicorp/terraform/[email protected] ../pkg/mod/google.golang.org/[email protected]/server.go:36:2: missing go.sum entry for module providing package golang.org/x/net/trace (imported by google.golang.org/grpc); to add: go get google.golang.org/[email protected] ../pkg/mod/github.com/spf13/[email protected]/util.go:28:2: missing go.sum entry for module providing package golang.org/x/text/transform (imported by github.com/spf13/afero); to add: go get github.com/spf13/[email protected] ../pkg/mod/github.com/zclconf/[email protected]/cty/value_init.go:8:2: missing go.sum entry for module providing package golang.org/x/text/unicode/norm (imported by github.com/zclconf/go-cty/cty); to add: go get github.com/zclconf/go-cty/[email protected] make: *** [GNUmakefile:9: build] Error 1 ``` Here is the Dockerfile to reproduce; $GOPATH is added to $PATH. ``` FROM golang RUN go version &&\ git clone https://github.com/apache/cloudstack-terraform-provider.git &&\ cd cloudstack-terraform-provider &&\ echo "GOPATH is: $GOPATH" &&\ export PATH=$PATH:$GOPATH &&\ echo "PATH is: $PATH" &&\ go get golang.org/x/tools/cmd/goimports &&\ make build ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
