Hi!
I am compiling a GO app that I want to upload and run on the Google Cloud
Platform and have several packages vendored, to have them under version control
along with the rest of the sources. I had to take the appengine package out of
vendoring due to various compile issues, and now everything but "gcloud app
deploy" is working. "dev_appserver.py" works, "go build" works, "go test"
works, but "gcloud app deploy" fails:
File upload done.
Updating service [default]...
........failed.
ERROR: (gcloud.app.deploy) Error Response: [9] Deployment contains files that
cannot be compiled: Compile failed:
2017/09/20 05:34:31 go-app-builder: build timing: 7×compile (2.449s total),
0×link (0s total)
2017/09/20 05:34:31 go-app-builder: failed running compile: exit status 2
company/vendor/
golang.org/x/text/unicode/norm/normalize.go:15: can't find
import: "
golang.org/x/text/transform"
The x/text/transform package is where it is supposed to be (the app.yaml is in
the $GOPATH/src/company/myproj directory, the vendor directory is one level up
at $GOPATH/src/company/myproj):
$ find ../vendor -name transform
../vendor/
golang.org/x/text/transform
How come it is not picked up by "gcloud app deploy"?
--
\\// Peter -
http://www.softwolves.pp.se/