[MacPorts] #57588: postgresql10: Undefined symbols _clock_gettime

MacPorts noreply at macports.org
Mon Nov 12 20:24:00 UTC 2018


#57588: postgresql10: Undefined symbols _clock_gettime
------------------------+----------------------------
 Reporter:  ryandesign  |      Owner:  jyrkiwahlstedt
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  postgresql10
------------------------+----------------------------
 postgresql10 fails to build on OS X 10.11 and earlier:

 {{{
 Undefined symbols for architecture x86_64:
   "_clock_gettime", referenced from:
       _ExplainOneQuery in explain.o
       _ExplainOnePlan in explain.o
       _elapsed_time in explain.o
       _ExplainExecuteQuery in prepare.o
       _lazy_vacuum_rel in vacuumlazy.o
       _InstrStartNode in instrument.o
       _InstrStopNode in instrument.o
       ...
 ld: symbol(s) not found for architecture x86_64
 }}}

 `clock_gettime` was new in macOS 10.12.

 Upstream should add compatibility code for earlier systems.

 Until they do, you can include the legacysupport 1.0 portgroup, which will
 add our compatibility implementation.

 I did not check if other postgresql ports need this too. I would guess
 that some others do too.

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


More information about the macports-tickets mailing list