[MacPorts] #60634: skaffold: usage: mktemp [-d] [-q] [-t prefix] [-u] template ...

MacPorts noreply at macports.org
Sat Jun 13 12:45:55 UTC 2020


#60634: skaffold: usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  breun
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:  yosemite
      Port:  skaffold    |
-------------------------+----------------------

Comment (by breun):

 Skaffold builds on Ubuntu 16.04 via Travis and there `mktemp` has even
 different behavior: it expects the `prefix` to contain `X`s, whereas
 `mktemp` on Mac doesn't. I'd say the Mac's behavior makes more sense,
 because there it is actually a prefix, while on Ubuntu it is used as a
 template really.

 Would the best solution then be for the Skaffold port to (only on Yosemite
 and older?) depend on `coreutils` and patching the scripts to replace all
 calls to `mktemp` with `/opt/local/libexec/gnubin/mktemp`?

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


More information about the macports-tickets mailing list