Closed dependabot-preview[bot] closed 4 years ago
Cannot build package any more.
git clone https://github.com/sl1pm4t/k2tf.git
cd k2tf
brew install go
make build
go build -v
get "mvdan.cc/unparam": found meta tag get.metaImport{Prefix:"mvdan.cc/unparam", VCS:"git", RepoRoot:"https://github.com/mvdan/unparam"} at //mvdan.cc/unparam?go-get=1
get "golang.org/x/tools": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools?go-get=1
go: github.com/terraform-providers/terraform-provider-kubernetes@v1.9.0 requires
github.com/gophercloud/gophercloud@v0.0.0-20190523203818-4885c347dcf4: invalid pseudo-version: does not match version-control timestamp (2019-05-23T20:30:39Z)
make: *** [build] Error 1
Once I updated terraform-provider-kubernetes
to v1.10.0
, it got stuck on the next issue:
verifying github.com/terraform-providers/terraform-provider-random@v2.2.1+incompatible/go.mod: github.com/terraform-providers/terraform-provider-random@v2.2.1+incompatible/go.mod: reading https://sum.golang.org/lookup/github.com/terraform-providers/terraform-provider-random@v2.2.1+incompatible: 410 Gone
This project still won't build cleanly.
This seems to be a go 1.13 issue, that is not present with go 1.12.
I can build from master with:
docker run --rm -it -v `pwd`:/workspace -w /workspace golang:1.12 go build -v
but it fails with:
docker run --rm -it -v `pwd`:/workspace -w /workspace golang:1.13 go build -v
Note - I'm using the docker container to build to make sure the go mod cache is clean.
The same also applies to the terraform -provider-kubernetes
repo.
I cannot build master or v1.10.0
with go 1.13, but go 1.12 builds OK.
@rafaelmagu - I've just released v0.3.0 (https://github.com/sl1pm4t/k2tf/releases/tag/v0.3.0) that updated the terraform-provider-kubernetes dependency to v1.10.0.
This should be fixed now by #58
Dependabot couldn't parse the go.mod found at
/go.mod
.The error Dependabot encountered was:
View the update logs.