Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve update issue #432

Closed
radamsfc opened this issue May 19, 2016 · 15 comments
Closed

Unable to resolve update issue #432

radamsfc opened this issue May 19, 2016 · 15 comments

Comments

@radamsfc
Copy link

Using glide 0.10.2

We have a glide.yaml and glide.lock generated from it. Glide install works fine.

Updating glide.yaml in any way and trying to run an update results in errors that I have been unable to identify the source after many hours of trying to resolve this.

glide.yaml

package: .
import:
- package: github.com/aws/aws-sdk-go
  version: f0748927a5d7568334ff0858de06c2812da89d6a # 1.1.13
  subpackages:
  - aws
  - aws/awserr
  - aws/credentials
  - aws/session
  - service/cognitoidentity
  - service/s3
  - service/s3/s3manager
  - service/sts
- package: github.com/c9s/goprocinfo
  version: 19cb9f127a9c8d2034cf59ccb683cdb94b9deb6c
  subpackages:
  - linux
- package: github.com/coreos/etcd
  version: 2.2.5
  subpackages:
  - client
- package: github.com/davecgh/go-spew
  version: 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d
  subpackages:
  - spew
- package: github.com/docker/docker
  version: 7f4e4ac6f9fd9bf46f86e6eb422cad145c75dba2
  subpackages:
  - pkg/stringutils
  - pkg/system
- package: github.com/fatih/structs
  version: 73c4e3dc02a78deaba8640d5f3a8c236ec1352bf
- package: github.com/gorilla/mux
  version: 0eeaf8392f5b04950925b8a69fe70f110fa7cbfc
- package: github.com/gorilla/websocket
  version: e2e3d8414d0fbae04004f151979f4e27c6747fe7
- package: github.com/koding/websocketproxy
  version: 870493fd19c48c3e71eaf5c5e03e07658f73bd26
- package: github.com/pmezard/go-difflib
  version: 792786c7400a136282c1664665ae0a8db921c6c2
  subpackages:
  - difflib
- package: github.com/samalba/dockerclient
  version: f274bbd0e2eb35ad1444dc6e6660214f9fbbc08c
- package: github.com/stretchr/objx
  version: 1a9d0bb9f541897e62256577b352fdbc1fb4fd94
- package: github.com/stretchr/testify/assert
  version: 6fe211e493929a8aac0469b93f28b1d0688a9a3a
- package: golang.org/x/net
  version: 6acef71eb69611914f7a30939ea9f6e194c78172
  subpackages:
  - context
  - websocket
- package: gopkg.in/yaml.v2
  version: a83829b6f1293c91addabc89d0571c246397bbf4

The update command used (and we have used many permutations) is

glide --home $(a_dir) update --cache --force --update-vendored --strip-vcs --strip-vendor --delete

We have deleted the cache, (btw there are errors that cache/info does not exist when the cache directory is first created - creating it makes the errors disappear) and used various permutations of that command.

The first of many errors occurs here

[INFO] Keeping github.com/stretchr/objx 1a9d0bb9f541897e62256577b352fdbc1fb4fd94
[INFO] Fetching golang.org/x/text/encoding into /opt/backend-oapi/vendor
[INFO] Fetching net/http/httptrace into /opt/backend-oapi/vendor
[ERROR] Error looking for net/http/httptrace: Cannot detect VCS
[INFO] Fetching camlistore.org/pkg/googlestorage into /opt/backend-oapi/vendor

Any thoughts on how we can identify the cause and resolve this?

FULL OUTPUT

[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for github.com/aws/aws-sdk-go.
[INFO] Fetching updates for gopkg.in/yaml.v2.
[INFO] Fetching updates for github.com/coreos/etcd.
[INFO] Fetching updates for github.com/c9s/goprocinfo.
[INFO] Fetching updates for github.com/fatih/structs.
[INFO] Fetching updates for github.com/gorilla/websocket.
[INFO] Fetching updates for github.com/stretchr/testify.
[INFO] Fetching updates for github.com/pmezard/go-difflib.
[INFO] Fetching updates for github.com/koding/websocketproxy.
[INFO] Fetching updates for github.com/davecgh/go-spew.
[INFO] Fetching updates for golang.org/x/net.
[INFO] Fetching updates for github.com/gorilla/mux.
[INFO] Fetching updates for github.com/docker/docker.
[INFO] Fetching updates for github.com/samalba/dockerclient.
[INFO] Fetching updates for github.com/stretchr/objx.
[INFO] Setting version for github.com/c9s/goprocinfo to 19cb9f127a9c8d2034cf59ccb683cdb94b9deb6c.
[INFO] Setting version for github.com/aws/aws-sdk-go to f0748927a5d7568334ff0858de06c2812da89d6a.
[INFO] Setting version for github.com/davecgh/go-spew to 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d.
[INFO] Setting version for github.com/fatih/structs to 73c4e3dc02a78deaba8640d5f3a8c236ec1352bf.
[INFO] Setting version for github.com/pmezard/go-difflib to 792786c7400a136282c1664665ae0a8db921c6c2.
[INFO] Setting version for github.com/gorilla/mux to 0eeaf8392f5b04950925b8a69fe70f110fa7cbfc.
[INFO] Setting version for github.com/gorilla/websocket to e2e3d8414d0fbae04004f151979f4e27c6747fe7.
[INFO] Setting version for github.com/koding/websocketproxy to 870493fd19c48c3e71eaf5c5e03e07658f73bd26.
[INFO] Setting version for github.com/samalba/dockerclient to f274bbd0e2eb35ad1444dc6e6660214f9fbbc08c.
[INFO] Setting version for github.com/docker/docker to 7f4e4ac6f9fd9bf46f86e6eb422cad145c75dba2.
[INFO] Setting version for github.com/stretchr/objx to 1a9d0bb9f541897e62256577b352fdbc1fb4fd94.
[INFO] Setting version for github.com/stretchr/testify to 6fe211e493929a8aac0469b93f28b1d0688a9a3a.
[INFO] Setting version for gopkg.in/yaml.v2 to a83829b6f1293c91addabc89d0571c246397bbf4.
[INFO] Setting version for golang.org/x/net to 6acef71eb69611914f7a30939ea9f6e194c78172.
[INFO] Detected semantic version. Setting version for github.com/coreos/etcd to v2.2.5.
[INFO] Resolving imports
[INFO] Fetching github.com/go-ini/ini into /opt/backend-oapi/vendor
[INFO] Fetching github.com/jmespath/go-jmespath into /opt/backend-oapi/vendor
[INFO] Fetching golang.org/x/tools/go/loader into /opt/backend-oapi/vendor
[INFO] Found Godeps.json file in vendor/github.com/stretchr/testify
[WARN] Conflict: github.com/pmezard/go-difflib rev is currently 792786c7400a136282c1664665ae0a8db921c6c2, but github.com/stretchr/testify wants d8ed2627bdf02c080bf22230dbb337003b7aba2d
[INFO] github.com/pmezard/go-difflib reference 792786c7400a136282c1664665ae0a8db921c6c2:
[INFO] - author: Patrick Mezard <patrick@mezard.eu>
[INFO] - commit date: Sun, 10 Jan 2016 11:55:54 +0100
[INFO] - subject (first line): Merge branch 'shazow-master'
[INFO] github.com/pmezard/go-difflib reference d8ed2627bdf02c080bf22230dbb337003b7aba2d:
[INFO] - author: Patrick Mézard <patrick@mezard.eu>
[INFO] - commit date: Wed, 28 Oct 2015 10:42:44 +0100
[INFO] - subject (first line): Merge pull request #2 from pmezard/add-godoc-link
[INFO] Keeping github.com/pmezard/go-difflib 792786c7400a136282c1664665ae0a8db921c6c2
[INFO] Fetching github.com/lsegal/gucumber into /opt/backend-oapi/vendor
[INFO] Found Godeps.json file in vendor/github.com/coreos/etcd
[INFO] Fetching github.com/coreos/pkg/capnslog into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/coreos/pkg to 2c77715c4df99b5420ffcae14ead08f52104065d.
[INFO] Fetching golang.org/x/crypto/bcrypt into /opt/backend-oapi/vendor
[INFO] Setting version for golang.org/x/crypto to 1351f936d976c60a0a48d728281922cf63eafb8d.
[INFO] Fetching github.com/gogo/protobuf/proto into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/gogo/protobuf to e8904f58e872a473a5b91bc9bf3377d223555263.
[INFO] Fetching github.com/ugorji/go/codec into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/ugorji/go to f1f1a805ed361a0e078bb537e4ea78cd37dcf065.
[INFO] Fetching github.com/ghodss/yaml into /opt/backend-oapi/vendor
[INFO] Fetching golang.org/x/time/rate into /opt/backend-oapi/vendor
[INFO] Fetching google.golang.org/grpc into /opt/backend-oapi/vendor
[INFO] Setting version for google.golang.org/grpc to e29d659177655e589850ba7d3d83f7ce12ef23dd.
[INFO] Fetching github.com/jonboulle/clockwork into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/jonboulle/clockwork to 72f9bd7c4e0c2a40055ab3d0f09654f730cce982.
[INFO] Fetching github.com/codegangsta/cli into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/codegangsta/cli to b5232bb2934f606f9f27a1305f1eea224e8e8b88.
[INFO] Fetching github.com/bgentry/speakeasy into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/bgentry/speakeasy to 36e9cfdd690967f4f690c6edcc9ffacd006014a0.
[INFO] Fetching github.com/spf13/cobra into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/spf13/cobra to 1c44ec8d3f1552cac48999f9306da23c4d8a288b.
[INFO] Fetching github.com/spf13/pflag into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/spf13/pflag to 08b1a584251b5b62f458943640fc8ebd4d50aaa5.
[INFO] Fetching github.com/boltdb/bolt into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/boltdb/bolt to 0b00effdd7a8270ebd91c24297e51643e370dd52.
[INFO] Fetching github.com/dustin/go-humanize into /opt/backend-oapi/vendor
[INFO] Fetching github.com/olekukonko/tablewriter into /opt/backend-oapi/vendor
[INFO] Fetching github.com/cockroachdb/cmux into /opt/backend-oapi/vendor
[INFO] Fetching github.com/coreos/go-systemd/daemon into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/coreos/go-systemd to cea488b4e6855fee89b6c22a811e3c5baca861b6.
[INFO] Fetching github.com/prometheus/client_golang/prometheus into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/prometheus/client_golang to e51041b3fa41cece0dca035740ba6411905be473.
[INFO] Fetching github.com/prometheus/procfs into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/prometheus/procfs to 454a56f35412459b5e684fd5ec0f9211b94f002a.
[INFO] Fetching github.com/coreos/go-semver/semver into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/coreos/go-semver to 568e959cd89871e61434c1143528d9162da89ef2.
[INFO] Fetching github.com/google/btree into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/google/btree to cc6329d4279e3f025a53a83c397d2339b5705c45.
[INFO] Fetching github.com/kr/pty into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/kr/pty to f7ee69f31298ecbe5d2b349c711e2547a617d398.
[WARN] Conflict: golang.org/x/net rev is currently 6acef71eb69611914f7a30939ea9f6e194c78172, but github.com/coreos/etcd wants 04b9de9b512f58addf28c9853d50ebef61c3953e
[INFO] golang.org/x/net reference 6acef71eb69611914f7a30939ea9f6e194c78172:
[INFO] - author: Brad Fitzpatrick <bradfitz@golang.org>
[INFO] - commit date: Thu, 25 Feb 2016 17:50:37 +0000
[INFO] - subject (first line): http2: add Framer.ErrorDetail method
[INFO] golang.org/x/net reference 04b9de9b512f58addf28c9853d50ebef61c3953e:
[INFO] - author: Brad Fitzpatrick <bradfitz@golang.org>
[INFO] - commit date: Tue, 26 Jan 2016 21:02:32 +0000
[INFO] - subject (first line): http2: remove unused variable
[INFO] Keeping golang.org/x/net 6acef71eb69611914f7a30939ea9f6e194c78172
[INFO] Fetching github.com/xiang90/probing into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/xiang90/probing to 6a0cc1ae81b4cc11db5e491e030e4b98fba79c19.
[INFO] Fetching gopkg.in/cheggaaa/pb.v1 into /opt/backend-oapi/vendor
[INFO] Fetching github.com/akrennmair/gopcap into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/akrennmair/gopcap to 00e11033259acb75598ba416495bb708d864a010.
[INFO] Fetching github.com/spacejam/loghisto into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/spacejam/loghisto to 323309774dec8b7430187e46cd0793974ccca04a.
[INFO] Fetching github.com/Sirupsen/logrus into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/go-units into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/engine-api/types into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/libtrust into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/distribution/digest into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/go-connections/tlsconfig into /opt/backend-oapi/vendor
[INFO] Fetching github.com/Azure/go-ansiterm/winterm into /opt/backend-oapi/vendor
[INFO] Fetching github.com/Microsoft/go-winio into /opt/backend-oapi/vendor
[INFO] Fetching github.com/opencontainers/runc/libcontainer/user into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/libnetwork/resolvconf/dns into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/notary/client into /opt/backend-oapi/vendor
[INFO] Fetching github.com/agl/ed25519 into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/go/canonical/json into /opt/backend-oapi/vendor
[INFO] Fetching github.com/gorilla/context into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/go-events into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/libkv/store/boltdb into /opt/backend-oapi/vendor
[INFO] Fetching github.com/miekg/dns into /opt/backend-oapi/vendor
[INFO] Fetching github.com/vishvananda/netns into /opt/backend-oapi/vendor
[INFO] Fetching github.com/Microsoft/hcsshim into /opt/backend-oapi/vendor
[INFO] Fetching github.com/docker/containerd/api/grpc/types into /opt/backend-oapi/vendor
[INFO] Fetching github.com/imdario/mergo into /opt/backend-oapi/vendor
[INFO] Fetching github.com/opencontainers/specs/specs-go into /opt/backend-oapi/vendor
[INFO] Fetching golang.org/x/sys/windows into /opt/backend-oapi/vendor
[INFO] Setting version for golang.org/x/sys to 9c60d1c508f5134d1ca726b4641db998f2523357.
[INFO] Fetching github.com/vbatts/tar-split/tar/asm into /opt/backend-oapi/vendor
[INFO] Found Godeps.json file in vendor/github.com/opencontainers/runc
[WARN] Conflict: github.com/docker/docker rev is currently 7f4e4ac6f9fd9bf46f86e6eb422cad145c75dba2, but github.com/opencontainers/runc wants 0f5c9d301b9b1cca66b3ea0f9dec3b5317d3686d
[INFO] github.com/docker/docker reference 7f4e4ac6f9fd9bf46f86e6eb422cad145c75dba2:
[INFO] - author: Tibor Vass <tibor@docker.com>
[INFO] - commit date: Wed, 23 Mar 2016 14:50:04 -0400
[INFO] - subject (first line): Bump version to v1.11.0-rc1
[INFO] github.com/docker/docker reference 0f5c9d301b9b1cca66b3ea0f9dec3b5317d3686d:
[INFO] - author: Antonio Murdaca <runcom@linux.com>
[INFO] - commit date: Tue, 21 Jul 2015 19:49:42 +0200
[INFO] - subject (first line): pkg: mount: golint
[INFO] Keeping github.com/docker/docker 7f4e4ac6f9fd9bf46f86e6eb422cad145c75dba2
[INFO] Fetching github.com/golang/protobuf/proto into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/golang/protobuf to 6aaa8d47701fa6cf07e914ec01fde3d4a1fe79c3.
[INFO] Fetching github.com/syndtr/gocapability/capability into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/syndtr/gocapability to 2c00daeb6c3b45114c80ac44119e7b8801fdd852.
[INFO] Fetching github.com/fluent/fluent-logger-golang/fluent into /opt/backend-oapi/vendor
[INFO] Fetching google.golang.org/cloud/compute/metadata into /opt/backend-oapi/vendor
[INFO] Fetching github.com/Graylog2/go-gelf/gelf into /opt/backend-oapi/vendor
[INFO] Fetching github.com/RackSec/srslog into /opt/backend-oapi/vendor
[INFO] Fetching github.com/mattn/go-sqlite3 into /opt/backend-oapi/vendor
[INFO] Fetching github.com/mattn/go-shellwords into /opt/backend-oapi/vendor
[INFO] Fetching github.com/tchap/go-patricia/patricia into /opt/backend-oapi/vendor
[INFO] Fetching github.com/seccomp/libseccomp-golang into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/seccomp/libseccomp-golang to 1b506fc7c24eec5a3693cdcbed40d9c226cfc6a1.
[INFO] Fetching github.com/BurntSushi/toml into /opt/backend-oapi/vendor
[INFO] Fetching github.com/vishvananda/netlink into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/vishvananda/netlink to 1e2e08e8a2dcdacaae3f14ac44c5cfa31361f270.
[INFO] Fetching github.com/mistifyio/go-zfs into /opt/backend-oapi/vendor
[INFO] Fetching github.com/pborman/uuid into /opt/backend-oapi/vendor
[INFO] Fetching github.com/tinylib/msgp/msgp into /opt/backend-oapi/vendor
[INFO] Fetching google.golang.org/api/logging/v1beta3 into /opt/backend-oapi/vendor
[INFO] Fetching gopkg.in/fsnotify.v1 into /opt/backend-oapi/vendor
[INFO] Fetching github.com/go-check/check into /opt/backend-oapi/vendor
[INFO] Fetching github.com/vdemeester/shakers into /opt/backend-oapi/vendor
[INFO] Fetching github.com/hashicorp/consul/api into /opt/backend-oapi/vendor
[INFO] Fetching github.com/samuel/go-zookeeper/zk into /opt/backend-oapi/vendor
[WARN] Conflict: github.com/stretchr/objx rev is currently 1a9d0bb9f541897e62256577b352fdbc1fb4fd94, but github.com/stretchr/testify wants cbeaeb16a013161a98496fad62933b1d21786672
[INFO] github.com/stretchr/objx reference 1a9d0bb9f541897e62256577b352fdbc1fb4fd94:
[INFO] - author: Mat Ryer <matryer@users.noreply.github.com>
[INFO] - commit date: Mon, 28 Sep 2015 13:21:52 +0100
[INFO] - subject (first line): Merge pull request #13 from mcuadros/master
[INFO] github.com/stretchr/objx reference cbeaeb16a013161a98496fad62933b1d21786672:
[INFO] - author: Mat Ryer <mat@stretchr.com>
[INFO] - commit date: Mon, 26 May 2014 12:09:21 -0600
[INFO] - subject (first line): Update LICENSE.md
[INFO] Keeping github.com/stretchr/objx 1a9d0bb9f541897e62256577b352fdbc1fb4fd94
[INFO] Fetching golang.org/x/text/encoding into /opt/backend-oapi/vendor
[INFO] Fetching net/http/httptrace into /opt/backend-oapi/vendor
[ERROR] Error looking for net/http/httptrace: Cannot detect VCS
[INFO] Fetching camlistore.org/pkg/googlestorage into /opt/backend-oapi/vendor
[INFO] Fetching go4.org/syncutil/singleflight into /opt/backend-oapi/vendor
[INFO] Fetching golang.org/x/oauth2 into /opt/backend-oapi/vendor
[INFO] Fetching google.golang.org/appengine into /opt/backend-oapi/vendor
[INFO] Fetching github.com/shiena/ansicolor into /opt/backend-oapi/vendor
[ERROR] Error scanning github.com/aws/aws-sdk-go/service/applicationdiscoveryservice: open /opt/backend-oapi/vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice: no such file or directory
[ERROR] Error scanning github.com/aws/aws-sdk-go/service/applicationautoscaling: open /opt/backend-oapi/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling: no such file or directory
[ERROR] Error scanning github.com/aws/aws-sdk-go/service/cognitoidentityprovider: open /opt/backend-oapi/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/mvcc/backend: open /opt/backend-oapi/vendor/github.com/coreos/etcd/mvcc/backend: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/auth/authpb: open /opt/backend-oapi/vendor/github.com/coreos/etcd/auth/authpb: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes: open /opt/backend-oapi/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/mvcc/mvccpb: open /opt/backend-oapi/vendor/github.com/coreos/etcd/mvcc/mvccpb: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/pkg/tlsutil: open /opt/backend-oapi/vendor/github.com/coreos/etcd/pkg/tlsutil: no such file or directory
[INFO] Fetching github.com/cloudfoundry-incubator/candiedyaml into /opt/backend-oapi/vendor
[ERROR] Error scanning github.com/coreos/etcd/clientv3: open /opt/backend-oapi/vendor/github.com/coreos/etcd/clientv3: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/mvcc: open /opt/backend-oapi/vendor/github.com/coreos/etcd/mvcc: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/clientv3/concurrency: open /opt/backend-oapi/vendor/github.com/coreos/etcd/clientv3/concurrency: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/etcdctl/ctlv2: open /opt/backend-oapi/vendor/github.com/coreos/etcd/etcdctl/ctlv2: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/etcdctl/ctlv3: open /opt/backend-oapi/vendor/github.com/coreos/etcd/etcdctl/ctlv3: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/etcdctl/ctlv2/command: open /opt/backend-oapi/vendor/github.com/coreos/etcd/etcdctl/ctlv2/command: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/etcdctl/ctlv3/command: open /opt/backend-oapi/vendor/github.com/coreos/etcd/etcdctl/ctlv3/command: no such file or directory
[INFO] Fetching github.com/cpuguy83/go-md2man/md2man into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/cpuguy83/go-md2man to 71acacd42f85e5e82f70a55327789582a5200a90.
[INFO] Fetching github.com/inconshreveable/mousetrap into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[ERROR] Error scanning github.com/coreos/etcd/clientv3/mirror: open /opt/backend-oapi/vendor/github.com/coreos/etcd/clientv3/mirror: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/etcdserver/membership: open /opt/backend-oapi/vendor/github.com/coreos/etcd/etcdserver/membership: no such file or directory
[INFO] Fetching github.com/mattn/go-runewidth into /opt/backend-oapi/vendor
[ERROR] Error scanning github.com/coreos/etcd/etcdserver/api/v2http: open /opt/backend-oapi/vendor/github.com/coreos/etcd/etcdserver/api/v2http: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/proxy/httpproxy: open /opt/backend-oapi/vendor/github.com/coreos/etcd/proxy/httpproxy: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/proxy/tcpproxy: open /opt/backend-oapi/vendor/github.com/coreos/etcd/proxy/tcpproxy: no such file or directory
[INFO] Fetching github.com/beorn7/perks/quantile into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/beorn7/perks to b965b613227fddccbfffe13eae360ed3fa822f8d.
[INFO] Fetching github.com/prometheus/client_model/go into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/prometheus/client_model to fa8ad6fec33561be4280a8f0514318c79d7f6cb6.
[INFO] Fetching github.com/prometheus/common/expfmt into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/prometheus/common to ffe929a3f4c4faeaa10f2b9535c2b1be3ad15650.
[ERROR] Error scanning github.com/coreos/etcd/alarm: open /opt/backend-oapi/vendor/github.com/coreos/etcd/alarm: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/auth: open /opt/backend-oapi/vendor/github.com/coreos/etcd/auth: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/compactor: open /opt/backend-oapi/vendor/github.com/coreos/etcd/compactor: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/etcdserver/api/v2http/httptypes: open /opt/backend-oapi/vendor/github.com/coreos/etcd/etcdserver/api/v2http/httptypes: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/lease: open /opt/backend-oapi/vendor/github.com/coreos/etcd/lease: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/lease/leasehttp: open /opt/backend-oapi/vendor/github.com/coreos/etcd/lease/leasehttp: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/pkg/contention: open /opt/backend-oapi/vendor/github.com/coreos/etcd/pkg/contention: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/pkg/schedule: open /opt/backend-oapi/vendor/github.com/coreos/etcd/pkg/schedule: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/pkg/logutil: open /opt/backend-oapi/vendor/github.com/coreos/etcd/pkg/logutil: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/lease/leasepb: open /opt/backend-oapi/vendor/github.com/coreos/etcd/lease/leasepb: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/pkg/adt: open /opt/backend-oapi/vendor/github.com/coreos/etcd/pkg/adt: no such file or directory
[ERROR] Error scanning github.com/coreos/etcd/tools/benchmark/cmd: open /opt/backend-oapi/vendor/github.com/coreos/etcd/tools/benchmark/cmd: no such file or directory
[INFO] Fetching github.com/golang/glog into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/golang/glog to 44145f04b68cf362d9c4df2182967c2275eaefed.
[ERROR] Error scanning github.com/docker/docker/cli/flags: open /opt/backend-oapi/vendor/github.com/docker/docker/cli/flags: no such file or directory
[ERROR] Error scanning github.com/docker/docker/cliconfig/configfile: open /opt/backend-oapi/vendor/github.com/docker/docker/cliconfig/configfile: no such file or directory
[INFO] Fetching github.com/hashicorp/serf/serf into /opt/backend-oapi/vendor
[INFO] Fetching github.com/deckarep/golang-set into /opt/backend-oapi/vendor
[INFO] Fetching github.com/godbus/dbus into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/godbus/dbus to c7fdd8b5cd55e87b4e1f4e372cdb1db61dd6c66f.
[INFO] Fetching github.com/armon/go-radix into /opt/backend-oapi/vendor
[INFO] Fetching github.com/hashicorp/memberlist into /opt/backend-oapi/vendor
[ERROR] Error scanning github.com/docker/docker/autogen/winresources/docker: open /opt/backend-oapi/vendor/github.com/docker/docker/autogen/winresources/docker: no such file or directory
[ERROR] Error scanning github.com/docker/docker/autogen/winresources/dockerd: open /opt/backend-oapi/vendor/github.com/docker/docker/autogen/winresources/dockerd: no such file or directory
[ERROR] Error scanning github.com/docker/docker/pkg/listeners: open /opt/backend-oapi/vendor/github.com/docker/docker/pkg/listeners: no such file or directory
[INFO] Fetching github.com/philhofer/fwd into /opt/backend-oapi/vendor
[INFO] Found Godeps.json file in vendor/github.com/hashicorp/consul
[INFO] Fetching github.com/hashicorp/go-cleanhttp into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/hashicorp/go-cleanhttp to 875fb671b3ddc66f8e2f0acc33829c8cb989a38d.
[INFO] Setting version for github.com/hashicorp/serf to e4ec8cc423bbe20d26584b96efbeb9102e16d05f.
[ERROR] Error scanning golang.org/x/net/lex/httplex: open /opt/backend-oapi/vendor/golang.org/x/net/lex/httplex: no such file or directory
[ERROR] Error scanning golang.org/x/net/bpf: open /opt/backend-oapi/vendor/golang.org/x/net/bpf: no such file or directory
[INFO] Fetching github.com/russross/blackfriday into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/russross/blackfriday to 300106c228d52c8941d4b3de6054a6062a86dda3.
[INFO] Fetching bitbucket.org/ww/goautoneg into /opt/backend-oapi/vendor
[INFO] Setting version for bitbucket.org/ww/goautoneg to 75cd24fc2f2c2a2088577d12123ddee5f54e0675.
[INFO] Fetching github.com/matttproud/golang_protobuf_extensions/pbutil into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/matttproud/golang_protobuf_extensions to fc2b8d3a73c4867e51861bbdd5ae3c1f0869dd6a.
[INFO] Fetching github.com/miekg/pkcs11 into /opt/backend-oapi/vendor
[INFO] Fetching github.com/armon/go-metrics into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/armon/go-metrics to 345426c77237ece5dab0e1605c3e4b35c3f54757.
[INFO] Fetching github.com/hashicorp/go-msgpack/codec into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/hashicorp/go-msgpack to fa3f63826f7c23912c15263591e65d54d080b458.
[INFO] Fetching github.com/hashicorp/go-multierror into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/hashicorp/go-multierror to d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5.
[INFO] Fetching github.com/shurcooL/sanitized_anchor_name into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/shurcooL/sanitized_anchor_name to 10ef21a441db47d8b13ebcc5fd2310f636973c77.
[INFO] Fetching github.com/hashicorp/errwrap into /opt/backend-oapi/vendor
[INFO] Setting version for github.com/hashicorp/errwrap to 7554cd9344cec97297fa6649b055a8c98c2a1e55.
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for net/http/httptrace.
[WARN] Unable to checkout net/http/httptrace
[ERROR] Update failed for net/http/httptrace: Cannot detect VCS
[ERROR] Could not update packages: Cannot detect VCS
@veqryn
Copy link

veqryn commented May 19, 2016

I too am getting this error, with glide 0.10.2.

It only started happening after I added an additional subpackage to golang.org/x/net.
After adding that item to the glide.yaml file, I deleted the glide.lock file so that glide could regenerate it with the correct info. It was at that point when everything broke with the same error.

Here is the before yaml:

- package: golang.org/x/net
  subpackages:
  - context

Here is the after yaml:

- package: golang.org/x/net
  subpackages:
  - context
  - publicsuffix

Here is the error text:

+ glide install
[INFO] Lock file (glide.lock) does not exist. Performing update.
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for github.com/DavidHuie/gomigrate.
[INFO] Fetching updates for github.com/ant0ine/go-json-rest.
[INFO] Fetching updates for github.com/sendgrid/smtpapi-go.
[INFO] Fetching updates for github.com/Sirupsen/logrus.
[INFO] Fetching updates for github.com/davecgh/go-spew.
[INFO] Fetching updates for github.com/speps/go-hashids.
[INFO] Fetching updates for github.com/lib/pq.
[INFO] Fetching updates for github.com/aws/aws-sdk-go.
[INFO] Fetching updates for github.com/jmoiron/sqlx.
[INFO] Fetching updates for github.com/sendgrid/sendgrid-go.
[INFO] Fetching updates for github.com/garyburd/go-oauth.
[INFO] Fetching updates for github.com/golang/protobuf.
[INFO] Fetching updates for golang.org/x/text.
[INFO] Fetching updates for google.golang.org/grpc.
[INFO] Fetching updates for github.com/nabeken/aws-go-sqs.
[INFO] Fetching updates for github.com/dgrijalva/jwt-go.
[INFO] Fetching updates for github.com/robfig/cron.
[INFO] Fetching updates for github.com/asaskevich/govalidator.
[INFO] Fetching updates for golang.org/x/net.
[INFO] Setting version for github.com/golang/protobuf to 89238a3245885ada85d2f4fdbe76adae392df69b.
[INFO] Setting version for google.golang.org/grpc to b564fc98e00f97388fe2076ab6ea86d912085acc.
[INFO] Resolving imports
[INFO] Fetching updates for golang.org/x/sys.
[INFO] Fetching updates for github.com/hashicorp/go-multierror.
[INFO] Fetching updates for github.com/motemen/go-loghttp.
[INFO] Fetching updates for github.com/go-ini/ini.
[INFO] Fetching net/http/httptrace into /var/golang/src/vendor
[WARN] Error looking for net/http/httptrace: Cannot detect VCS
[INFO] Fetching updates for github.com/hashicorp/errwrap.
[INFO] Fetching updates for github.com/jmespath/go-jmespath.
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for net/http/httptrace.
[WARN] Unable to checkout net/http/httptrace
[ERROR] Update failed for net/http/httptrace: Cannot detect VCS
[ERROR] Could not update packages: Cannot detect VCS

Here is the full BEFORE glide.yaml:

package: .
import:
- package: github.com/DavidHuie/gomigrate
- package: github.com/Sirupsen/logrus
- package: github.com/ant0ine/go-json-rest
  subpackages:
  - rest
- package: github.com/asaskevich/govalidator
- package: github.com/aws/aws-sdk-go
  subpackages:
  - aws
  - aws/credentials
  - aws/session
  - service/sqs
- package: github.com/davecgh/go-spew
  subpackages:
  - spew
- package: github.com/dgrijalva/jwt-go
- package: github.com/garyburd/go-oauth
  subpackages:
  - oauth
- package: github.com/jmoiron/sqlx
- package: github.com/lib/pq
- package: github.com/nabeken/aws-go-sqs
  subpackages:
  - queue
  - queue/option
- package: github.com/robfig/cron
- package: github.com/sendgrid/sendgrid-go
- package: github.com/sendgrid/smtpapi-go
- package: github.com/speps/go-hashids
- package: golang.org/x/text
  subpackages:
  - language
- package: google.golang.org/grpc
  version: b564fc98e00f97388fe2076ab6ea86d912085acc
  subpackages:
  - .
  - credentials
- package: golang.org/x/net
  subpackages:
  - context
- package: github.com/golang/protobuf
  version: 89238a3245885ada85d2f4fdbe76adae392df69b
  subpackages:
  - proto

Here is the full BEFORE glide.lock file:

hash: 7ade2d20710e616d50c20935fc55b195865589dd780da0da71cc3dd754d98845
updated: 2016-05-17T22:23:10.51609493Z
imports:
- name: github.com/ant0ine/go-json-rest
  version: cfd0da14df1db088980175e1c3c7e77c11b90718
  subpackages:
  - rest
  - rest/trie
- name: github.com/asaskevich/govalidator
  version: 37d5f827499d1c346df42f2ad7fcb7f453833a57
- name: github.com/aws/aws-sdk-go
  version: 7bad22e9cff8295edef29844b4daa55ecfb057b9
  subpackages:
  - aws
  - aws/credentials
  - aws/session
  - service/sqs
  - service/sqs/sqsiface
  - aws/awserr
  - aws/awsutil
  - aws/client
  - aws/client/metadata
  - aws/request
  - private/protocol
  - private/protocol/query
  - private/signer/v4
  - aws/corehandlers
  - aws/defaults
  - private/endpoints
  - private/protocol/query/queryutil
  - private/protocol/xml/xmlutil
  - private/protocol/rest
  - aws/credentials/ec2rolecreds
  - aws/ec2metadata
- name: github.com/davecgh/go-spew
  version: 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d
  subpackages:
  - spew
- name: github.com/DavidHuie/gomigrate
  version: 1b90a570dc6b7aaaefa233eacf304be363a89603
- name: github.com/dgrijalva/jwt-go
  version: 40bd0f3b4891a9d7f121bfb7b8e8b0525625e262
- name: github.com/garyburd/go-oauth
  version: 719b069913e1151a73ea30d2ea4f90deda3ce234
  subpackages:
  - oauth
- name: github.com/go-ini/ini
  version: 12f418cc7edc5a618a51407b7ac1f1f512139df3
- name: github.com/golang/protobuf
  version: 89238a3245885ada85d2f4fdbe76adae392df69b
  subpackages:
  - proto
- name: github.com/hashicorp/errwrap
  version: 7554cd9344cec97297fa6649b055a8c98c2a1e55
- name: github.com/hashicorp/go-multierror
  version: d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5
- name: github.com/jmespath/go-jmespath
  version: 0b12d6b521d83fc7f755e7cfc1b1fbdd35a01a74
- name: github.com/jmoiron/sqlx
  version: 398dd5876282499cdfd4cb8ea0f31a672abe9495
  subpackages:
  - reflectx
- name: github.com/lib/pq
  version: ee1442bda7bd1b6a84e913bdb421cb1874ec629d
  subpackages:
  - oid
- name: github.com/motemen/go-loghttp
  version: f1552ae0d8e6d1980d67843f78b761a5fade8f67
  subpackages:
  - global
- name: github.com/nabeken/aws-go-sqs
  version: 251de2ff3f19156c15bc5ecd155cc3f904c4fe29
  subpackages:
  - queue
  - queue/option
- name: github.com/robfig/cron
  version: 8dc4916d418b9d0b2e23c9c1e68351dc9a1d6573
- name: github.com/sendgrid/sendgrid-go
  version: 6ea8b2b2d54b2e54efcf8668867289a1838d96fd
- name: github.com/sendgrid/smtpapi-go
  version: b616837442153d876b2d0b84d09e5e48a2aa91ee
- name: github.com/Sirupsen/logrus
  version: cd7d1bbe41066b6c1f19780f895901052150a575
- name: github.com/speps/go-hashids
  version: d1d57a886aa7e3ef6092b70ceab077e35ee8e0ce
- name: golang.org/x/net
  version: ef00b378c73f107bf44d5c9b69875255ce89b79a
  subpackages:
  - context
  - http2
  - trace
  - http2/hpack
  - internal/timeseries
- name: golang.org/x/sys
  version: d4feaf1a7e61e1d9e79e6c4e76c6349e9cab0a03
  subpackages:
  - unix
- name: golang.org/x/text
  version: f773ec03ce334298742df7f3108fc0d402646d22
  subpackages:
  - language
  - internal/tag
- name: google.golang.org/grpc
  version: b564fc98e00f97388fe2076ab6ea86d912085acc
  subpackages:
  - .
  - credentials
  - codes
  - grpclog
  - internal
  - metadata
  - naming
  - transport
  - peer
devImports: []

@veqryn
Copy link

veqryn commented May 19, 2016

I don't think it was a matter of adding that extra subpackage, I think it was an issue with having it regenerate the lock file, because even if I keep the same yaml file as before, but regenerate the lock file, then I still get the same error.

@veqryn
Copy link

veqryn commented May 19, 2016

This is the commit to golang.org/x/net that showed this problem in glide: golang/net@3b99394

Glide can't find net/http/httptrace in the stdlib and decides to try downloading it.

Seems the maker's of x/net are using a library in a future version of golang...

@sdboyer
Copy link
Member

sdboyer commented May 20, 2016

This may be related to some special handling logic that went in to glide in order to accommodate the core team's committing golang.org/x/netcontext into a vendor dir. I hadn't seen that most commit @veqryn referenced before, but maybe that's somehow created a new problem, or made the existing one worse.

@sdboyer
Copy link
Member

sdboyer commented May 20, 2016

...or, yeah, it's the issue with needing to deal with release tags, as well as build tags, when deciding what to analyze.

@radamsfc
Copy link
Author

radamsfc commented May 20, 2016

So what is interesting is that we have locked golang.org/x/net in glide.yaml

- package: golang.org/x/net
  version: 6acef71eb69611914f7a30939ea9f6e194c78172

which is from back in February. Is there anyway to force glide to use this and not HEAD for it's analysis? Is this a challenge specific to glide's implementation or would I hit this with native vendoring?

Any advice on how we can unblock development would be appreciated - Thanks!

@radamsfc
Copy link
Author

My temporary work around for now is to

go get -v github.com/someuser/arepo

Note the imported packages and add to glide.yaml (for book keeping - doesn't do anything)

- package: github.com/someuser/arepo
  version: e8e0db9016175449df0e9c4b6e6995a9433a395c
- package: github.com/anotheruser/secondrepo
  version: 99c3df83b51532e3615f851d8c2dbb638f5313bf

In the glide.lock I just add

- name: github.com/someuser/arepo
  version: e8e0db9016175449df0e9c4b6e6995a9433a395c
- name: github.com/anotheruser/secondrepo
  version: 99c3df83b51532e3615f851d8c2dbb638f5313bf

A glide install generates a warning for now but at least creates the necessary vendor directory.

@mattfarina
Copy link
Member

@radamsfc Thanks for a fantastic bug report.

Glide should have been using 6acef71eb69611914f7a30939ea9f6e194c78172 of golang.org/x/net when scanning. I wonder if another one of the imports is referencing this new package.

New additions to the standard library are rare, thankfully. I'll fix this shortly.

@mattfarina
Copy link
Member

@radamsfc can you test the PR on #434 of Glide. I think it's fixed there.

@kenkouot
Copy link

@mattfarina I built a version from your fix and it resolved our issues with net/http/trace.

mattfarina added a commit that referenced this issue May 24, 2016
Fixed #432: Issue with new net/http/httptrace std lib package
@radamsfc
Copy link
Author

Thanks :)

@ash2k
Copy link

ash2k commented Jun 2, 2016

Could someone release a fixed version please?

@ebuchman
Copy link

ebuchman commented Jun 22, 2016

I'm still having this issue with latest master on go1.6. Is it supposed to be fixed?

@VoR0220
Copy link

VoR0220 commented Aug 30, 2016

same...I am running into problems here with this on just the install command. Same net/http/httptrace problem.

@intoxicated
Copy link

looks like patch was only for http/trace but i am having trouble with golang.org/x/net/publicsuffix..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants