Opened 3 years ago

Closed 9 months ago

Last modified 5 months ago

#63673 closed defect (fixed)

go-1.4 @1.4.3_1 fails to build on monterey 12.0.1 x86_64

Reported by: breiter (Brian Reiter) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey Cc:
Port: go-1.4

Description

:info:build cmd/go
:info:build fatal error: runtime: bsdthread_register error
:info:build runtime stack:
:info:build runtime.throw(0x3e9895)
:info:build 	/opt/local/lib/go-1.4/src/runtime/panic.go:491 +0xad fp=0x7ff7bfeff590 sp=0x7ff7bfeff560
:info:build runtime.goenvs()
:info:build 	/opt/local/lib/go-1.4/src/runtime/os_darwin.c:104 +0x70 fp=0x7ff7bfeff5a8 sp=0x7ff7bfeff590
:info:build runtime.schedinit()
:info:build 	/opt/local/lib/go-1.4/src/runtime/proc.c:141 +0x5f fp=0x7ff7bfeff5d0 sp=0x7ff7bfeff5a8
:info:build runtime.rt0_go(0x7ff7bfeff600, 0x4, 0x7ff7bfeff600, 0x1000, 0x4, 0x7ff7bfeff810, 0x7ff7bfeff8b6, 0x7ff7bfeff8bc, 0x7ff7bfeff8bf, 0x0, ...)
:info:build 	/opt/local/lib/go-1.4/src/runtime/asm_amd64.s:95 +0x116 fp=0x7ff7bfeff5d8 sp=0x7ff7bfeff5d0
:info:build Command failed:  cd "/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" && ./make.bash -j1 
:info:build Exit code: 2
:error:build Failed to build go-1.4: command execution failed
:debug:build Error code: CHILDSTATUS 62601 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

Change History (5)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Keywords: monterey added
Owner: set to ci42
Status: newassigned

comment:2 Changed 3 years ago by breiter (Brian Reiter)

This turns out not to be a real problem when I did a more selective re-install of ports. The go-1.4 port is no longer needed to bootstrap the go port.

comment:3 Changed 3 years ago by markemer (Mark Anderson)

Yeah - this was a problem during the beta but it seems to have fixed - go1.4 still fails but it's no longer needed for go bootstrap. We should maybe just mark 1.4 as incompatible with 12.

comment:4 Changed 9 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 3718e0e0b33e5f9a9f61f760908eece19d5911cb/macports-ports (master):

go-1.4: set platforms to darwin < 21

Closes: #63673

comment:5 in reply to:  4 Changed 5 months ago by ar-an-ribe

Replying to barracuda156:

go-1.4: set platforms to darwin < 21

According to the Minimum Requirements document for Go, macOS 10.12 (Sierra) or newer requires Go 1.7.1 or above; thus, setting platforms to darwin < 16 for the go-1.4 port would be more exact.

Note: See TracTickets for help on using tickets.