NetBSD Problem Report #54925

From wiz@yt.nih.at  Mon Feb  3 16:08:52 2020
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2C69C1A9213
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  3 Feb 2020 16:08:52 +0000 (UTC)
Message-Id: <20200203143543.527901CB6A4B@yt.nih.at>
Date: Mon,  3 Feb 2020 15:35:43 +0100 (CET)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: Temporary build failures in golang
X-Send-Pr-Version: 3.95

>Number:         54925
>Category:       kern
>Synopsis:       Temporary build failures in golang
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 03 16:10:00 +0000 2020
>Closed-Date:    
>Last-Modified:  Sat Apr 11 15:43:16 +0000 2020
>Originator:     Thomas Klausner
>Release:        NetBSD 9.99.43
>Organization:
Curiosity is the very basis of education and if you tell me that
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
Sometimes go113 does not build.
Usually the next attempt succeeds.

This is the log of one such failing build:

=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for go113-1.13.6
cd /scratch/lang/go113/work/go/src && env GOROOT_BOOTSTRAP=/usr/pkg/go14 GOROOT_FINAL=/usr/pkg/go113  /usr/pkg/bin/bash ./make.bash
Building Go cmd/dist using /usr/pkg/go14.
Building Go toolchain1 using /usr/pkg/go14.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
fatal error: malloc deadlock
>
goroutine 1136 [running]:
runtime.throw(0x80af5d, 0xf)
        /usr/pkg/go113/src/runtime/panic.go:774 +0x72 fp=0xc000465098 sp=0xc000465068 pc=0x42d072
runtime.mallocgc(0x58, 0x7dd360, 0xc000465101, 0xc00000e170)
        /usr/pkg/go113/src/runtime/malloc.go:933 +0x99c fp=0xc000465138 sp=0xc000465098 pc=0x40c12c
runtime.newobject(0x7dd360, 0xc00000e170)
        /usr/pkg/go113/src/runtime/malloc.go:1151 +0x38 fp=0xc000465168 sp=0xc000465138 pc=0x40c318
os.newFile(0xa, 0xc0002a2390, 0x24, 0x1, 0xa)
        /usr/pkg/go113/src/os/file_unix.go:116 +0x80 fp=0xc000465250 sp=0xc000465168 pc=0x4c4330
os.openFileNolog(0xc0002a2390, 0x24, 0x601, 0x1b6, 0xc0002a2390, 0x24, 0x24)
        /usr/pkg/go113/src/os/file_unix.go:222 +0xe3 fp=0xc0004652b8 sp=0xc000465250 pc=0x4c4663
os.OpenFile(0xc0002a2390, 0x24, 0x601, 0x1b6, 0xc0002a2390, 0x24, 0x24)
        /usr/pkg/go113/src/os/file.go:300 +0x63 fp=0xc000465300 sp=0xc0004652b8 pc=0x4c2663
io/ioutil.WriteFile(0xc0002a2390, 0x24, 0x0, 0x0, 0x0, 0xc0000001b6, 0x446507, 0x0)
        /usr/pkg/go113/src/io/ioutil/ioutil.go:80 +0x4d fp=0xc000465360 sp=0xc000465300 pc=0x54683d
cmd/go/internal/work.(*Builder).writeFile(0xc000431360, 0xc0002a2390, 0x24, 0x0, 0x0, 0x0, 0x24, 0x1c)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:1673 +0x169 fp=0xc0004653d8 sp=0xc000465360 pc=0x68ddd9
cmd/go/internal/work.gcToolchain.symabis.func1(0xc000829b00, 0xc0003c0230, 0x1, 0x1, 0xc0002a2330, 0x23, 0x23, 0x4)
        /usr/pkg/go113/src/cmd/go/internal/work/gc.go:296 +0x27d fp=0xc0004654b0 sp=0xc0004653d8 pc=0x6b4d1d
cmd/go/internal/work.gcToolchain.symabis(0xc000431360, 0xc000122dc0, 0xc0003c0230, 0x1, 0x1, 0x60, 0x93, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/gc.go:307 +0x12b fp=0xc000465530 sp=0xc0004654b0 pc=0x69fdeb
cmd/go/internal/work.(*gcToolchain).symabis(0xaff0e8, 0xc000431360, 0xc000122dc0, 0xc0003c0230, 0x1, 0x1, 0x0, 0x0, 0x3c, 0x0)
        <autogenerated>:1 +0x6f fp=0xc000465588 sp=0xc000465530 pc=0x6b998f
cmd/go/internal/work.(*Builder).build(0xc000431360, 0xc000122dc0, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:629 +0x123d fp=0xc000465e30 sp=0xc000465588 pc=0x680dfd
cmd/go/internal/work.(*Builder).Do.func2(0xc000122dc0)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:117 +0x36d fp=0xc000465ef0 sp=0xc000465e30 pc=0x6b3ecd
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:177 +0x79 fp=0xc000465fc8 sp=0xc000465ef0 pc=0x6b3ff9
runtime.goexit()
        /usr/pkg/go113/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc000465fd0 sp=0xc000465fc8 pc=0x4589b1
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc00054a1f8)
        /usr/pkg/go113/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc00054a1f0)
        /usr/pkg/go113/src/sync/waitgroup.go:130 +0x64
cmd/go/internal/work.(*Builder).Do(0xc000431360, 0xc00013b040)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:186 +0x3c5
cmd/go/internal/work.InstallPackages(0xc000010100, 0x4, 0x4, 0xc00062e0a0, 0x4, 0x4)
        /usr/pkg/go113/src/cmd/go/internal/work/build.go:572 +0xb54
cmd/go/internal/work.runInstall(0xadb440, 0xc000010100, 0x4, 0x4)
        /usr/pkg/go113/src/cmd/go/internal/work/build.go:483 +0x66
main.main()
        /usr/pkg/go113/src/cmd/go/main.go:189 +0x57f
>
goroutine 6 [syscall]:
os/signal.signal_recv(0x0)
        /usr/pkg/go113/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
        /usr/pkg/go113/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
        /usr/pkg/go113/src/os/signal/signal_unix.go:29 +0x41
>
goroutine 1114 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1252 [runnable]:
os/exec.(*Cmd).Start.func1(0xc00068fe40, 0xc000604540)
        /usr/pkg/go113/src/os/exec/exec.go:434
created by os/exec.(*Cmd).Start
        /usr/pkg/go113/src/os/exec/exec.go:434 +0x608
>
goroutine 1121 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1126 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1128 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1134 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1106 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1130 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1123 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1110 [syscall]:
syscall.Syscall6(0x1c1, 0x1424, 0xc000248f04, 0x0, 0xc0001e01b0, 0x0, 0x0, 0xc0001e01b0, 0xc000248ed0, 0x10)
        /usr/pkg/go113/src/syscall/asm_unix_amd64.s:42 +0x5
syscall.wait4(0x1424, 0xc000248f04, 0x0, 0xc0001e01b0, 0x90, 0x7f6e40, 0x1)
        /usr/pkg/go113/src/syscall/zsyscall_netbsd_amd64.go:34 +0x7b
syscall.Wait4(0x1424, 0xc000248f54, 0x0, 0xc0001e01b0, 0x783a00, 0x0, 0x1000000446367)
        /usr/pkg/go113/src/syscall/syscall_bsd.go:129 +0x51
os.(*Process).wait(0xc000425140, 0x83f1f0, 0x83f1f8, 0x83f1e8)
        /usr/pkg/go113/src/os/exec_unix.go:38 +0x7b
os.(*Process).Wait(...)
        /usr/pkg/go113/src/os/exec.go:125
os/exec.(*Cmd).Wait(0xc00068e580, 0x0, 0x0)
        /usr/pkg/go113/src/os/exec/exec.go:501 +0x60
os/exec.(*Cmd).Run(0xc00068e580, 0xc3df523d, 0xae2c20)
        /usr/pkg/go113/src/os/exec/exec.go:341 +0x5c
cmd/go/internal/work.(*Builder).runOut(0xc000431360, 0xc0000aac80, 0xc0003361b0, 0x22, 0x0, 0x0, 0x0, 0xc0008bef00, 0x2f, 0x50, ...)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:1929 +0x5c7
cmd/go/internal/work.gcToolchain.gc(0xc000431360, 0xc0000aac80, 0xc0004249f0, 0x23, 0xc0002fa000, 0x385, 0x413, 0x0, 0x0, 0xc000249500, ...)
        /usr/pkg/go113/src/cmd/go/internal/work/gc.go:143 +0xe9e
cmd/go/internal/work.(*Builder).build(0xc000431360, 0xc0000aac80, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:665 +0x15c9
cmd/go/internal/work.(*Builder).Do.func2(0xc0000aac80)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:117 +0x36d
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:177 +0x79
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1124 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1135 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1137 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1118 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1132 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 370 [IO wait]:
internal/poll.runtime_pollWait(0x7f7ff5c56bd8, 0x72, 0xffffffffffffffff)
        /usr/pkg/go113/src/runtime/netpoll.go:184 +0x55
internal/poll.(*pollDesc).wait(0xc000763458, 0x72, 0x201, 0x200, 0xffffffffffffffff)
        /usr/pkg/go113/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
        /usr/pkg/go113/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000763440, 0xc0002e8200, 0x200, 0x200, 0x0, 0x0, 0x0)
        /usr/pkg/go113/src/internal/poll/fd_unix.go:169 +0x1cf
os.(*File).read(...)
        /usr/pkg/go113/src/os/file_unix.go:259
os.(*File).Read(0xc00057e2a8, 0xc0002e8200, 0x200, 0x200, 0xc00053ee90, 0x43e542, 0xc00053eea0)
        /usr/pkg/go113/src/os/file.go:116 +0x71
bytes.(*Buffer).ReadFrom(0xc0007a0330, 0x8aa200, 0xc00057e2a8, 0x7f7ff59e98f8, 0xc0007a0330, 0xc00053ef01)
        /usr/pkg/go113/src/bytes/buffer.go:204 +0xb4
io.copyBuffer(0x8a9b40, 0xc0007a0330, 0x8aa200, 0xc00057e2a8, 0x0, 0x0, 0x0, 0x404895, 0xc0002a8f00, 0xc00053efb0)
        /usr/pkg/go113/src/io/io.go:388 +0x2ed
io.Copy(...)
        /usr/pkg/go113/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0xc0002a8f00, 0xc00053efb0)
        /usr/pkg/go113/src/os/exec/exec.go:311 +0x63
os/exec.(*Cmd).Start.func1(0xc00068e580, 0xc000604140)
        /usr/pkg/go113/src/os/exec/exec.go:435 +0x27
created by os/exec.(*Cmd).Start
        /usr/pkg/go113/src/os/exec/exec.go:434 +0x608
>
goroutine 371 [runnable]:
os/exec.(*Cmd).Start.func1(0xc0007aa160, 0xc000300c60)
        /usr/pkg/go113/src/os/exec/exec.go:434
created by os/exec.(*Cmd).Start
        /usr/pkg/go113/src/os/exec/exec.go:434 +0x608
>
goroutine 1112 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1117 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1127 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1113 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1122 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1133 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1131 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1119 [runnable]:
syscall.Syscall(0x1b8, 0x5, 0xc000ae71c8, 0x0, 0x0, 0x0, 0x0)
        /usr/pkg/go113/src/syscall/asm_unix_amd64.s:19 +0x5
syscall.Fstat(0x5, 0xc000ae71c8, 0x10000c000ae71d8, 0x455db0)
        /usr/pkg/go113/src/syscall/zsyscall_netbsd_amd64.go:495 +0x55
os.newFile(0x5, 0xc000425770, 0x23, 0x1, 0x5)
        /usr/pkg/go113/src/os/file_unix.go:128 +0x1fe
os.openFileNolog(0xc000425770, 0x23, 0x0, 0x9a7bf60600000000, 0x60dbd6bc32979133, 0xe670fed5c1ebf19c, 0x7a938510612b8dac)
        /usr/pkg/go113/src/os/file_unix.go:222 +0xe3
os.OpenFile(0xc000425770, 0x23, 0x0, 0xe670fed500000000, 0x7a938510612b8dac, 0xaff0e8, 0x0)
        /usr/pkg/go113/src/os/file.go:300 +0x63
os.Open(...)
        /usr/pkg/go113/src/os/file.go:280
cmd/go/internal/work.(*Builder).updateBuildID(0xc000431360, 0xc0000ac8c0, 0xc000425770, 0x23, 0x1, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/buildid.go:644 +0x1e0
cmd/go/internal/work.(*Builder).build(0xc000431360, 0xc0000ac8c0, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:770 +0x1cc3
cmd/go/internal/work.(*Builder).Do.func2(0xc0000ac8c0)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:117 +0x36d
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:177 +0x79
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1129 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1125 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1111 [chan receive]:
os/exec.(*Cmd).Wait(0xc00068fe40, 0x0, 0x0)
        /usr/pkg/go113/src/os/exec/exec.go:509 +0x125
os/exec.(*Cmd).Run(0xc00068fe40, 0xcfedc58e, 0xae2c20)
        /usr/pkg/go113/src/os/exec/exec.go:341 +0x5c
cmd/go/internal/work.(*Builder).runOut(0xc000431360, 0xc0000afa40, 0xc000337380, 0x2a, 0x0, 0x0, 0x0, 0xc000806540, 0x12, 0x1c, ...)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:1929 +0x5c7
cmd/go/internal/work.(*Builder).run(0xc000431360, 0xc0000afa40, 0xc000337380, 0x2a, 0xc0001b6681, 0xa, 0x0, 0x0, 0x0, 0xc000806540, ...)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:1854 +0xb5
cmd/go/internal/work.gcToolchain.symabis.func1(0xc0005ea000, 0xc00045bb20, 0x1, 0x1, 0xc000337e60, 0x23, 0x23, 0x3)
        /usr/pkg/go113/src/cmd/go/internal/work/gc.go:300 +0x32a
cmd/go/internal/work.gcToolchain.symabis(0xc000431360, 0xc0000afa40, 0xc00045bb20, 0x1, 0x1, 0x3d, 0x40, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/gc.go:307 +0x12b
cmd/go/internal/work.(*Builder).build(0xc000431360, 0xc0000afa40, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:629 +0x123d
cmd/go/internal/work.(*Builder).Do.func2(0xc0000afa40)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:117 +0x36d
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:177 +0x79
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1120 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1107 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1116 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1109 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:167 +0xf6
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1108 [chan receive]:
os/exec.(*Cmd).Wait(0xc0007aa160, 0x0, 0x0)
        /usr/pkg/go113/src/os/exec/exec.go:509 +0x125
os/exec.(*Cmd).Run(0xc0007aa160, 0xcfeecdea, 0xae2c20)
        /usr/pkg/go113/src/os/exec/exec.go:341 +0x5c
cmd/go/internal/work.(*Builder).runOut(0xc000431360, 0xc0000cb7c0, 0xc00079d080, 0x2b, 0x0, 0x0, 0x0, 0xc000194000, 0x12, 0x1c, ...)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:1929 +0x5c7
cmd/go/internal/work.(*Builder).run(0xc000431360, 0xc0000cb7c0, 0xc00079d080, 0x2b, 0xc00051b181, 0xb, 0x0, 0x0, 0x0, 0xc000194000, ...)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:1854 +0xb5
cmd/go/internal/work.gcToolchain.symabis.func1(0xc0007c6900, 0xc000474320, 0x1, 0x1, 0xc0006be120, 0x23, 0x23, 0x3)
        /usr/pkg/go113/src/cmd/go/internal/work/gc.go:300 +0x32a
cmd/go/internal/work.gcToolchain.symabis(0xc000431360, 0xc0000cb7c0, 0xc000474320, 0x1, 0x1, 0x42, 0x91, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/gc.go:307 +0x12b
cmd/go/internal/work.(*Builder).build(0xc000431360, 0xc0000cb7c0, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:629 +0x123d
cmd/go/internal/work.(*Builder).Do.func2(0xc0000cb7c0)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:117 +0x36d
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:177 +0x79
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 1115 [syscall]:
syscall.Syscall6(0x1c1, 0x6aab, 0xc0004fcf04, 0x0, 0xc000296000, 0x0, 0x0, 0xc000296000, 0xc0004fced0, 0x10)
        /usr/pkg/go113/src/syscall/asm_unix_amd64.s:42 +0x5
syscall.wait4(0x6aab, 0xc0004fcf04, 0x0, 0xc000296000, 0x90, 0x7f6e40, 0x1)
        /usr/pkg/go113/src/syscall/zsyscall_netbsd_amd64.go:34 +0x7b
syscall.Wait4(0x6aab, 0xc0004fcf54, 0x0, 0xc000296000, 0x783a00, 0x0, 0x1000000446367)
        /usr/pkg/go113/src/syscall/syscall_bsd.go:129 +0x51
os.(*Process).wait(0xc0004080c0, 0x83f1f0, 0x83f1f8, 0x83f1e8)
        /usr/pkg/go113/src/os/exec_unix.go:38 +0x7b
os.(*Process).Wait(...)
        /usr/pkg/go113/src/os/exec.go:125
os/exec.(*Cmd).Wait(0xc00077c160, 0x0, 0x0)
        /usr/pkg/go113/src/os/exec/exec.go:501 +0x60
os/exec.(*Cmd).Run(0xc00077c160, 0xcfd6279d, 0xae2c20)
        /usr/pkg/go113/src/os/exec/exec.go:341 +0x5c
cmd/go/internal/work.(*Builder).runOut(0xc000431360, 0xc000123400, 0xc000449230, 0x2f, 0x0, 0x0, 0x0, 0xc00014e8c0, 0xf, 0x14, ...)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:1929 +0x5c7
cmd/go/internal/work.gcToolchain.gc(0xc000431360, 0xc000123400, 0xc000286360, 0x23, 0xc00018a000, 0xf7, 0x201, 0x0, 0x0, 0xc0004fd500, ...)
        /usr/pkg/go113/src/cmd/go/internal/work/gc.go:143 +0xe9e
cmd/go/internal/work.(*Builder).build(0xc000431360, 0xc000123400, 0x0, 0x0)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:665 +0x15c9
cmd/go/internal/work.(*Builder).Do.func2(0xc000123400)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:117 +0x36d
cmd/go/internal/work.(*Builder).Do.func3(0xc00054a1f0, 0xc000431360, 0xc000228900)
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:177 +0x79
created by cmd/go/internal/work.(*Builder).Do
        /usr/pkg/go113/src/cmd/go/internal/work/exec.go:164 +0x3a1
>
goroutine 189 [runnable]:
os/exec.(*Cmd).Start.func1(0xc00077c160, 0xc00062e200)
        /usr/pkg/go113/src/os/exec/exec.go:434
created by os/exec.(*Cmd).Start
        /usr/pkg/go113/src/os/exec/exec.go:434 +0x608
go tool dist: FAILED: /scratch/lang/go113/work/go/pkg/tool/netbsd_amd64/go_bootstrap install -gcflags=all= -ldflags=all= -a -i cmd/asm cmd/cgo cmd/compile cmd/link: exit status 2
*** Error code 2
>
Stop.
make[1]: stopped in /usr/pkgsrc/lang/go113
*** Error code 1
>
Stop.
make: stopped in /usr/pkgsrc/lang/go113

>How-To-Repeat:
Build lang/go113 in a loop until it fails.
>Fix:
Please.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 11 Apr 2020 12:50:32 +0000
State-Changed-Why:
Are you still having these issues? I don't see issues but perhaps I'm not trying enough times.


From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54925 (Temporary build failures in golang)
Date: Sat, 11 Apr 2020 16:44:36 +0200

 On Sat, Apr 11, 2020 at 12:50:32PM +0000, maya@NetBSD.org wrote:
 > Synopsis: Temporary build failures in golang
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: maya@NetBSD.org
 > State-Changed-When: Sat, 11 Apr 2020 12:50:32 +0000
 > State-Changed-Why:
 > Are you still having these issues? I don't see issues but perhaps I'm not trying enough times.

 It's rare, but I still saw it happening in March.
  Thomas

State-Changed-From-To: feedback->open
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 11 Apr 2020 15:43:16 +0000
State-Changed-Why:
still happening


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.