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

Getting issue making the project #2086

Closed
olivermccarthy opened this issue Oct 21, 2019 · 5 comments
Closed

Getting issue making the project #2086

olivermccarthy opened this issue Oct 21, 2019 · 5 comments
Labels
triage/support Indicates an issue that is a support question.

Comments

@olivermccarthy
Copy link

olivermccarthy commented Oct 21, 2019

Hi following guielines I hit this issue trying to make the project

make tidy
github.com/operator-framework/operator-sdk/internal/olm/client imports
        k8s.io/kubernetes/pkg/controller/deployment/util imports
        k8s.io/kubernetes/pkg/controller imports
        k8s.io/kubernetes/pkg/serviceaccount tested by
        k8s.io/kubernetes/pkg/serviceaccount.test imports
        k8s.io/kubernetes/pkg/controller/serviceaccount imports
        k8s.io/kubernetes/pkg/registry/core/secret imports
        k8s.io/apiserver/pkg/registry/generic imports
        k8s.io/apiserver/pkg/storage/storagebackend/factory tested by
        k8s.io/apiserver/pkg/storage/storagebackend/factory.test imports
        github.com/coreos/etcd/integration imports
        github.com/coreos/etcd/client imports
        github.com/ugorji/go/codec: ambiguous import: found github.com/ugorji/go/codec in multiple modules:
        github.com/ugorji/go v1.1.1 (/root/testgo/pkg/mod/github.com/ugorji/go@v1.1.1/codec)
        github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 (/root/testgo/pkg/mod/github.com/ugorji/go/codec@v0.0.0-20181204163529-d75b2dcb6bc8)
Makefile:54: recipe for target 'tidy' failed
make: *** [tidy] Error 1

Type of question

Are you asking about community best practices, how to implement a specific feature, or about general context and help around the operator-sdk?

Question

What did you do?
A clear and concise description of the steps you took (or insert a code snippet).
https://github.com/operator-framework/operator-sdk/blob/master/doc/user/install-operator-sdk.md

root@joe-test2-master:~# go get -d github.com/operator-framework/operator-sdk
package github.com/operator-framework/operator-sdk: no Go files in /root/testgo/src/github.com/operator-framework/operator-sdk
root@joe-test2-master:~# cd $GOPATH/src/github.com/operator-framework/operator-sdk
root@joe-test2-master:~/testgo/src/github.com/operator-framework/operator-sdk# make tidy
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/spf13/afero v1.2.2
go: downloading k8s.io/helm v2.14.1+incompatible
go: downloading k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
go: downloading sigs.k8s.io/controller-runtime v0.2.0
go: downloading github.com/rogpeppe/go-internal v1.3.0
go: downloading github.com/spf13/pflag v1.0.3
go: extracting github.com/rogpeppe/go-internal v1.3.0
go: extracting github.com/spf13/pflag v1.0.3
go: extracting github.com/spf13/afero v1.2.2
go: extracting sigs.k8s.io/controller-runtime v0.2.0
go: downloading k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d
go: downloading k8s.io/klog v0.3.3
go: extracting github.com/pkg/errors v0.8.1
go: extracting k8s.io/klog v0.3.3
go: extracting k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
go: extracting k8s.io/helm v2.14.1+incompatible
go: extracting k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d
go: downloading github.com/spf13/cobra v0.0.5
go: downloading gopkg.in/yaml.v2 v2.2.2
go: downloading golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4
go: downloading k8s.io/cli-runtime v0.0.0-20190409023024-d644b00f3b79
go: extracting gopkg.in/yaml.v2 v2.2.2
go: downloading k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b
go: extracting github.com/spf13/cobra v0.0.5
go: extracting k8s.io/cli-runtime v0.0.0-20190409023024-d644b00f3b79
go: downloading k8s.io/gengo v0.0.0-20190327210449-e17681d19d3a
go: downloading k8s.io/kubernetes v1.14.1
go: downloading golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
go: downloading go.uber.org/zap v1.10.0
go: extracting k8s.io/gengo v0.0.0-20190327210449-e17681d19d3a
go: extracting go.uber.org/zap v1.10.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: extracting golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4
go: extracting github.com/mitchellh/go-homedir v1.1.0
go: extracting k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b
go: extracting golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
go: downloading github.com/operator-framework/operator-lifecycle-manager v0.0.0-20190605231540-b8a4faf68e36
go: downloading github.com/golang/protobuf v1.3.1
go: downloading sigs.k8s.io/controller-tools v0.2.2-0.20190919011008-6ed4ff330711
go: downloading go.uber.org/multierr v1.1.0
go: downloading golang.org/x/sys v0.0.0-20190515120540-06a5c4944438
go: extracting go.uber.org/multierr v1.1.0
go: downloading github.com/stretchr/testify v1.3.0
go: downloading k8s.io/kube-openapi v0.0.0-20190510232812-a01b7d5d6c22
go: downloading github.com/imdario/mergo v0.3.7
go: extracting sigs.k8s.io/controller-tools v0.2.2-0.20190919011008-6ed4ff330711
go: downloading github.com/rubenv/sql-migrate v0.0.0-20190618074426-f4d34eae5a5c
go: extracting github.com/golang/protobuf v1.3.1
go: downloading go.uber.org/atomic v1.4.0
go: extracting github.com/imdario/mergo v0.3.7
go: downloading github.com/spf13/viper v1.3.2
go: extracting github.com/rubenv/sql-migrate v0.0.0-20190618074426-f4d34eae5a5c
go: extracting github.com/stretchr/testify v1.3.0
go: extracting go.uber.org/atomic v1.4.0
go: downloading golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/go-logr/logr v0.1.0
go: extracting github.com/spf13/viper v1.3.2
go: extracting github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/hashicorp/hcl v1.0.0
go: extracting github.com/go-logr/logr v0.1.0
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: extracting k8s.io/kube-openapi v0.0.0-20190510232812-a01b7d5d6c22
go: extracting golang.org/x/sys v0.0.0-20190515120540-06a5c4944438
go: downloading k8s.io/code-generator v0.0.0-20190311093542-50b561225d70
go: extracting github.com/operator-framework/operator-lifecycle-manager v0.0.0-20190605231540-b8a4faf68e36
go: extracting github.com/davecgh/go-spew v1.1.1
go: extracting github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/mattn/go-sqlite3 v1.10.0
go: extracting github.com/hashicorp/hcl v1.0.0
go: downloading google.golang.org/grpc v1.19.1
go: downloading github.com/DATA-DOG/go-sqlmock v1.3.3
go: extracting k8s.io/code-generator v0.0.0-20190311093542-50b561225d70
go: extracting github.com/DATA-DOG/go-sqlmock v1.3.3
go: downloading github.com/coreos/prometheus-operator v0.29.0
go: downloading gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
go: extracting golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c
go: extracting google.golang.org/grpc v1.19.1
go: extracting gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading sigs.k8s.io/yaml v1.1.0
go: downloading github.com/prometheus/client_golang v1.0.0
go: extracting github.com/mattn/go-sqlite3 v1.10.0
go: extracting github.com/inconshreveable/mousetrap v1.0.0
go: extracting sigs.k8s.io/yaml v1.1.0
go: downloading github.com/operator-framework/operator-registry v1.1.1
go: downloading golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
go: extracting github.com/prometheus/client_golang v1.0.0
go: downloading k8s.io/kube-state-metrics v1.7.2
go: extracting github.com/operator-framework/operator-registry v1.1.1
go: downloading github.com/iancoleman/strcase v0.0.0-20180726023541-3605ed457bf7
go: downloading github.com/kr/pretty v0.1.0
go: downloading github.com/coreos/go-semver v0.2.0
go: extracting k8s.io/kube-state-metrics v1.7.2
go: downloading github.com/prometheus/common v0.4.1
go: extracting github.com/kr/pretty v0.1.0
go: extracting github.com/iancoleman/strcase v0.0.0-20180726023541-3605ed457bf7
go: extracting github.com/coreos/go-semver v0.2.0
go: downloading k8s.io/utils v0.0.0-20190506122338-8fab8cb257d5
go: downloading sigs.k8s.io/kustomize v2.0.3+incompatible
go: downloading github.com/gogo/protobuf v1.2.0
go: extracting github.com/coreos/prometheus-operator v0.29.0
go: extracting github.com/prometheus/common v0.4.1
go: extracting k8s.io/utils v0.0.0-20190506122338-8fab8cb257d5
go: downloading golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
go: downloading github.com/lib/pq v1.1.1
go: extracting sigs.k8s.io/kustomize v2.0.3+incompatible
go: extracting golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
go: downloading github.com/jmoiron/sqlx v1.2.0
go: extracting github.com/lib/pq v1.1.1
go: downloading github.com/gobwas/glob v0.2.3
go: downloading github.com/technosophos/moniker v0.0.0-20180509230615-a5dbd03a2245
go: extracting github.com/jmoiron/sqlx v1.2.0
go: downloading github.com/googleapis/gnostic v0.2.0
go: extracting github.com/gobwas/glob v0.2.3
go: downloading github.com/onsi/ginkgo v1.8.0
go: downloading github.com/go-openapi/spec v0.19.0
go: extracting github.com/technosophos/moniker v0.0.0-20180509230615-a5dbd03a2245
go: extracting github.com/onsi/ginkgo v1.8.0
go: extracting github.com/go-openapi/spec v0.19.0
go: downloading github.com/ghodss/yaml v1.0.0
go: extracting github.com/googleapis/gnostic v0.2.0
go: downloading github.com/go-logr/zapr v0.1.1
go: downloading github.com/gobuffalo/packr v1.30.1
go: extracting github.com/gogo/protobuf v1.2.0
go: extracting golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
go: extracting github.com/ghodss/yaml v1.0.0
go: extracting github.com/go-logr/zapr v0.1.1
go: downloading github.com/markbates/inflect v1.0.4
go: downloading github.com/go-openapi/jsonpointer v0.19.0
go: extracting github.com/gobuffalo/packr v1.30.1
go: downloading github.com/blang/semver v3.5.1+incompatible
go: extracting github.com/go-openapi/jsonpointer v0.19.0
go: extracting github.com/markbates/inflect v1.0.4
go: downloading github.com/Azure/go-autorest v11.7.0+incompatible
go: downloading github.com/go-openapi/jsonreference v0.19.0
go: extracting github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/pmezard/go-difflib v1.0.0
go: extracting github.com/Azure/go-autorest v11.7.0+incompatible
go: extracting github.com/go-openapi/jsonreference v0.19.0
go: extracting github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/martinlindhe/base36 v0.0.0-20180729042928-5cda0030da17
go: downloading github.com/beorn7/perks v1.0.0
go: extracting github.com/martinlindhe/base36 v0.0.0-20180729042928-5cda0030da17
go: downloading sigs.k8s.io/testing_frameworks v0.1.1
go: extracting github.com/beorn7/perks v1.0.0
go: downloading github.com/modern-go/reflect2 v1.0.1
go: extracting sigs.k8s.io/testing_frameworks v0.1.1
go: downloading k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8
go: extracting github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/go-openapi/swag v0.19.0
go: extracting github.com/go-openapi/swag v0.19.0
go: extracting k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/BurntSushi/toml v0.3.1
go: downloading github.com/json-iterator/go v1.1.6
go: downloading github.com/spf13/cast v1.3.0
go: extracting github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/Masterminds/semver v1.4.2
go: extracting github.com/spf13/cast v1.3.0
go: extracting github.com/BurntSushi/toml v0.3.1
go: extracting github.com/json-iterator/go v1.1.6
go: downloading github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
go: downloading github.com/gophercloud/gophercloud v0.2.0
go: extracting github.com/Masterminds/semver v1.4.2
go: extracting github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
go: downloading github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a
go: extracting github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a
go: downloading github.com/cyphar/filepath-securejoin v0.2.2
go: extracting github.com/cyphar/filepath-securejoin v0.2.2
go: downloading github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
go: extracting github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
go: downloading github.com/sergi/go-diff v1.0.0
go: extracting github.com/gophercloud/gophercloud v0.2.0
go: extracting github.com/sergi/go-diff v1.0.0
go: downloading github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983
go: extracting github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983
go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58
go: extracting golang.org/x/sync v0.0.0-20190423024810-112230192c58
go: downloading github.com/google/go-cmp v0.3.0
go: downloading gopkg.in/fsnotify.v1 v1.4.7
go: extracting gopkg.in/fsnotify.v1 v1.4.7
go: downloading github.com/onsi/gomega v1.5.0
go: extracting github.com/google/go-cmp v0.3.0
go: downloading github.com/gobuffalo/envy v1.7.0
go: extracting github.com/gobuffalo/envy v1.7.0
go: extracting github.com/onsi/gomega v1.5.0
go: downloading github.com/gobuffalo/flect v0.1.5
go: extracting github.com/gobuffalo/flect v0.1.5
go: downloading github.com/emicklei/go-restful v2.9.3+incompatible
go: extracting github.com/emicklei/go-restful v2.9.3+incompatible
go: downloading gopkg.in/inf.v0 v0.9.1
go: extracting gopkg.in/inf.v0 v0.9.1
go: downloading github.com/prometheus/procfs v0.0.2
go: extracting github.com/prometheus/procfs v0.0.2
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: extracting github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c
go: extracting github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c
go: downloading github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef
go: extracting k8s.io/kubernetes v1.14.1
go: extracting github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef
go: downloading github.com/sirupsen/logrus v1.4.2
go: extracting github.com/sirupsen/logrus v1.4.2
go: downloading github.com/google/gofuzz v1.0.0
go: extracting github.com/google/gofuzz v1.0.0
go: downloading github.com/go-sql-driver/mysql v1.4.1
go: extracting github.com/go-sql-driver/mysql v1.4.1
go: downloading github.com/hashicorp/golang-lru v0.5.1
go: extracting github.com/hashicorp/golang-lru v0.5.1
go: downloading golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
go: extracting golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
go: downloading gopkg.in/gorp.v1 v1.7.2
go: extracting gopkg.in/gorp.v1 v1.7.2
go: downloading github.com/gobuffalo/packd v0.3.0
go: extracting github.com/gobuffalo/packd v0.3.0
go: downloading github.com/kr/text v0.1.0
go: extracting github.com/kr/text v0.1.0
go: downloading github.com/gregjones/httpcache v0.0.0-20190203031600-7a902570cb17
go: extracting github.com/gregjones/httpcache v0.0.0-20190203031600-7a902570cb17
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading google.golang.org/appengine v1.5.0
go: extracting google.golang.org/appengine v1.5.0
go: downloading google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107
go: extracting google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107
go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: downloading github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d
go: downloading k8s.io/apiserver v0.0.0-20190409021813-1ec86e4da56c
go: downloading gomodules.xyz/jsonpatch/v2 v2.0.1
go: downloading github.com/hpcloud/tail v1.0.0
go: downloading github.com/pelletier/go-toml v1.3.0
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading cloud.google.com/go v0.37.2
go: extracting github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d
go: extracting gomodules.xyz/jsonpatch/v2 v2.0.1
go: extracting github.com/evanphx/json-patch v4.5.0+incompatible
go: extracting github.com/pelletier/go-toml v1.3.0
go: extracting github.com/hpcloud/tail v1.0.0
go: extracting github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: downloading k8s.io/kube-aggregator v0.0.0-20190409022021-00b8e31abe9d
go: downloading github.com/magiconair/properties v1.8.0
go: extracting github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.2
go: downloading github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de
go: downloading github.com/pborman/uuid v1.2.0
go: downloading github.com/mattn/go-isatty v0.0.8
go: extracting k8s.io/apiserver v0.0.0-20190409021813-1ec86e4da56c
go: extracting github.com/konsorten/go-windows-terminal-sequences v1.0.2
go: extracting github.com/mattn/go-isatty v0.0.8
go: extracting github.com/magiconair/properties v1.8.0
go: extracting github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de
go: downloading github.com/Masterminds/sprig v0.0.0-20190301161902-9f8fceff796f
go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: downloading github.com/elazarl/goproxy v0.0.0-20190421051319-9d40249d3c2f
go: extracting github.com/pborman/uuid v1.2.0
go: extracting k8s.io/kube-aggregator v0.0.0-20190409022021-00b8e31abe9d
go: downloading github.com/golang/mock v1.2.1-0.20190329180013-73dc87cad333
go: downloading github.com/ziutek/mymysql v1.5.4
go: extracting github.com/Masterminds/sprig v0.0.0-20190301161902-9f8fceff796f
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: extracting github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: extracting github.com/golang/mock v1.2.1-0.20190329180013-73dc87cad333
go: downloading go.opencensus.io v0.20.2
go: downloading github.com/russross/blackfriday v1.5.2
go: extracting github.com/ziutek/mymysql v1.5.4
go: downloading gopkg.in/square/go-jose.v2 v2.3.0
go: extracting cloud.google.com/go v0.37.2
go: extracting github.com/elazarl/goproxy v0.0.0-20190421051319-9d40249d3c2f
go: extracting github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/peterbourgon/diskv v2.0.1+incompatible
go: downloading github.com/docker/docker v0.7.3-0.20190409004836-2e1cfbca03da
go: downloading github.com/joho/godotenv v1.3.0
go: extracting go.opencensus.io v0.20.2
go: extracting github.com/peterbourgon/diskv v2.0.1+incompatible
go: extracting github.com/joho/godotenv v1.3.0
go: extracting github.com/russross/blackfriday v1.5.2
go: downloading github.com/Masterminds/goutils v1.1.0
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20171113091838-e9091a26100e
go: extracting gopkg.in/square/go-jose.v2 v2.3.0
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading vbom.ml/util v0.0.0-20180919145318-efcd4e0f9787
go: downloading github.com/google/btree v1.0.0
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/elazarl/goproxy/ext v0.0.0-20190421051319-9d40249d3c2f
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: extracting github.com/MakeNowJust/heredoc v0.0.0-20171113091838-e9091a26100e
go: extracting github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: extracting github.com/Masterminds/goutils v1.1.0
go: extracting vbom.ml/util v0.0.0-20180919145318-efcd4e0f9787
go: extracting github.com/mitchellh/go-wordwrap v1.0.0
go: extracting github.com/google/uuid v1.1.1
go: downloading contrib.go.opencensus.io/exporter/ocagent v0.4.12
go: downloading github.com/chai2010/gettext-go v0.0.0-20170215093142-bf70f2a70fb1
go: downloading github.com/huandu/xstrings v1.2.0
go: downloading github.com/fatih/camelcase v1.0.0
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: extracting github.com/google/btree v1.0.0
go: extracting github.com/elazarl/goproxy/ext v0.0.0-20190421051319-9d40249d3c2f
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: downloading k8s.io/cloud-provider v0.0.0-20190409023720-1bc0c81fa51d
go: downloading github.com/xlab/handysort v0.0.0-20150421192137-fb3537ed64a1
go: extracting github.com/fatih/camelcase v1.0.0
go: extracting contrib.go.opencensus.io/exporter/ocagent v0.4.12
go: extracting github.com/huandu/xstrings v1.2.0
go: downloading github.com/coreos/etcd v3.3.12+incompatible
go: downloading github.com/census-instrumentation/opencensus-proto v0.2.0
go: extracting github.com/xlab/handysort v0.0.0-20150421192137-fb3537ed64a1
go: extracting k8s.io/cloud-provider v0.0.0-20190409023720-1bc0c81fa51d
go: extracting gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: downloading google.golang.org/api v0.3.2
go: extracting github.com/docker/distribution v2.7.1+incompatible
go: extracting github.com/census-instrumentation/opencensus-proto v0.2.0
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.8.5
go: downloading github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f
go: extracting github.com/chai2010/gettext-go v0.0.0-20170215093142-bf70f2a70fb1
go: extracting github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f
go: downloading github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: extracting github.com/grpc-ecosystem/grpc-gateway v1.8.5
go: extracting github.com/docker/docker v0.7.3-0.20190409004836-2e1cfbca03da
go: extracting github.com/opencontainers/go-digest v1.0.0-rc1
go: extracting github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
go: extracting github.com/coreos/etcd v3.3.12+incompatible
go: downloading github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5
go: downloading github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2
go: downloading github.com/jonboulle/clockwork v0.1.0
go: downloading github.com/ugorji/go v1.1.1
go: downloading github.com/soheilhy/cmux v0.1.4
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.0.0
go: downloading github.com/coreos/bbolt v1.3.3
go: downloading github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
go: extracting github.com/soheilhy/cmux v0.1.4
go: extracting github.com/jonboulle/clockwork v0.1.0
go: extracting github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2
go: extracting github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5
go: downloading gotest.tools v2.2.0+incompatible
go: extracting github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
go: downloading github.com/gorilla/websocket v1.4.0
go: extracting github.com/coreos/bbolt v1.3.3
go: extracting github.com/grpc-ecosystem/go-grpc-middleware v1.0.0
go: downloading go.etcd.io/bbolt v1.3.3
go: extracting github.com/ugorji/go v1.1.1
go: extracting gotest.tools v2.2.0+incompatible
go: downloading github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8
go: extracting go.etcd.io/bbolt v1.3.3
go: extracting github.com/gorilla/websocket v1.4.0
go: extracting github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8
go: extracting google.golang.org/api v0.3.2
github.com/operator-framework/operator-sdk/internal/olm/client imports
        k8s.io/kubernetes/pkg/controller/deployment/util imports
        k8s.io/kubernetes/pkg/controller imports
        k8s.io/kubernetes/pkg/serviceaccount tested by
        k8s.io/kubernetes/pkg/serviceaccount.test imports
        k8s.io/kubernetes/pkg/controller/serviceaccount imports
        k8s.io/kubernetes/pkg/registry/core/secret imports
        k8s.io/apiserver/pkg/registry/generic imports
        k8s.io/apiserver/pkg/storage/storagebackend/factory tested by
        k8s.io/apiserver/pkg/storage/storagebackend/factory.test imports
        github.com/coreos/etcd/integration imports
        github.com/coreos/etcd/client imports
        github.com/ugorji/go/codec: ambiguous import: found github.com/ugorji/go/codec in multiple modules:
        github.com/ugorji/go v1.1.1 (/root/testgo/pkg/mod/github.com/ugorji/go@v1.1.1/codec)
        github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 (/root/testgo/pkg/mod/github.com/ugorji/go/codec@v0.0.0-20181204163529-d75b2dcb6bc8)
Makefile:54: recipe for target 'tidy' failed
make: *** [tidy] Error 1
root@joe-test2-master:~/testgo/src/github.com/operator-framework/operator-sdk# go version
go version go1.13.3 linux/amd64

What did you expect to see?
A clear and concise description of what you expected to happen (or insert a code snippet).

What did you see instead? Under which circumstances?
A clear and concise description of what you expected to happen (or insert a code snippet).

Environment

  • operator-sdk version:

    insert release or Git SHA here

  • Kubernetes version information:

    insert output of kubectl version here

  • Kubernetes cluster kind:

Additional context
Add any other context about the question here.

@camilamacedo86
Copy link
Contributor

camilamacedo86 commented Oct 21, 2019

Hi @olivermccarthy,

What were the steps that you followed? Where are you running make tidy? Is it in a project buit with or in the operator-sdk cloned dir? What go version are you using? Could you please edit the first comment here and answer all questions for we are able to help with?

@asmacdo asmacdo added the triage/support Indicates an issue that is a support question. label Oct 21, 2019
@olivermccarthy
Copy link
Author

I fixed make tidy by editing the downloaded packages and adding version to the include
This may cause me further hastle down the line

cd ../go/pkg/mod/github.com/coreos/etcd\@v3.3.12+incompatible/client
 grep ugor *
keys.generated.go:      codec1978 "github.com/ugorji/go/codec@v1.1.1"
keys.go:        "github.com/ugorji/go/codec@v1.1.1"

@joelanford
Copy link
Member

joelanford commented Oct 21, 2019

@olivermccarthy I recall that this became a problem in on Go 1.13. Can you switch back to Go 1.12 and try again?

#1949 Should fix this when bumping to Go 1.13.

@olivermccarthy
Copy link
Author

Will do

@camilamacedo86
Copy link
Contributor

Hi @olivermccarthy,

I am closing this one since it shows sorted.
Please, feel free to re-open if you see that is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/support Indicates an issue that is a support question.
Projects
None yet
Development

No branches or pull requests

4 participants