Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

gb info: add GOROOT value #393

Closed
davecheney opened this issue Sep 18, 2015 · 0 comments
Closed

gb info: add GOROOT value #393

davecheney opened this issue Sep 18, 2015 · 0 comments

Comments

@davecheney
Copy link
Contributor

It's quite common for gb users to compile gb, then move it somewhere else and forget about it. Then they upgrade their Go version and are confused when rebuilding gb does not work.
#321 tried to add an automatic check, but thanks to linux distros, we cannot have nice things.

As a fallback, add a field to gb info to report the GOROOT that compile this gb, and maybe the runtime.Version as well for good measure. At least then we can use gb info to help diagnose the problem.

davecheney added a commit that referenced this issue Nov 28, 2015
Fixes #393

Add `GB_GOROOT` value to report the GOROOT that build this gb.
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

1 participant