[MacPorts] #63046: go @1.16.5: fail to build in trace mode

MacPorts noreply at macports.org
Mon Jun 7 13:53:18 UTC 2021


#63046: go @1.16.5: fail to build in trace mode
--------------------+------------------------
 Reporter:  ferdy   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.1
 Keywords:          |       Port:  go @1.16.5
--------------------+------------------------
 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 at wabi ~ % port outdated
 The following installed ports are outdated:
 go                             1.16.4_0 < 1.16.5_0
 ferdy at 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 at wabi ~ %
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63046>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list