Opened 8 years ago
Closed 7 years ago
#52451 closed defect (fixed)
libfaketime @0.9.5rc3: does not build on macOS 10.12 Sierra
Reported by: | raimue (Rainer Müller) | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | sierra | Cc: | dsedivec |
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)
Change History (5)
Changed 8 years ago by raimue (Rainer Müller)
comment:1 Changed 7 years ago by dsedivec
comment:2 Changed 7 years ago by dsedivec
Cc: | dsedivec added |
---|
comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | wolf@… deleted |
---|---|
Status: | new → assigned |
comment:4 Changed 7 years ago by raimue (Rainer Müller)
Owner: | set to raimue |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I have a feeling that the latest version, 0.9.7, fixes this: https://github.com/wolfcw/libfaketime/issues/99