[MacPorts] #55643: coreutils @8.29 +universal: This package requires a 64-bit 'time_t' type
MacPorts
noreply at macports.org
Sun Jan 7 02:54:16 UTC 2018
#55643: coreutils @8.29 +universal: This package requires a 64-bit 'time_t' type
------------------------+-----------------
Reporter: dershow | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: coreutils |
------------------------+-----------------
Comment (by ryandesign):
Replying to [comment:1 ryandesign]:
> The relevant error seems to be:
>
> {{{
> configure: error: This package requires a 64-bit 'time_t' type, which
your system appears to support. You might try configuring with
'CPPFLAGS="-m64" LDFLAGS="-m64"'. To build with a 32-bit time_t anyway
(not recommended), configure with 'TIME_T_32_BIT_OK=yes'.
> }}}
It looks like this was added to coreutils
[http://lists.gnu.org/archive/html/bug-gnulib/2017-11/msg00022.html to
raise awareness of the year 2038 problem].
> I guess if we want to continue to allow universal builds, we should add
`TIME_T_32_BIT_OK=yes` for the 32-bit parts, as it says.
I think it's probably ok to do this. If we wanted to add
`TIME_T_32_BIT_OK` only to the 32-bit parts, we would have to use the
muniversal portgroup. Or we could try always supplying `TIME_T_32_BIT_OK`
and see if the 64-bit parts will successfully ignore it. Or we could rip
the `TIME_T_32_BIT_OK` code out of the configure script.
--
Ticket URL: <https://trac.macports.org/ticket/55643#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list