-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Like siegesleitner mentioned back on Feb 3. 2022, all went well until Step 11 when I tried to run the "gcloud app deploy" command. I get this error: "gcc": executable file not found in $PATH. The Cloud Shell .bashrc file seems fine.
which gcc
/usr/bin/gcc
echo $PATH
/opt/gradle/bin:/opt/maven/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/usr/local/nvm/versions/node/v12.14.1/bin:/usr/local/rvm/bin:/google/go_appengine:/google/google_appengine:/google/migrate/anthos/:/home/myname/.gems/bin:/usr/local/rvm/bin:/home/myname/gopath/bin:/google/gopath/bin:/google/flutter/bin
BUILD
Starting Step #0
Step #0: Pulling image: gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce
Step #0: gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce: Pulling from gcp-runtimes/go1-builder
Step #0: 6c5b97b864a6: Already exists
Step #0: 8ca77d5ce166: Already exists
Step #0: 3c2cba919283: Already exists
Step #0: f51d1e50dfed: Pulling fs layer
Step #0: 93d357f3c912: Pulling fs layer
Step #0: 38c250bc4956: Pulling fs layer
Step #0: 194752cda0cd: Pulling fs layer
Step #0: 7e8b9278b356: Pulling fs layer
Step #0: c0baf66a8378: Pulling fs layer
Step #0: 194752cda0cd: Waiting
Step #0: 7e8b9278b356: Waiting
Step #0: c0baf66a8378: Waiting
Step #0: 93d357f3c912: Download complete
Step #0: 38c250bc4956: Verifying Checksum
Step #0: 38c250bc4956: Download complete
Step #0: 194752cda0cd: Verifying Checksum
Step #0: 194752cda0cd: Download complete
Step #0: 7e8b9278b356: Verifying Checksum
Step #0: 7e8b9278b356: Download complete
Step #0: c0baf66a8378: Verifying Checksum
Step #0: c0baf66a8378: Download complete
Step #0: f51d1e50dfed: Verifying Checksum
Step #0: f51d1e50dfed: Download complete
Step #0: f51d1e50dfed: Pull complete
Step #0: 93d357f3c912: Pull complete
Step #0: 38c250bc4956: Pull complete
Step #0: 194752cda0cd: Pull complete
Step #0: 7e8b9278b356: Pull complete
Step #0: c0baf66a8378: Pull complete
Step #0: Digest: sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce
Step #0: Status: Downloaded newer image for gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce
Step #0: gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce
Step #0: go: finding github.com/jackc/pgx v3.6.2+incompatible
Step #0: go: finding github.com/shopspring/decimal v1.3.1
Step #0: go: finding github.com/pkg/errors v0.9.1
Step #0: go: finding github.com/lib/pq v1.10.4
Step #0: go: finding github.com/jackc/fake v0.0.0-20150926172116-812a484cc733
Step #0: go: finding github.com/gofrs/uuid v4.2.0+incompatible
Step #0: go: finding github.com/cockroachdb/apd v1.1.0
Step #0: go: finding golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064
Step #0: go: finding golang.org/x/text v0.3.7
Step #0: go: finding golang.org/x/text v0.3.6
Step #0: go: finding golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2
Step #0: go: finding golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
Step #0: go: finding golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
Step #0: go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e
Step #0: go: finding golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
Step #0: go: finding golang.org/x/sys v0.0.0-20210423082822-04245dca01da
Step #0: go: downloading github.com/jackc/pgx v3.6.2+incompatible
Step #0: go: downloading github.com/pkg/errors v0.9.1
Step #0: go: downloading golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064
Step #0: go: downloading golang.org/x/text v0.3.7
Step #0: # net
Step #0: exec: "gcc": executable file not found in $PATH
Finished Step #0
ERROR
ERROR: build step 0 "gcr.io/gcp-runtimes/go1-builder@sha256:408a098788ef4cdeec452821946b986ef82ce5ebceecbdf748ffecf329765bce" failed: step exited with non-zero status: 2