rook / nfs

Rook storage provider for NFS
Apache License 2.0
31 stars 10 forks source link

Build Failure with go.mod #39

Open hehesky opened 2 years ago

hehesky commented 2 years ago

Is this a bug report or feature request?

Deviation from expected behavior: make -j4 produces an error message on go mod command

=== ensuring modules are tidied
go: github.com/rook/rook@v1.7.2 requires
        github.com/libopenstorage/secrets@v0.0.0-20210709082113-dde442ea20ec requires
        github.com/hashicorp/vault@v1.4.2 requires
        github.com/hashicorp/go-kms-wrapping@v0.5.1 requires
        github.com/hashicorp/vault/sdk@v0.1.14-0.20191229212425-c478d00be0d6: invalid version: unknown revision c478d00be0d6
go: downloading github.com/csi-addons/volume-replication-operator v0.1.1-0.20210525040814-ab575a2879fb
go: downloading github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.1.0
go: downloading github.com/spf13/cobra v1.1.1
go: downloading github.com/tevino/abool v1.2.0
go: downloading k8s.io/api v0.22.0
go: downloading k8s.io/apiextensions-apiserver v0.21.1
go: downloading k8s.io/apimachinery v0.22.0
go: downloading k8s.io/client-go v0.22.0
go: downloading sigs.k8s.io/controller-runtime v0.9.0
go: downloading github.com/rook/rook v1.7.2
go: downloading k8s.io/component-helpers v0.21.1
go: downloading k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner/v6 v6.1.0
go: downloading github.com/google/uuid v1.1.2
go: downloading github.com/banzaicloud/k8s-objectmatcher v1.1.0
go: downloading github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.50.0
go: downloading github.com/prometheus-operator/prometheus-operator/pkg/client v0.50.0
go: downloading k8s.io/cloud-provider v0.21.1
go: github.com/rook/rook@v1.7.2 requires
        github.com/libopenstorage/secrets@v0.0.0-20210709082113-dde442ea20ec requires
        github.com/hashicorp/vault@v1.4.2 requires
        github.com/hashicorp/go-kms-wrapping@v0.5.1 requires
        github.com/hashicorp/vault/sdk@v0.1.14-0.20191229212425-c478d00be0d6: invalid version: unknown revision c478d00be0d6
make: *** [go.mod.check] Error 1

I managed to bypass by adding a replace as

github.com/hashicorp/vault/sdk => github.com/hashicorp/vault/sdk master

But I would assume it's not a proper fix.

Expected behavior: build successful How to reproduce it (minimal and precise):

run make -j4 with current code from master branch

File(s) to submit:

Environment: