[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? (was: diffutils at 3.10_0 Fails to Configure on High Sierra)

MacPorts noreply at macports.org
Mon May 22 14:11:11 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 ryandesign):

 This is happening because you are using the universal variant, thus
 requesting both a 32-bit and 64-bit build. The 32-bit build is the one
 producing this complaint. The suggestion to use `-m64`, to cause a 64-bit
 build to be performed, is thus inapplicable. If you wanted a 64-bit-only
 build you wouldn't use the universal variant.

 This complaint is part of gnulib, which diffutils uses. Other ports that
 use gnulib also need to work around this complaint for 32-bit builds.
 gnulib has already twice changed the mechanism by which the complaint can
 be disabled. When diffutils updates to a newer gnulib, it will need to
 have the complaint suppression method updated as well. See #55643 for the
 initial method we used in the coreutils port. See #65457 for how coreutils
 had to be adapted after gnulib changed the first time. (Although the error
 message you showed is different, this fix looks like it will be the one to
 use for the version of gnulib diffutils currently uses.) See #67277 for
 how it needed to be changed after the second gnulib change in coreutils.

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


More information about the macports-tickets mailing list