[MacPorts] #53928: ntpsec @0.9.6: error: POSIX clock_gettime(2) is required

MacPorts noreply at macports.org
Wed Apr 5 20:39:55 UTC 2017


#53928: ntpsec @0.9.6: error: POSIX clock_gettime(2) is required
------------------------+------------------------
 Reporter:  ryandesign  |      Owner:  lbschenkel
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  ntpsec
------------------------+------------------------
 ntpsec builds on Sierra but fails to build on El Capitan and earlier.

 https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/22564

 {{{
 ../../libntp/clockwork.c:145:2: error: POSIX clock_gettime(2) is required
 #error POSIX clock_gettime(2) is required
  ^
 ../../libntp/clockwork.c:132:19: warning: unused parameter 'tvs'
 [-Wunused-parameter]
         struct timespec *tvs
                          ^
 1 warning and 1 error generated.
 }}}

 (`clock_gettime` was introduced in Sierra.)

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


More information about the macports-tickets mailing list