[MacPorts] #59257: qemu @4.1.0 Undefined symbols _clock_gettime

MacPorts noreply at macports.org
Fri Nov 22 17:09:11 UTC 2019


#59257: qemu @4.1.0 Undefined symbols _clock_gettime
-------------------------+----------------------
  Reporter:  dubiousjim  |      Owner:  raimue
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  qemu        |
-------------------------+----------------------
Changes (by Ionic):

 * cc: kencu (added)


Comment:

 I've looked around and noticed that Linux distros generally build qemu
 out-of-source.

 The reason for this is that the `qemu` build system is essentially buggy
 when it comes to in-source-tree builds and always reconfigures (wrongly)
 at install/destroot time. I've tried to work around that issue and touch
 the file that is getting "too old" for its Makefile dependencies, but that
 didn't fix the actual problem because updating its timestamp just causes a
 different set of rebuilds (since it's being used as a prerequisite in
 other rules).

 Switching to out-of-source builds fixes that problem in a pretty nice way.

 I've also added Ken's fix for older `mktemp` versions on 10.10-. Can
 someone on 10.10 and 10.11 tell me what a simple call to `/usr/bin/mktemp`
 does? I know that it fails with a usage message on 10.9 and works on
 10.12, but I have no data for either 10.10 or 10.11.

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


More information about the macports-tickets mailing list