https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121050
Bug ID: 121050
Summary: 'check-gotools': 'Use -buildvcs=false to disable VCS
stamping'
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: testsuite-fail
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: tschwinge at gcc dot gnu.org
Target Milestone: ---
I've recently done some changes in (some of) my GCC testing setup, and noticed
that when running 'check-gotools' in a container without Git installed, we
regress:
=== gotools Summary ===
# of expected passes [-415-]{+315+}
# of unexpected failures [-2-]{+75+}
# of untested testcases [-130-]{+85+}
... due to, 'build-gcc/gotools/gotools.log':
[...]
Running cmd/go ...
[...]
go: missing Git command. See https://golang.org/s/gogetcmd
error obtaining VCS status: exec: "git": executable file not found in $PATH
Use -buildvcs=false to disable VCS stamping.
FAIL: go test cmd/go
[...]
... etc. Would it be OK to pass '-buildvcs=false', or do I need to install Git
just for this?