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 · May be fixed by #32429
Open

cmd/go: create GOTMPDIR if not present #32320

wgrr opened this issue May 30, 2019 · 1 comment · May be fixed by #32429

Comments

@wgrr
Copy link
Contributor

@wgrr wgrr 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
@gopherbot
Copy link

@gopherbot gopherbot commented Jun 4, 2019

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

@rsc rsc modified the milestones: Go1.14, Backlog Oct 9, 2019
@smasher164 smasher164 modified the milestones: Backlog, Go1.14 Oct 11, 2019
@ianlancetaylor ianlancetaylor modified the milestones: Go1.14, Backlog Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

6 participants
You can’t perform that action at this time.