[MacPorts] #67475: diffutils @3.10_0+universal: error: this system appears to support timestamps after mid-January 2038, but no mechanism for enabling wide 'time_t' was detected. Did you mean to build a 64-bit binary?

MacPorts noreply at macports.org
Tue May 23 16:58:19 UTC 2023


#67475: diffutils @3.10_0+universal: error: this system appears to support
timestamps after mid-January 2038, but no mechanism for enabling wide
'time_t' was detected. Did you mean to build a 64-bit binary?
------------------------+--------------------
  Reporter:  RobK88     |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:             |   Keywords:
      Port:  diffutils  |
------------------------+--------------------

Comment (by RobK88):

 I figured it out.

 Here is the code I adde dto the Portfile that works:


 {{{
 pre-configure {
                    if [variant_isset "universal"] {
                           configure.args-append       --disable-year2038
                    }
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67475#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list