[MacPorts] #65673: coreutils - configure: error: The 'time_t' type stops working after January 2038, and your system appears to support a wider 'time_t'
MacPorts
noreply at macports.org
Tue Aug 16 20:13:52 UTC 2022
#65673: coreutils - configure: error: The 'time_t' type stops working after January
2038, and your system appears to support a wider 'time_t'
------------------------+----------------------
Reporter: RobK88 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: coreutils |
------------------------+----------------------
Comment (by mascguy):
Replying to [comment:10 ryandesign]:
> Not really. The commits there only apply the fix when the build_arch is
i386, which is not the case when building universal on an x86_64 system.
Why was the condition on build_arch thought to be necessary? The
[changeset:76b5fb575d6c90432dde388a8e1562e8ef72287b/macports-ports
previous fix I committed five years ago] was unconditional and as far as I
know has been fine, they've just now apparently changed the mechanism by
which it needs to be specified (configure arg now instead of variable).
The goal was to avoid unconditionally disabling support for 64-bit times,
hence the check. And despite still being mentioned in upstream's Readme,
`TIME_T_32_BIT_OK` doesn't appear to be supported any longer.
So we need a conditional check.
--
Ticket URL: <https://trac.macports.org/ticket/65673#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list