[MacPorts] #63055: Go build fails because of -j1 flag despite use_parallel_build no

MacPorts noreply at macports.org
Tue Jun 8 14:05:15 UTC 2021


#63055: Go build fails because of -j1 flag despite use_parallel_build  no
-----------------------+----------------------
  Reporter:  TruePath  |      Owner:  ci42
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:
      Port:  go        |
-----------------------+----------------------

Comment (by cjones051073):

 The check here

 https://github.com/macports/macports-
 base/blob/d148e62c89c0fee07e202dd64b132e6134e7537e/src/port1.0/portbuild.tcl#L175

 is I believe supposed to catch build systems that are not known to support
 the `-j` option, but clearly fails in this case as the custom build script
 matches `*make*`. maybe that check should be made more robust, so somehow
 make sure it only matches the `make`, `ninja` and 'scons` build commands ?

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


More information about the macports-tickets mailing list