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
Open

cmd/go: create GOTMPDIR if not present #32320

wgrr opened this issue May 30, 2019 · 1 comment
Labels
FeatureRequest NeedsFix
Milestone

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 removed this from the Go1.14 milestone Oct 9, 2019
@rsc rsc added this to the Backlog milestone Oct 9, 2019
@smasher164 smasher164 removed this from the Backlog milestone Oct 11, 2019
@smasher164 smasher164 added this to the Go1.14 milestone Oct 11, 2019
@ianlancetaylor ianlancetaylor removed this from the Go1.14 milestone Dec 5, 2019
@ianlancetaylor ianlancetaylor added this to the Backlog milestone Dec 5, 2019
jtacoma added a commit to google/note-maps that referenced this issue Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FeatureRequest NeedsFix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants