-
Notifications
You must be signed in to change notification settings - Fork 319
Closed
Description
In the middle of updating vendor, found dep ensure is already broken without any modification to codes:
k8s.io/ingress-gce$ dep ensure -v
Warning: the following project(s) have [[constraint]] stanzas in Gopkg.toml:
✗ github.com/docker/distribution
✗ github.com/opencontainers/go-digest
✗ github.com/spf13/pflag
However, these projects are not direct dependencies of the current project:
they are not imported in any .go files, nor are they in the 'required' list in
Gopkg.toml. Dep only applies [[constraint]] rules to direct dependencies, so
these rules will have no effect.
Either import/require packages from these projects so that they become direct
dependencies, or convert each [[constraint]] to an [[override]] to enforce rules
on these projects, if they happen to be transitive dependencies,
Root project is "k8s.io/ingress-gce"
23 transitively valid internal packages
41 external packages imported from 8 projects
(0) ✓ select (root)
(1) ? attempt github.com/golang/glog with 1 pkgs; at least 1 versions to try
(1) try github.com/golang/glog@23def4e6c14b4da8ac2ed8007337bc5eb5007998
(1) ✓ select github.com/golang/glog@23def4e6c14b4da8ac2ed8007337bc5eb5007998 w/1 pkgs
(2) ? attempt github.com/gorilla/websocket with 1 pkgs; at least 1 versions to try
(2) try github.com/gorilla/websocket@v1.2.0
(2) ✓ select github.com/gorilla/websocket@v1.2.0 w/1 pkgs
(3) ? attempt github.com/prometheus/client_golang with 1 pkgs; at least 1 versions to try
(3) try github.com/prometheus/client_golang@v0.8.0
(3) ✓ select github.com/prometheus/client_golang@v0.8.0 w/2 pkgs
(4) ? attempt github.com/beorn7/perks with 1 pkgs; at least 1 versions to try
(4) try github.com/beorn7/perks@master
(4) ✓ select github.com/beorn7/perks@master w/1 pkgs
(5) ? attempt github.com/prometheus/client_model with 1 pkgs; at least 1 versions to try
(5) try github.com/prometheus/client_model@master
(5) ✓ select github.com/prometheus/client_model@master w/1 pkgs
(6) ? attempt github.com/golang/protobuf with 1 pkgs; at least 1 versions to try
(6) try github.com/golang/protobuf@master
(6) ✓ select github.com/golang/protobuf@master w/1 pkgs
(7) ? attempt github.com/prometheus/common with 2 pkgs; at least 1 versions to try
(7) try github.com/prometheus/common@master
(7) ✓ select github.com/prometheus/common@master w/3 pkgs
(8) ? attempt github.com/matttproud/golang_protobuf_extensions with 1 pkgs; at least 1 versions to try
(8) try github.com/matttproud/golang_protobuf_extensions@v1.0.0
(8) ✓ select github.com/matttproud/golang_protobuf_extensions@v1.0.0 w/1 pkgs
(9) ? attempt k8s.io/kubernetes with 6 pkgs; at least 1 versions to try
(9) try k8s.io/kubernetes@7652c252d4ce2aea1563853bef0438769c5781fd
(9) ✓ select k8s.io/kubernetes@7652c252d4ce2aea1563853bef0438769c5781fd w/41 pkgs
(10) ? revisit github.com/prometheus/client_golang to add 1 pkgs
(10) ✓ include 1 more pkgs from github.com/prometheus/client_golang@v0.8.0
(10) ? attempt cloud.google.com/go with 1 pkgs; at least 1 versions to try
(11) try cloud.google.com/go@v0.17.0
(11) ✓ select cloud.google.com/go@v0.17.0 w/1 pkgs
(11) ? attempt github.com/davecgh/go-spew with 1 pkgs; at least 1 versions to try
(12) try github.com/davecgh/go-spew@v1.1.0
(12) ✓ select github.com/davecgh/go-spew@v1.1.0 w/1 pkgs
(12) ? attempt github.com/dgrijalva/jwt-go with 1 pkgs; at least 1 versions to try
(13) try github.com/dgrijalva/jwt-go@v3.1.0
(13) ✓ select github.com/dgrijalva/jwt-go@v3.1.0 w/1 pkgs
(13) ? attempt github.com/docker/distribution with 1 pkgs; at least 1 versions to try
(14) try github.com/docker/distribution@edc3ab29cdff8694dd6feb85cfeb4b5f1b38ed9c
(14) ✓ select github.com/docker/distribution@edc3ab29cdff8694dd6feb85cfeb4b5f1b38ed9c w/2 pkgs
(14) ? attempt golang.org/x/oauth2 with 2 pkgs; at least 1 versions to try
(15) try golang.org/x/oauth2@master
(15) ✓ select golang.org/x/oauth2@master w/5 pkgs
(15) ? attempt golang.org/x/net with 2 pkgs; at least 1 versions to try
(16) try golang.org/x/net@master
(16) ✓ select golang.org/x/net@master w/2 pkgs
(16) ? attempt github.com/prometheus/procfs with 1 pkgs; at least 1 versions to try
(17) try github.com/prometheus/procfs@master
(17) ✓ select github.com/prometheus/procfs@master w/2 pkgs
(17) ? attempt github.com/golang/groupcache with 1 pkgs; at least 1 versions to try
(18) try github.com/golang/groupcache@master
(18) ✓ select github.com/golang/groupcache@master w/1 pkgs
(18) ? attempt google.golang.org/api with 2 pkgs; at least 1 versions to try
(19) try google.golang.org/api@373a4c220f5c90e5b7ff7101779c5be385d171be
(19) ✓ select google.golang.org/api@373a4c220f5c90e5b7ff7101779c5be385d171be w/5 pkgs
(20) ← no more versions of k8s.io/apiextensions-apiserver to try; begin backtrack
(19) ← backtrack: no more versions of google.golang.org/api to try
(18) ← backtrack: no more versions of github.com/golang/groupcache to try
(17) ← backtrack: no more versions of github.com/prometheus/procfs to try
(16) ← backtrack: no more versions of golang.org/x/net to try
(15) ← backtrack: no more versions of golang.org/x/oauth2 to try
(14) ← backtrack: no more versions of github.com/docker/distribution to try
(13) ← backtrack: no more versions of github.com/dgrijalva/jwt-go to try
(12) ← backtrack: no more versions of github.com/davecgh/go-spew to try
(11) ← backtrack: no more versions of cloud.google.com/go to try
(10) ← backtrack: popped 1 pkgs from github.com/prometheus/client_golang
(9) ← backtrack: no more versions of k8s.io/kubernetes to try
(8) ← backtrack: no more versions of github.com/matttproud/golang_protobuf_extensions to try
(7) ← backtrack: no more versions of github.com/prometheus/common to try
(6) ← backtrack: no more versions of github.com/golang/protobuf to try
(5) ← backtrack: no more versions of github.com/prometheus/client_model to try
(4) ← backtrack: no more versions of github.com/beorn7/perks to try
(3) ← backtrack: no more versions of github.com/prometheus/client_golang to try
(2) ← backtrack: no more versions of github.com/gorilla/websocket to try
(1) ← backtrack: no more versions of github.com/golang/glog to try
✗ solving failed
Solver wall times by segment:
b-source-exists: 8.563369086s
b-list-pkgs: 4.526788677s
b-gmal: 1.783593559s
b-deduce-proj-root: 1.168543572s
select-atom: 140.675344ms
unselect: 132.55547ms
satisfy: 120.609012ms
select-root: 2.532885ms
new-atom: 1.225076ms
backtrack: 251.339µs
other: 60.042µs
add-atom: 3.987µs
TOTAL: 16.440208049s
Solving failure: exit status 128
/assign
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels