Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: create GOTMPDIR if not present #32320

Open
wgrr opened this issue May 30, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@wgrr
Copy link

commented May 30, 2019

Current go tip if $GOTMPDIR does not exists on disk, go command fails with:
go: creating work dir: stat /path/to/gotmp: no such file or directory
I expected cmd/go to MkdirAll before failing as it does to $GOCACHE and $GOPATH

@bcmills bcmills changed the title cmd/go: go shoud try to create GOTMPDIR cmd/go: create GOTMPDIR if not present May 30, 2019

@bcmills bcmills added the NeedsFix label May 30, 2019

@bcmills bcmills added this to the Go1.14 milestone May 30, 2019

@abhishekkr abhishekkr referenced a pull request that will close this issue Jun 4, 2019

Open

cmd/go: create GOTMPDIR if missing instead of failing #32429

@gopherbot

This comment has been minimized.

Copy link

commented Jun 4, 2019

Change https://golang.org/cl/180497 mentions this issue: cmd/go: create GOTMPDIR if missing instead of failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.