[MacPorts] #64988: goplus: needs GOPROOT set to work

MacPorts noreply at macports.org
Tue Apr 12 03:05:52 UTC 2022


#64988: goplus: needs GOPROOT set to work
-----------------------------+-------------------------
  Reporter:  kurthindenburg  |      Owner:  herbygillot
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.7.99
Resolution:                  |   Keywords:
      Port:  goplus          |
-----------------------------+-------------------------

Comment (by kurthindenburg):

 It seems odd to see the build locations in this output - installed from
 binary

 gop -v
 2022/04/11 23:03:45 GOPROOT not found: no such file or directory
 panic: GOPROOT not found: no such file or directory


 goroutine 1 [running]:
 log.Panicln({0xc0000c1b98, 0xc0000c1be0, 0x101200a})
         /opt/local/lib/go/src/log/log.go:368 +0x65
 github.com/goplus/gop/env.GOPROOT()
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_goplus/goplus/work/gopath/src/github.com/goplus/gop/env/path.go:34
 +0x79
 github.com/goplus/gop/x/gopmod.init()
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_goplus/goplus/work/gopath/src/github.com/goplus/gop/x/gopmod/gocmd.go:43
 +0x93

-- 
Ticket URL: <https://trac.macports.org/ticket/64988#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list