Skip to content

cmd/dist: make.bash -d failed with cmd/buildid not exist #22599

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

Closed
cherrymui opened this issue Nov 6, 2017 · 1 comment
Closed

cmd/dist: make.bash -d failed with cmd/buildid not exist #22599

cherrymui opened this issue Nov 6, 2017 · 1 comment

Comments

@cherrymui
Copy link
Member

What version of Go are you using (go version)?

tip (37b15ba)

make.bash -d failed with

$ ./make.bash -d
Building Go cmd/dist using /usr/local/google/home/cherryyz/src/go1.6.
Building Go toolchain1 using /usr/local/google/home/cherryyz/src/go1.6.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
compile version devel +37b15baa3b Mon Nov 6 16:36:34 2017 +0000 buildID=
Building Go toolchain2 using go_bootstrap and Go toolchain1.
compile version devel +37b15baa3b Mon Nov 6 16:36:34 2017 +0000 buildID=KI9kkrhYodePjDgqY485/T7nhZhGJyF5thLLiCbpW/VlTLnx_2M-iTehwqmBlF/4zrXY4jrpmB9m4HLcUbY
go tool dist: FAILED: /usr/local/google/home/cherryyz/src/go/pkg/tool/linux_amd64/buildid /usr/local/google/home/cherryyz/src/go/pkg/linux_amd64/runtime/internal/sys.a: fork/exec /usr/local/google/home/cherryyz/src/go/pkg/tool/linux_amd64/buildid: no such file or directory

I understand that this debug mode is not supposed for general use, but it would be good not to fail.
One option is to add cmd/buildid to "toolchain" in debug mode.

cc @rsc

@gopherbot
Copy link
Contributor

Change https://golang.org/cl/76026 mentions this issue: cmd/dist: include "cmd/buildid" in toolchain in debug mode

@golang golang locked and limited conversation to collaborators Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants