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

error obtaining VCS status: exit status 128 / Use -buildvcs=false to disable VCS stamping. #68834

Closed
non7top opened this issue Aug 11, 2024 · 2 comments

Comments

@non7top
Copy link

non7top commented Aug 11, 2024

Go version

go1.20.14

Output of go env in your module/workspace:

n/a

What did you do?

I'm trying to build latest go using source tarballs
go1.4-bootstrap-20171003 OK
go1.19.5 OK
go1.20.14 FAIL

The commands I run
export GOFLAGS="$GOFLAGS -buildvcs=false"
GOFLAGS="-buildvcs=false" GOROOT_BOOTSTRAP=/home/local/go1.19.5 ./make.bash

I'm using this documentation
https://go.dev/doc/install/source

I'm using this source
https://go.dev/dl/go1.20.14.src.tar.gz

What did you see happen?

+(./make.bash:222): ./cmd/dist/dist bootstrap -a
Building Go toolchain1 using /home/local/go1.19.5.
error obtaining VCS status: exit status 128
        Use -buildvcs=false to disable VCS stamping.
error obtaining VCS status: exit status 128
        Use -buildvcs=false to disable VCS stamping.
error obtaining VCS status: exit status 128
        Use -buildvcs=false to disable VCS stamping.
error obtaining VCS status: exit status 128
        Use -buildvcs=false to disable VCS stamping.
go tool dist: FAILED: /home/local/go1.19.5/bin/go install -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/...: exit status 1

What did you expect to see?

No error
If error, I would expect some helpful error message. Use -buildvcs=false to disable VCS stamping. does not help to resolve the issue. I was not able to find docs about how to use buildvcs to build go from source.

@seankhliao
Copy link
Member

1.20 is outside of our support window ( 2 most recent releases).

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants