[MacPorts] #60211: qemu @4.2.0: Undefined symbols: _clock_gettime

MacPorts noreply at macports.org
Fri Mar 20 09:56:25 UTC 2020


#60211: qemu @4.2.0: Undefined symbols: _clock_gettime
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  raimue
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  qemu
------------------------+----------------------
 Even though the qemu port includes the legacysupport portgroup,
 [https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/18139/steps
 /install-port/logs/stdio it fails to build] on Lion with an error that
 including that portgroup should have corrected:

 {{{
   LINK    qemu-nbd
 Undefined symbols for architecture x86_64:
   "_clock_gettime", referenced from:
       _read_f in qemu-io-cmds.o
       _readv_f in qemu-io-cmds.o
       _write_f in qemu-io-cmds.o
       _writev_f in qemu-io-cmds.o
       _aio_read_f in qemu-io-cmds.o
       _aio_read_done in qemu-io-cmds.o
       _aio_write_f in qemu-io-cmds.o
       ...
 ld: symbol(s) not found for architecture x86_64
 }}}

 Since the problem happens at link time, it makes me wonder if the build
 system might not be respecting our LDFLAGS. I can't see, because the build
 system uses silent rules.

-- 
Ticket URL: <https://trac.macports.org/ticket/60211>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list