Package: golang-1.11-src Version: 1.11.5-1 Severity: normal
-- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores) Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8), LANGUAGE=ru_RU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- no debconf information In debian-9.8.0-amd64 Sid install the packages: golang-1.11-go Go programming language compiler, linker, compiled stdlib version: 1.11.5-1 golang-1.11-src Go programming language - source files version: 1.11.5-1 Make dir «/home/u1/go-1.11-5/» Copy there the contents of the folder «/usr/share/go-1.11/» Copy there «/usr/lib/go-1.11/VERSION» Go to the folder "/ home/u1 / go-1.11-5/src " and create a file "build.sh" with such text: export GOROOT_BOOTSTRAP=/usr/lib/go-1.11/ ./all.bash Start «./build.sh» It is issued the error: ok text/template/parse 0.017s panic: cannot load America/Los_Angeles for testing: open /home/u1/go-1.11-5/lib/time/zoneinfo.zip: no such file or directory goroutine 1 [running]: time.initTestingZone() /home/u1/go-1.11-5/src/time/internal_test.go:15 +0x19c sync.(*Once).Do(0x7b2e90, 0x61ca50) /home/u1/go-1.11-5/src/sync/once.go:44 +0xb3 time.ForceUSPacificForTesting() /home/u1/go-1.11-5/src/time/export_test.go:18 +0x87 time.init.0() /home/u1/go-1.11-5/src/time/internal_test.go:9 +0x20 FAIL time 0.021s ... ok unicode 0.028s ok cmd/vendor/golang.org/x/sys/unix 0.361s ok cmd/vet 1.876s ok cmd/vet/internal/cfg 0.001s 2019/02/21 23:11:40 Failed: exit status 1 Start terminal. Make dir «/home/u1/go_bootstrap/» and pass into it. Download through Firefox from «https://golang.org/dl/» «go1.11.5.linux-amd64.tar.gz». Copy from archive the files from the dir «go» to the dir root «/home/u1/go_bootstrap/». Pass to «/home/u1». Run «git clone https://go.googlesource.com/go». In «/home/u1» make dir «go» and copy to that the source files «go 1.11.5». Pass to the dir «/home/u1/go/src» and create file «build.sh» with such text: export GOROOT_BOOTSTRAP=/usr/lib/go-1.11/ ./all.bash Start «./build.sh» Assembly and tests pass normally. ./all.bash (assembly and tests) pass normally when gdb is installed (GNU Debugger) version 7.12-6, and at version 8.2.1-1 gives error messages: ok cmd/vendor/golang.org/x/sys/unix 0.361s ok cmd/vet 1.876s ok cmd/vet/internal/cfg 0.001s 2019/02/21 23:11:40 Failed: exit status 1 Delete the packages «golang-1.11-go», «golang-1.11-src» Pass to dir «/home/u1/go/src» and create file «build.sh» with such text: export GOROOT_BOOTSTRAP=go_bootstrap ./all.bash Run «./build.sh» Assembly and tests pass normally. ./all.bash (assembly and tests) pass normally when gdb is installed gdb (GNU Debugger) version 7.12-6, and at version 8.2.1-1 gives error messages: ok cmd/vendor/golang.org/x/sys/unix 0.361s ok cmd/vet 1.876s ok cmd/vet/internal/cfg 0.001s 2019/02/21 23:11:40 Failed: exit status 1 The source files of the package «golang-1.11-src» 1.11.5-1 are older then https://golang.org/dl/ for Source go1.11.5.src.tar.gz (20MB).