-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed as not planned
Description
Go version
go version go1.26-devel_dfac972233 Thu Oct 23 14:44:03 2025 -0700 darwin/arm64
Output of go env in your module/workspace:
go env
go: creating work dir: mkdir /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/go-build4233801866: permission deniedWhat did you do?
I ran this script on Mac OS X 15.7.1 to update my go install in ~/goLang/go:
#!/usr/bin/env bash
trap 'echo goupdate.sh exited with error; exit 1;' ERR
export GOROOT_BOOTSTRAP=$HOME/golang/go1.25.0
export OLDGOMAXPROCS=$GOMAXPROCS
export GOMAXPROCS=8
curdir=`pwd`
cd $HOME/golang/go/src
git fetch
#git checkout master
git -c pull.rebase=false pull
./all.bash
#./sudo.bash
cd $curdir
export GOMAXPROCS=$OLDGOMAXPROCS
unset OLDGOMAXPROCS
unset GOROOT_BOOTSTRAP
What did you see happen?
I get this output:
Already up to date.
Building Go cmd/dist using /Users/sean/golang/go1.25.0. (go1.25.0 darwin/arm64)
go: creating work dir: mkdir /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/go-build3639827534: permission denied
goupdate.sh exited with error
What did you expect to see?
The build and test process from running all.bash.
Metadata
Metadata
Assignees
Labels
No labels