Navigation Menu

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

Building Go doesn't work #42366

Closed
OfshoX opened this issue Nov 3, 2020 · 2 comments
Closed

Building Go doesn't work #42366

OfshoX opened this issue Nov 3, 2020 · 2 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@OfshoX
Copy link

OfshoX commented Nov 3, 2020

I am trying to build Go and I get this error, what does this mean?

Building Go cmd/dist using /usr/local/Cellar/go/1.15.2/libexec. (go1.15.2 darwin/amd64)
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
HEAD

go tool dist: FAILED: git rev-parse --abbrev-ref HEAD: exit status 128
@davecheney
Copy link
Contributor

Thank you for raising this issue. Could you please complete the issue template so someone debugging this issue knows the exact steps you used so they can attempt to recreate them.

@ianlancetaylor
Copy link
Contributor

What are the exact steps that you took to produce that error?

This kind of error happens when trying to build the tip of Go development but not using a git repository.

@bcmills bcmills added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Nov 4, 2020
@OfshoX OfshoX closed this as completed Nov 11, 2020
@golang golang locked and limited conversation to collaborators Nov 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants