[MacPorts] #68438: draco @1.5.6: error: no member named 'utimensat' in the global namespace
MacPorts
noreply at macports.org
Mon Apr 15 09:49:44 UTC 2024
#68438: draco @1.5.6: error: no member named 'utimensat' in the global namespace
-------------------------+-------------------------------------------------
Reporter: nilason | Owner: nilason
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: snowleopard lion mountainlion
Port: draco | mavericks yosemite elcapitan sierra
-------------------------+-------------------------------------------------
Comment (by ryandesign):
Replying to [comment:1 jmroot]:
> It appears that ghc uses `utimensat` in its public headers, which means
those headers can't be used without that function being available. As
you've discovered, it's only available on macOS 10.13 and later. There is
an implementation in legacysupport, but that means that all ghc dependents
(or at least all those that include this particular header) are obliged to
use legacysupport, which is unfortunate.
It's the ghc-filesystem port, not the ghc port, so that's a much smaller
set of affected ports. I'll add legacysupport.
--
Ticket URL: <https://trac.macports.org/ticket/68438#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list