I need help with bootstrapping 1.21.6. A few tests fail and I see there are requirements about gdb, swig etc, however, they are hard to guess.
3 errors fatal error: trace: ReadTrace got invalid frequency in
os/signal -src/runtime/panic.go
syscall - exec_linux_test.go:354: Cmd failed with err fork/exec /tmp/go-build1662809362/b1680/syscall.test: no such file or directory, it is repeated aslo with TestUnshareUidGidMapping
runtime/trace -runtime/panic.go
I suppose these errors are generated by 2 tests namely
TestUnshareUidGidMapping TestAnalyzeAnnotations but they write the trace in parallel and it is a mess.
7 fails in git tests in vcstest_test.go
TestScripts/git/no-tags.txt
TestScripts/git/modlegacy1-old.txt
TestScripts/git/modlegacy1-new.txt
TestScripts/git/mainonly.txt
TestScripts/git/insecurerepo.txt
TestScripts/git/hello.txt
TestScripts/git/commit-after-tag.txt
It might be an outdated git?
And one more:
go tool dist test -run=^archive/tar$
Failed: exit status 1
Please tell what I should install or how to fix them.
I was unable to read more detailed information about the bootstrap. The system apps are outdated and thus cannot be updated. Rebuilding gdb and swig is easy. However, rebuilding git is quite difficult since gnutls depends on many apps. Is it good to make go depend only on openssl like python does? Information about permissions etc is nowhere to read,
How about composing a small INSTALL file with the requirements what is required in the src. Anybody downloads, unzips and does what is required for the specific version.