Masterminds / glide

Package Management for Golang
https://glide.sh
Other
8.16k stars 539 forks source link

Failed to retrieve a list of dependencies #1040

Open raja-gola opened 5 years ago

raja-gola commented 5 years ago
glide update -v
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching updates for github.com/golang/glog
[INFO]  --> Fetching updates for github.com/spf13/pflag
[INFO]  --> Fetching updates for k8s.io/apiserver
[INFO]  --> Fetching updates for k8s.io/kubernetes
[INFO]  --> Fetching updates for k8s.io/apimachinery
[INFO]  --> Fetching updates for k8s.io/client-go
[INFO]  --> Detected semantic version. Setting version for github.com/spf13/pflag to v1.0.3
[INFO]  --> Setting version for k8s.io/client-go to v4.0.0.
[INFO]  --> Setting version for k8s.io/kubernetes to v1.7.8.
[INFO]  Resolving imports
[INFO]  Found Godeps.json file in /Users/rajasekhar/.glide/cache/src/https-k8s.io-apiserver
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Setting version for k8s.io/apimachinery to d4f83ca2e2604a4c3444295a8aca957c3a784f06.
[INFO]  --> Fetching updates for k8s.io/klog
[INFO]  --> Setting version for k8s.io/klog to 8139d8cb77af419532b33dfa7dd09fbc5f1d344f.
[INFO]  --> Fetching updates for github.com/docker/docker
[INFO]  --> Setting version for github.com/docker/docker to a9fbbdc8dd8794b20af358382ab780559bca589d.
[INFO]  Found Godeps.json file in /Users/rajasekhar/.glide/cache/src/https-k8s.io-kubernetes
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching updates for github.com/prometheus/client_golang
[INFO]  --> Setting version for github.com/prometheus/client_golang to e7e903064f5e9eb5da98208bae10b475d4db0f8c.
[INFO]  --> Fetching updates for github.com/spf13/cobra
[INFO]  --> Setting version for github.com/spf13/cobra to f62e98d28ab7ad31d707ba837a966378465c7b57.
[INFO]  --> Setting version for k8s.io/client-go to 8abb21031259350aad0799bb42ba213ee8bb3399.
[INFO]  --> Fetching updates for github.com/gogo/protobuf
[INFO]  --> Setting version for github.com/gogo/protobuf to 342cbe0a04158f6dcb03ca0079991a51a4248c02.
[INFO]  --> Fetching updates for github.com/ugorji/go
[INFO]  --> Setting version for github.com/ugorji/go to bdcc60b419d136a85cdf2e7cbcac34b3f1cd6e57.
[INFO]  --> Fetching updates for github.com/golang/groupcache
[INFO]  --> Setting version for github.com/golang/groupcache to 02826c3e79038b59d737d3b1c0a1d937f71a4433.
[INFO]  Found Godeps.json file in /Users/rajasekhar/.glide/cache/src/https-k8s.io-apimachinery
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching updates for github.com/google/gofuzz
[INFO]  --> Setting version for github.com/google/gofuzz to 44d81051d367757e1c7c6a5a86423ece9afcf63c.
[INFO]  --> Fetching updates for github.com/Azure/go-ansiterm
[INFO]  --> Setting version for github.com/Azure/go-ansiterm to d6e3b3328b783f23731bc4d058875b0371ff8109.
[INFO]  --> Fetching updates for golang.org/x/sys
[INFO]  --> Setting version for golang.org/x/sys to 95c6576299259db960f6c5b9b69ea52422860fce.
[INFO]  --> Fetching updates for github.com/beorn7/perks
[INFO]  --> Setting version for github.com/beorn7/perks to 3ac7bf7a47d159a033b107610db8a1b6575507a4.
[INFO]  --> Fetching updates for github.com/golang/protobuf
[INFO]  --> Setting version for github.com/golang/protobuf to b4deda0973fb4c70b50d226b1af49f3da59f5265.
[INFO]  --> Fetching updates for github.com/prometheus/client_model
[INFO]  --> Setting version for github.com/prometheus/client_model to fa8ad6fec33561be4280a8f0514318c79d7f6cb6.
[INFO]  --> Fetching updates for github.com/prometheus/common
[INFO]  --> Setting version for github.com/prometheus/common to 13ba4ddd0caa9c28ca7b7bffe1dfa9ed8d5ef207.
[INFO]  --> Fetching updates for github.com/prometheus/procfs
[INFO]  --> Setting version for github.com/prometheus/procfs to 65c1f6f8f0fc1e2185eb9863a3bc751496404259.
[INFO]  --> Fetching updates for github.com/inconshreveable/mousetrap
[INFO]  --> Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[INFO]  Found Godeps.json file in /Users/rajasekhar/.glide/cache/src/https-k8s.io-client-go
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching updates for k8s.io/api
[INFO]  --> Setting version for k8s.io/api to b7bd5f2d334ce968edc54f5fdb2ac67ce39c56d5.
[ERROR] Error scanning k8s.io/client-go/pkg/api/v1: cannot find package "." in:
    /Users/rajasekhar/.glide/cache/src/https-k8s.io-client-go/pkg/api/v1
[INFO]  --> Fetching updates for golang.org/x/net
[INFO]  --> Setting version for golang.org/x/net to 0ed95abb35c445290478a5348a7b38bb154135fd.
[INFO]  --> Fetching updates for golang.org/x/oauth2
[INFO]  --> Setting version for golang.org/x/oauth2 to a6bd8cefa1811bd24b86f8902872e4e8225f74c4.
[INFO]  --> Fetching updates for github.com/imdario/mergo
[INFO]  --> Setting version for github.com/imdario/mergo to 9316a62528ac99aaecb4e47eadd6dc8aa6533d58.
[INFO]  --> Fetching updates for golang.org/x/crypto
[INFO]  --> Setting version for golang.org/x/crypto to de0752318171da717af4ce24d0a2e8626afaeb11.
[INFO]  --> Fetching updates for github.com/aws/aws-sdk-go
[INFO]  --> Setting version for github.com/aws/aws-sdk-go to 63ce630574a5ec05ecd8e8de5cea16332a5a684d.
[INFO]  --> Fetching updates for gopkg.in/gcfg.v1
[INFO]  --> Setting version for gopkg.in/gcfg.v1 to 27e4946190b4a327b539185f2b5b1f7c84730728.
[INFO]  --> Fetching updates for github.com/Azure/azure-sdk-for-go
[INFO]  --> Setting version for github.com/Azure/azure-sdk-for-go to 786cc84138518bf7fd6d60e92fad1ac9d1a117ad.
[INFO]  --> Fetching updates for github.com/Azure/go-autorest
[INFO]  --> Setting version for github.com/Azure/go-autorest to 58f6f26e200fa5dfb40c9cd1c83f3e2c860d779d.
[INFO]  --> Fetching updates for github.com/ghodss/yaml
[INFO]  --> Setting version for github.com/ghodss/yaml to c7ce16629ff4cd059ed96ed06419dd3856fd3577.
[INFO]  --> Fetching updates for github.com/rubiojr/go-vhd
[INFO]  --> Setting version for github.com/rubiojr/go-vhd to 0bfd3b39853cdde5762efda92289f14b0ac0491b.
[INFO]  --> Fetching updates for github.com/xanzy/go-cloudstack
[INFO]  --> Setting version for github.com/xanzy/go-cloudstack to 1e2cbf647e57fa90353612074fdfc42faf5073bf.
[INFO]  --> Fetching updates for cloud.google.com/go
[INFO]  --> Setting version for cloud.google.com/go to 3b1ae45394a234c385be014e9a488f2bb6eef821.
[INFO]  --> Fetching updates for google.golang.org/api
[INFO]  --> Setting version for google.golang.org/api to e3824ed33c72bf7e81da0286772c34b987520914.
[INFO]  --> Fetching updates for github.com/mesos/mesos-go
[INFO]  --> Setting version for github.com/mesos/mesos-go to 45c8b08e9af666add36a6f93ff8c1c75812367b0.
[INFO]  --> Fetching updates for github.com/gophercloud/gophercloud
[INFO]  --> Setting version for github.com/gophercloud/gophercloud to ed590d9afe113c6107cd60717b196155e6579e78.
[INFO]  --> Fetching updates for github.com/mitchellh/mapstructure
[INFO]  --> Setting version for github.com/mitchellh/mapstructure to 53818660ed4955e899c0bcafa97299a388bd7c8e.
[INFO]  --> Fetching updates for github.com/vmware/photon-controller-go-sdk
[INFO]  --> Setting version for github.com/vmware/photon-controller-go-sdk to 4a435daef6ccd3d0edaac1161e76f51a70c2589a.
[INFO]  --> Fetching updates for github.com/rackspace/gophercloud
[INFO]  --> Setting version for github.com/rackspace/gophercloud to e00690e87603abe613e9f02c816c7c4bef82e063.
[INFO]  --> Fetching updates for github.com/vmware/govmomi
[INFO]  --> Setting version for github.com/vmware/govmomi to b8b228cfbad7f0a69ed90393ca9aee085d3c6ef1.
[INFO]  --> Fetching updates for gopkg.in/inf.v0
[INFO]  --> Setting version for gopkg.in/inf.v0 to 3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4.
[INFO]  --> Fetching updates for github.com/docker/distribution
[INFO]  --> Setting version for github.com/docker/distribution to cd27f179f2c10c5d300e6d09025b538c475b0d51.
[INFO]  --> Fetching updates for github.com/googleapis/gnostic
[INFO]  --> Setting version for github.com/googleapis/gnostic to 0c5108395e2debce0d731cf0287ddf7242066aba.
[INFO]  --> Fetching updates for github.com/gregjones/httpcache
[INFO]  --> Setting version for github.com/gregjones/httpcache to 787624de3eb7bd915c329cba748687a3b22666a6.
[INFO]  --> Fetching updates for github.com/peterbourgon/diskv
[INFO]  --> Setting version for github.com/peterbourgon/diskv to 5f041e8faa004a95c88a202771f4cc3e991971e6.
[INFO]  --> Fetching updates for golang.org/x/time
[INFO]  --> Setting version for golang.org/x/time to f51c12702a4d776e4c1fa9b0fabab841babae631.
[INFO]  --> Fetching updates for k8s.io/kube-openapi
[INFO]  --> Setting version for k8s.io/kube-openapi to c59034cc13d587f5ef4e85ca0ade0c1866ae8e1d.
[INFO]  --> Fetching updates for github.com/emicklei/go-restful-swagger12
[INFO]  --> Setting version for github.com/emicklei/go-restful-swagger12 to dcef7f55730566d41eae5db10e7d6981829720f6.
[INFO]  --> Fetching updates for github.com/exponent-io/jsonpath
[INFO]  --> Setting version for github.com/exponent-io/jsonpath to d6023ce2651d8eafb5c75bb0c7167536102ec9f5.
[INFO]  --> Fetching updates for github.com/dgrijalva/jwt-go
[INFO]  --> Setting version for github.com/dgrijalva/jwt-go to 01aeca54ebda6e0fbfafd0a524d234159c05ec20.
[INFO]  --> Fetching updates for github.com/davecgh/go-spew
[INFO]  --> Setting version for github.com/davecgh/go-spew to 782f4967f2dc4564575ca782fe2d04090b5faca8.
[INFO]  --> Fetching updates for github.com/sirupsen/logrus
[INFO]  --> Setting version for github.com/sirupsen/logrus to 89742aefa4b206dcf400792f3bd35b542998eb3b.
[INFO]  --> Fetching updates for github.com/matttproud/golang_protobuf_extensions
[INFO]  --> Setting version for github.com/matttproud/golang_protobuf_extensions to c12348ce28de40eed0136aa2b644d0ee0650e56c.
[INFO]  Found Godeps.json file in /Users/rajasekhar/.glide/cache/src/https-k8s.io-api
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching updates for google.golang.org/appengine
[ERROR] Error scanning k8s.io/apimachinery/pkg/apimachinery/announced: cannot find package "." in:
    /Users/rajasekhar/.glide/cache/src/https-k8s.io-apimachinery/pkg/apimachinery/announced
[ERROR] Error scanning k8s.io/apimachinery/pkg/apimachinery/registered: cannot find package "." in:
    /Users/rajasekhar/.glide/cache/src/https-k8s.io-apimachinery/pkg/apimachinery/registered
[INFO]  --> Fetching updates for github.com/go-ini/ini
[INFO]  --> Setting version for github.com/go-ini/ini to 2e44421e256d82ebbf3d4d4fcabe8930b905eff3.
[INFO]  --> Fetching updates for gopkg.in/warnings.v0
[INFO]  --> Setting version for gopkg.in/warnings.v0 to 8a331561fe74dadba6edfc59f3be66c22c3b065d.
[INFO]  --> Fetching updates for github.com/satori/uuid
[INFO]  --> Setting version for github.com/satori/uuid to 5bf94b69c6b68ee1b541973bb8e1144db23a194b.
[INFO]  --> Fetching updates for gopkg.in/yaml.v2
[INFO]  --> Setting version for gopkg.in/yaml.v2 to 5420a8b6744d3b0345ab293f6fcba19c978f1183.
[INFO]  --> Fetching updates for github.com/samuel/go-zookeeper
[INFO]  --> Setting version for github.com/samuel/go-zookeeper to 177002e16a0061912f02377e2dd8951a8b3551bc.
[INFO]  Found Godeps.json file in /Users/rajasekhar/.glide/cache/src/https-github.com-vmware-photon-controller-go-sdk
[INFO]  --> Parsing Godeps metadata...
[INFO]  Found GB manifest file in /Users/rajasekhar/.glide/cache/src/https-github.com-vmware-govmomi
[INFO]  --> Parsing GB metadata...
[INFO]  Found Godeps.json file in /Users/rajasekhar/.glide/cache/src/https-github.com-docker-distribution
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching updates for github.com/google/btree
[INFO]  --> Setting version for github.com/google/btree to 7d79101e329e5a3adf994758c578dab82b90c017.
[INFO]  --> Fetching updates for sigs.k8s.io/yaml
[INFO]  --> Setting version for sigs.k8s.io/yaml to fd68e9863619f6ec2fdd8625fe1f02e7c877e480.
[INFO]  Found Godeps.json file in /Users/rajasekhar/.glide/cache/src/https-k8s.io-kube-openapi
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching updates for github.com/hashicorp/golang-lru
[INFO]  --> Setting version for github.com/hashicorp/golang-lru to a0d98a5f288019575c6d1f4bb1573fef2d1fcdc4.
[INFO]  --> Fetching updates for github.com/emicklei/go-restful
[INFO]  --> Setting version for github.com/emicklei/go-restful to ff4f55a206334ef123e4f79bbf348980da81ca46.
[INFO]  --> Fetching updates for github.com/json-iterator/go
[INFO]  --> Setting version for github.com/json-iterator/go to ab8a2e0c74be9d3be70b3184d9acc634935ded82.
[INFO]  --> Fetching updates for github.com/modern-go/reflect2
[INFO]  --> Setting version for github.com/modern-go/reflect2 to 94122c33edd36123c84d5368cfb2b69df93a0ec8.
[INFO]  --> Fetching updates for golang.org/x/text
[INFO]  --> Setting version for golang.org/x/text to b19bf474d317b857955b12035d2c5acb57ce8b01.
[INFO]  --> Setting version for google.golang.org/appengine to 12d5545dc1cfa6047a286d5e853841b6471f4c19.
[INFO]  --> Fetching updates for github.com/jmespath/go-jmespath
[INFO]  --> Setting version for github.com/jmespath/go-jmespath to 3433f3ea46d9f8019119e7dd41274e112a2359a9.
[INFO]  --> Fetching updates for github.com/docker/engine-api
[INFO]  --> Setting version for github.com/docker/engine-api to dea108d3aa0c67d7162a3fd8aa65f38a430019fd.
[INFO]  --> Fetching updates for github.com/modern-go/concurrent
[INFO]  --> Setting version for github.com/modern-go/concurrent to bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94.
[INFO]  --> Fetching updates for github.com/docker/go-connections
[INFO]  --> Setting version for github.com/docker/go-connections to f549a9393d05688dff0992ef3efd8bbe6c628aeb.
[INFO]  --> Fetching updates for github.com/docker/go-units
[INFO]  --> Setting version for github.com/docker/go-units to e30f1e79f3cd72542f2026ceec18d3bd67ab859c.
[ERROR] Failed to retrieve a list of dependencies: Error resolving imports

Glide version

glide --version
glide version 0.13.2

glide.yaml

package: git.eng.vmware.com/devtools/decc/decc-cloud-controller-manager
import:
- package: github.com/golang/glog
- package: github.com/spf13/pflag
  version: ^1.0.3
- package: k8s.io/apimachinery
  subpackages:
  - pkg/apis/meta/v1
- package: k8s.io/apiserver
  subpackages:
  - pkg/server/healthz
  - pkg/util/flag
  - pkg/util/logs
- package: k8s.io/kubernetes
  version: v1.7.8
  subpackages:
  - cmd/cloud-controller-manager/app
  - cmd/cloud-controller-manager/app/options
  - pkg/api/v1
  - pkg/client/clientset_generated/clientset
  - pkg/client/metrics/prometheus
  - pkg/cloudprovider
  - pkg/cloudprovider/providers
  - pkg/controller
  - pkg/version/prometheus
  - pkg/version/verflag
testImport:
- package: k8s.io/client-go
  version: v4.0.0
  subpackages:
  - kubernetes/fake
raja-gola commented 5 years ago

Happens even when, I do

glide cc
rm -rf vendor/
santoshkt commented 5 years ago

+1

VineethReddy02 commented 5 years ago

+1

Synaxis commented 4 years ago

try deleting .glide cache folder