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 The path to resolution is known, but the work has not been done.
Milestone

Comments

@wgrr
Copy link
Contributor

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 The path to resolution is known, but the work has not been done. label May 30, 2019
@bcmills bcmills added this to the Go1.14 milestone May 30, 2019
@gopherbot
Copy link

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
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 The path to resolution is known, but the work has not been done.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants