[MacPorts] #49039: go @1.4.2: fails to build with tracemode
#49039: go @1.4.2: fails to build with tracemode -----------------------+------------------------- Reporter: raimue@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: tracemode | Port: go -----------------------+------------------------- go fails when DYLD_INSERT_LIBRARIES is set: {{{ :info:build fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES) :info:build runtime stack: :info:build runtime.throw(0x3e9855) :info:build /opt/local/go/src/runtime/panic.go:491 +0xad fp=0x7fff5fbff750 sp=0x7fff5fbff720 :info:build runtime.goenvs() :info:build /opt/local/go/src/runtime/os_darwin.c:103 +0x60 fp=0x7fff5fbff768 sp=0x7fff5fbff750 :info:build runtime.schedinit() :info:build /opt/local/go/src/runtime/proc.c:141 +0x5f fp=0x7fff5fbff790 sp=0x7fff5fbff768 :info:build runtime.rt0_go(0x7fff5fbff7c0, 0x4, 0x7fff5fbff7c0, 0x0, 0x4, 0x7fff5fbff970, 0x7fff5fbff9ec, 0x7fff5fbff9f2, 0x7fff5fbff9f5, 0x0, ...) :info:build /opt/local/go/src/runtime/asm_amd64.s:95 +0x116 fp=0x7fff5fbff798 sp=0x7fff5fbff790 :info:build Command failed: cd "/opt/local/var/macports/build/_Users_raimue_src_macports_trunk_dports_lang_go/go/work/go/src" && ./make.bash :info:build Exit code: 2 }}} There is probably nothing we can do about it, this ticket is just for tracking trace mode failures. Upstream: https://github.com/golang/go/issues/8801 -- Ticket URL: <https://trac.macports.org/ticket/49039> MacPorts <https://www.macports.org/> Ports system for OS X
#49039: go @1.4.2: fails to build with tracemode -----------------------+------------------------- Reporter: raimue@… | Owner: ciserlohn@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: wontfix | Keywords: tracemode Port: go | -----------------------+------------------------- Changes (by cal@…): * status: new => closed * resolution: => wontfix Comment: There's nothing we can do about this. At this point in Go's build system, it must be the first part of code to run after the loader to register a custom thread implementation. Enabling trace mode breaks this assumption. Basically the only thing we could do here is provide a way for ports to selectively disable trace mode, either completely or for certain phases. Disabling it in Go's build phase would be enough. -- Ticket URL: <https://trac.macports.org/ticket/49039#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49039: go @1.4.2: fails to build with tracemode -------------------------------------------------+------------------------- Reporter: raimue@… | Owner: ciserlohn@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tracemode Port: go asciinema docker docker-machine | upstream git-lfs go-tools godep mongo-tools peco | -------------------------------------------------+------------------------- Changes (by raimue@…): * keywords: tracemode => tracemode upstream * cc: ciserlohn@…, larryv@…, sean@… (added) * resolution: wontfix => * status: closed => reopened * port: go => go asciinema docker docker-machine git-lfs go-tools godep mongo-tools peco Comment: I think we should keep this report open to track this issue. It affects all ports using Go binaries in tracemode. Even if we cannot change the underlying issue in Go, this ticket documents the fact these ports are failing in tracemode. -- Ticket URL: <https://trac.macports.org/ticket/49039#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49039: go @1.4.2: fails to build with tracemode -------------------------------------------------+------------------------- Reporter: raimue@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.3.3 Port: go asciinema docker docker-machine | Keywords: tracemode git-lfs go-tools godep mongo-tools peco | upstream -------------------------------------------------+------------------------- Changes (by raimue@…): * cc: ryandesign@…, kimuraw@… (added) * status: reopened => new * owner: ciserlohn@… => macports-tickets@… -- Ticket URL: <https://trac.macports.org/ticket/49039#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts