Opened 15 months ago

#52451 new defect

libfaketime @0.9.5rc3: does not build on macOS 10.12 Sierra

Reported by: raimue (Rainer Müller) Owned by: wolf@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: sierra Cc:
Port: libfaketime

Description

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.

Attachments (1)

main.log (13.2 KB) - added by raimue (Rainer Müller) 15 months ago.

Download all attachments as: .zip

Change History (1)

Changed 15 months ago by raimue (Rainer Müller)

Note: See TracTickets for help on using tickets.