solo-io / unik

The Unikernel & MicroVM Compilation and Deployment Platform
Apache License 2.0
2.72k stars 191 forks source link

Build fails on Fedora 24: cannot find package "golang.org/x/oauth2/google", cannot find package "google.golang.org/api/compute/v1", "google.golang.org/api/storage/v1" #107

Closed omercioglu closed 8 years ago

omercioglu commented 8 years ago

Step 11 : CMD make -e TARGET_OS=${TARGET_OS} localbuild && mv ./unik /opt/build/unik ---> Running in 499350f117b7 ---> c45a99828252 Removing intermediate container 499350f117b7 Successfully built c45a99828252 mkdir -p ./_build docker run --rm -v /home/garlic/unik/_build:/opt/build -e TARGET_OS=linux projectunik/binary go-bindata -pkg bindata -o instance-listener/bindata/instance_listener_data.go --ignore=instance-listener/bindata/ instance-listener/... go-bindata -pkg versiondata -o containers/container-versions.go containers/versions.json git submodule update --init --recursive GOOS=linux go build -v . pkg/providers/gcloud/gcloud_provider.go:11:2: cannot find package "golang.org/x/oauth2/google" in any of: /go/src/github.com/emc-advanced-dev/unik/vendor/golang.org/x/oauth2/google (vendor tree) /usr/local/go/src/golang.org/x/oauth2/google (from $GOROOT) /go/src/golang.org/x/oauth2/google (from $GOPATH) pkg/providers/gcloud/gcloud_provider.go:12:2: cannot find package "google.golang.org/api/compute/v1" in any of: /go/src/github.com/emc-advanced-dev/unik/vendor/google.golang.org/api/compute/v1 (vendor tree) /usr/local/go/src/google.golang.org/api/compute/v1 (from $GOROOT) /go/src/google.golang.org/api/compute/v1 (from $GOPATH) pkg/providers/gcloud/gcloud_provider.go:13:2: cannot find package "google.golang.org/api/storage/v1" in any of: /go/src/github.com/emc-advanced-dev/unik/vendor/google.golang.org/api/storage/v1 (vendor tree) /usr/local/go/src/google.golang.org/api/storage/v1 (from $GOROOT) /go/src/google.golang.org/api/storage/v1 (from $GOPATH) Makefile:257: recipe for target 'localbuild' failed make: [localbuild] Error 1 Makefile:247: recipe for target 'binary' failed make: [binary] Error 2

ilackarms commented 8 years ago

thanks for reporting this bug. needed to update the godeps. a fix will be pushed momentarily