[MacPorts] #52451: libfaketime @0.9.5rc3: does not build on macOS 10.12 Sierra

MacPorts noreply at macports.org
Thu Sep 29 18:06:44 CEST 2016


#52451: libfaketime @0.9.5rc3: does not build on macOS 10.12 Sierra
----------------------+-------------------------
 Reporter:  raimue@…  |      Owner:  wolf@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.4
 Keywords:  sierra    |       Port:  libfaketime
----------------------+-------------------------
 Maybe related to the fact that macOS 10.12 Sierra added support for
 `clock_gettime(3)`.

 {{{
 /usr/bin/clang -o faketime -arch x86_64 -DFAKE_SLEEP
 -DPREFIX='"'/opt/local'"' -arch x86_64 faketime.c
 libfaketime.c:139:46: error: unknown type name 'clock_serv_t'
 static int          (*real_clock_get_time)  (clock_serv_t clock_serv,
 mach_timespec_t *cur_timeclockid_t);
                                              ^
 libfaketime.c:139:71: error: unknown type name 'mach_timespec_t'
 static int          (*real_clock_get_time)  (clock_serv_t clock_serv,
 mach_timespec_t *cur_timeclockid_t);
                                                                       ^
 libfaketime.c:141:8: error: unknown type name 'clock_serv_t'
 static clock_serv_t clock_serv_real;
        ^
 ...
 }}}

 Full log attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/52451>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list