[MacPorts] #62162: qemu: incompatible mktemp usage

MacPorts noreply at macports.org
Sun Dec 19 04:52:37 UTC 2021


#62162: qemu: incompatible mktemp usage
--------------------------+----------------------
  Reporter:  Ionic        |      Owner:  raimue
      Type:  enhancement  |     Status:  assigned
  Priority:  Low          |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  qemu         |
--------------------------+----------------------

Comment (by Ionic):

 I haven't reported this upstream because:

   - the incompatible usage (i.e., `mktemp` not supporting `-p/--tmpdir`)
 doesn't affect a normal build process but mostly test cases or binaries
 that are only executed by qemu maintainers as part of a release
   - upstream won't care about old OS X/macOS versions that have an even
 more incompatible `mktemp` implementation that doesn't support being
 called with parameters.

 I could take the first part to upstream to not use the `-p`/--tmpdir`
 option or emulate it in general without relying on it. It wouldn't fix
 build failures on older macOS versions, though, which upstream obviously
 doesn't care about and requires switching to the GNU tools anyway.

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


More information about the macports-tickets mailing list