What did you do?
Following the instructions for installation in the QuickStart.
The make dep succeeds, but running make install gives errors about finding the required dependencies.
What did you expect to see?
A successful build
What did you see instead? Under which circumstances?
For example:
make install
...SNIP...
vendor/golang.org/x/sys/unix/affinity_linux.go:10:2: cannot find package "unsafe" in any of:
/home/GOPATH/src/github.com/operator-framework/operator-sdk/vendor/unsafe (vendor tree)
/home/GOROOT/src/unsafe (from $GOROOT)
/home/GOPATH/src/unsafe (from $GOPATH)
...SNIP...
Similar messages for many others. I checked the paths listed there and the listed dependencies are missing from the
vendor directory, though I am not sure why/how. A complete list of missing vendored items is below:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.2", GitCommit:"cff46ab41ff0bb44d8584413b598ad8360ec1def", GitTreeState:"clean", BuildDate:"2019-01-10T23:35:51Z", GoVersion:"go1.11.4", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server 127.0.0.1:8443 was refused - did you specify the right host or port?
Kubernetes cluster kind: OpenShift 3.11
Are you writing your operator in ansible, helm, or go? Have not gotten that far yet.
Possible Solution
It looks like there are some dependencies which are expected to be there and are not explicitly defined. Not sure how to accomplish that as I am relatively new to Go.
Additional context
OS: Ubuntu 18.04
Go Version: 1.10.4
dep Version: 0.50.0
Make version: GNU Make 4.1
$ dpkg -l golang*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================================-===============================-===============================-===============================================================================================================
ii golang 2:1.10~4ubuntu1 amd64 Go programming language compiler - metapackage
ii golang-1.10 1.10.4-2ubuntu1~18.04.1 all Go programming language compiler - metapackage
ii golang-1.10-doc 1.10.4-2ubuntu1~18.04.1 all Go programming language - documentation
ii golang-1.10-go 1.10.4-2ubuntu1~18.04.1 amd64 Go programming language compiler, linker, compiled stdlib
ii golang-1.10-race-detector-runtime 0.0+svn285455-0ubuntu1 amd64 Runtime support for Go's race detector
ii golang-1.10-src 1.10.4-2ubuntu1~18.04.1 amd64 Go programming language - source files
Bug Report
What did you do? Following the instructions for installation in the QuickStart.
The
make dep
succeeds, but runningmake install
gives errors about finding the required dependencies.What did you expect to see? A successful build
What did you see instead? Under which circumstances? For example:
Similar messages for many others. I checked the paths listed there and the listed dependencies are missing from the vendor directory, though I am not sure why/how. A complete list of missing vendored items is below:
Environment
Kubernetes cluster kind: OpenShift 3.11
Are you writing your operator in ansible, helm, or go? Have not gotten that far yet.
Possible Solution It looks like there are some dependencies which are expected to be there and are not explicitly defined. Not sure how to accomplish that as I am relatively new to Go.
Additional context OS: Ubuntu 18.04 Go Version: 1.10.4 dep Version: 0.50.0 Make version: GNU Make 4.1