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/dist: make.bash fails if Emacs temporary files are present #18931

Closed
mdempsky opened this issue Feb 4, 2017 · 1 comment
Closed

cmd/dist: make.bash fails if Emacs temporary files are present #18931

mdempsky opened this issue Feb 4, 2017 · 1 comment
Assignees
Milestone

Comments

@mdempsky
Copy link
Member

@mdempsky mdempsky commented Feb 4, 2017

When Emacs has unsaved changes for a file foo.go, it creates an intentionally broken symbolic link .#foo.go. (See "Protection against Simultaneous Editing" or "Why does emacs create temporary symbolic links for modified files?".)

go/build gracefully ignores these, because it has ignored files starting with . or _ since its very first import.

cmd/dist complains about them though, because it breaks the bootstrap copying process. This prevents running make.bash while Emacs has unsaved changes to toolchain source files.

@mdempsky mdempsky added this to the Go1.9 milestone Feb 4, 2017
@mdempsky mdempsky self-assigned this Feb 4, 2017
@gopherbot
Copy link

@gopherbot gopherbot commented Feb 4, 2017

CL https://golang.org/cl/36351 mentions this issue.

@gopherbot gopherbot closed this in 592c97f Feb 4, 2017
@golang golang locked and limited conversation to collaborators Feb 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.