Opened 3 years ago

Closed 3 years ago

#63046 closed defect (duplicate)

go @1.16.5: fail to build in trace mode

Reported by: ferdy (Giuseppe `ferdy` Miceli) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: herbygillot (Herby Gillot)
Port: go

Description

ciao,

just tried to updated go @1.16.5 and it failed.

without trace option, it build and install successfully.

failing session attached.

cheers, -- ferdy

ferdy@wabi ~ % port outdated
The following installed ports are outdated:
go                             1.16.4_0 < 1.16.5_0
ferdy@wabi ~ % sudo port -svt upgrade go
--->  Computing dependencies for go.
--->  Building go
Executing:  cd "/opt/mp/var/macports/build/_opt_mp_macports-ports_lang_go/go/work/go/src" && ./make.bash
fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES)

runtime stack:
runtime.throw(0x66fd55)
	/opt/mp/lib/go-1.4/src/runtime/panic.go:491 +0xad fp=0x7ffeefbff890 sp=0x7ffeefbff860
runtime.goenvs()
	/opt/mp/lib/go-1.4/src/runtime/os_darwin.c:103 +0x60 fp=0x7ffeefbff8a8 sp=0x7ffeefbff890
runtime.schedinit()
	/opt/mp/lib/go-1.4/src/runtime/proc.c:141 +0x5f fp=0x7ffeefbff8d0 sp=0x7ffeefbff8a8
runtime.rt0_go(0x7ffeefbff900, 0x2, 0x7ffeefbff900, 0x0, 0x2, 0x7ffeefbffa80, 0x7ffeefbffa9a, 0x0, 0x7ffeefbffaa2, 0x7ffeefbffaa8, ...)
	/opt/mp/lib/go-1.4/src/runtime/asm_amd64.s:95 +0x116 fp=0x7ffeefbff8d8 sp=0x7ffeefbff8d0
Building Go cmd/dist using /opt/mp/lib/go-1.4. ()
fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES)

runtime stack:
runtime.throw(0x66fd55)
	/opt/mp/lib/go-1.4/src/runtime/panic.go:491 +0xad fp=0x7ffeefbff870 sp=0x7ffeefbff840
runtime.goenvs()
	/opt/mp/lib/go-1.4/src/runtime/os_darwin.c:103 +0x60 fp=0x7ffeefbff888 sp=0x7ffeefbff870
runtime.schedinit()
	/opt/mp/lib/go-1.4/src/runtime/proc.c:141 +0x5f fp=0x7ffeefbff8b0 sp=0x7ffeefbff888
runtime.rt0_go(0x7ffeefbff8e8, 0x5, 0x7ffeefbff8e8, 0x0, 0x0, 0x5, 0x7ffeefbffa88, 0x7ffeefbffaa2, 0x7ffeefbffaa8, 0x7ffeefbffaab, ...)
	/opt/mp/lib/go-1.4/src/runtime/asm_amd64.s:95 +0x116 fp=0x7ffeefbff8b8 sp=0x7ffeefbff8b0
Command failed:  cd "/opt/mp/var/macports/build/_opt_mp_macports-ports_lang_go/go/work/go/src" && ./make.bash
Exit code: 2
Warning: The following existing files were hidden from the build system by trace mode:
  /opt/mp/bin/bash
  /opt/mp/bin/go
  /opt/mp/bin/ld
  /private/var/select/sh
The following files would have been hidden from the build system by trace mode if they existed:
  /AppleInternal/XBS/.isChrooted
  /BinaryCache
  /BuildSupport/makeProject
  /selinux
  /selinux/booleans/allow_execstack
  /sys/fs/selinux
  /sys/fs/selinux/booleans/allow_execstack
  /usr/local/lib
Error: Failed to build go: command execution failed
Error: See /opt/mp/var/macports/logs/_opt_mp_macports-ports_lang_go/go/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
admin@wabi ~ %

Change History (2)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: ci42 removed
Owner: set to ci42
Port: @1.16.5 removed
Status: newassigned

comment:2 Changed 3 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: assignedclosed

See #49039.

Note: See TracTickets for help on using tickets.