[MacPorts] #63500: hdf5 1.12.1_0: build failure due to implicit declaration of function 'clock_gettime'
MacPorts
noreply at macports.org
Mon Sep 20 19:10:47 UTC 2021
#63500: hdf5 1.12.1_0: build failure due to implicit declaration of function
'clock_gettime'
------------------------+----------------------
Reporter: massonseb | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: hdf5 |
------------------------+----------------------
Comment (by eborisch):
I don't have an old Mavericks system around to test (and it builds fine
with those variants on Catalina), but if you add:
`PortGroup legacysupport 1.1`
To the top of the Portfile after the other PortGroups, does it work? (You
can use `sudo port edit hdf5` to go directly to editing the correct
Portfile.)
This is failing for lack of the system clock_gettime() and associated
CLOCK_MONTONIC, which (according to the man page) was added in Sierra.
--
Ticket URL: <https://trac.macports.org/ticket/63500#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list