With a Go command like:
$ go build -mod=vendor -ldflags="-X github.com/openshift/odo/pkg/version.GITCOMMIT=40a90e175" cmd/odo/odo.go
I'm getting an error like:
# runtime/cgo
fork/exec /c: permission denied
but none of the solutions mention TMPDIR in Go fork/exec permission denied error seem to work?