Opened 8 years ago

Closed 8 years ago

#52006 closed defect (fixed)

go 1.6.2-2 cannot be compiled in Sierra

Reported by: robertoschwald (Robert Oschwald) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: sierra Cc:
Port: go

Description

Sierra Beta4, MacPorts 2.3.4 (compiled for Sierra):

runtime/debug
testing
testing/iotest
testing/quick
text/scanner
crypto/x509
net/textproto
log/syslog
mime/multipart
net/mail
failed MSpanList_Insert 0x484298 0x8ad62346fe7 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.MSpanList_Insert(0x413f58, 0x484298)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/runtime/mheap.c:692 +0x8f
runtime.MHeap_Alloc(0x410f60, 0x1, 0x10000000032, 0x77549)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/runtime/mheap.c:240 +0x66
runtime.MCentral_CacheSpan(0x41b0d8, 0xc20801ada0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/runtime/mcentral.c:85 +0x167
runtime.MCache_Refill(0x462000, 0x32, 0x484230)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/runtime/mcache.c:90 +0xa0

goroutine 264 [running]:
runtime.switchtoM()
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/runtime/asm_amd64.s:198 fp=0xc20801ac70 sp=0xc20801ac68
runtime.mallocgc(0x2000, 0x1fc280, 0x1, 0xf2)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/runtime/malloc.go:178 +0x849 fp=0xc20801ad20 sp=0xc20801ac70
runtime.newarray(0x1fc280, 0x1e00, 0xc2083c1880)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/runtime/malloc.go:365 +0xc1 fp=0xc20801ad58 sp=0xc20801ad20
runtime.makeslice(0x1f2760, 0x1e00, 0x1e00, 0x0, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/runtime/slice.go:32 +0x15c fp=0xc20801ada0 sp=0xc20801ad58
bytes.makeSlice(0x1e00, 0x0, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/bytes/buffer.go:191 +0x6a fp=0xc20801adf0 sp=0xc20801ada0
bytes.(*Buffer).ReadFrom(0xc208010930, 0x4744c0, 0xc20840cf50, 0xc42, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/bytes/buffer.go:163 +0xda fp=0xc20801ae88 sp=0xc20801adf0
io.Copy(0x485a60, 0xc208010930, 0x4744c0, 0xc20840cf50, 0x0, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/io/io.go:358 +0x13d fp=0xc20801af40 sp=0xc20801ae88
os/exec.func·003(0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/os/exec/exec.go:221 +0x7d fp=0xc20801afa0 sp=0xc20801af40
os/exec.func·004(0xc20848c800)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/os/exec/exec.go:328 +0x2d fp=0xc20801afd8 sp=0xc20801afa0
runtime.goexit()
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc20801afe0 sp=0xc20801afd8
created by os/exec.(*Cmd).Start
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/os/exec/exec.go:329 +0xb6d

goroutine 1 [semacquire]:
sync.(*WaitGroup).Wait(0xc2084064e0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/sync/waitgroup.go:132 +0x169
main.(*builder).do(0xc2080115e0, 0xc2082a5ad0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:768 +0x5bf
main.runInstall(0x3ffa40, 0xc20800a090, 0x1, 0x1)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:351 +0x392
main.main()
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/main.go:163 +0x608

goroutine 5 [syscall]:
os/signal.loop()
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 7 [select]:
main.func·006()
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:749 +0x1d3
created by main.(*builder).do
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:765 +0x591

goroutine 8 [syscall]:
syscall.Syscall6(0x7, 0x12336, 0xc2084da9dc, 0x0, 0xc2084877a0, 0x0, 0x0, 0xc2083adda0, 0x6e4f1, 0xc2083addc0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/syscall/asm_darwin_amd64.s:44 +0x5
syscall.wait4(0x12336, 0xc2084da9dc, 0x0, 0xc2084877a0, 0x90, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/syscall/zsyscall_darwin_amd64.go:32 +0x79
syscall.Wait4(0x12336, 0xc2084daa24, 0x0, 0xc2084877a0, 0x0, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/syscall/syscall_bsd.go:162 +0x60
os.(*Process).wait(0xc20848d0c0, 0x0, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/os/exec_unix.go:22 +0x103
os.(*Process).Wait(0xc20848d0c0, 0xc208486ea0, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/os/doc.go:45 +0x3a
os/exec.(*Cmd).Wait(0xc20846b180, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/os/exec/exec.go:364 +0x23c
os/exec.(*Cmd).Run(0xc20846b180, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/os/exec/exec.go:246 +0x71
main.(*builder).runOut(0xc2080115e0, 0xc2081b3c20, 0x92, 0xc208231fd1, 0xb, 0xc2084db270, 0x1, 0x1, 0xc2084db640, 0x8, ...)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:1429 +0x349
main.(*builder).run(0xc2080115e0, 0xc2081b3c20, 0x92, 0xc208231fd1, 0xb, 0xc2084db270, 0x1, 0x1, 0xc2084db640, 0x8, ...)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:1374 +0xd0
main.(*builder).cgo(0xc2080115e0, 0xc2081b6000, 0xc20818e1e0, 0x9c, 0xc2083eae10, 0x28, 0x0, 0x0, 0x0, 0x0, ...)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:2222 +0x17c3
main.(*builder).build(0xc2080115e0, 0xc2083e9ad0, 0x0, 0x0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:875 +0x15ba
main.func·005(0xc2083e9ad0)
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:702 +0x3b9
main.func·006()
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:759 +0x15a
created by main.(*builder).do
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:765 +0x591

goroutine 9 [select]:
main.func·006()
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:749 +0x1d3
created by main.(*builder).do
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:765 +0x591

goroutine 10 [select]:
main.func·006()
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:749 +0x1d3
created by main.(*builder).do
	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_go-1.4/go-1.4/work/go/src/cmd/go/build.go:765 +0x591

Change History (2)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: sierra added
Owner: changed from macports-tickets@… to ciserlohn@…

In the future, please Cc the port maintainers (port info --maintainers go), if any.

comment:2 Changed 8 years ago by ci42

Resolution: fixed
Status: newclosed

Go 1.6.x is not compatible with macOS Sierra. Please upgrade to version 1.7:

$ sudo port selfupdate
$ sudo port upgrade go
Note: See TracTickets for help on using tickets.