[MacPorts] #65457: coreutils @9.1 +universal configure fails on Snow Leopard to to 32-bit time_t warning

MacPorts noreply at macports.org
Sat Jul 16 17:27:46 UTC 2022


#65457: coreutils @9.1 +universal configure fails on Snow Leopard to to 32-bit
time_t warning
------------------------+----------------------
  Reporter:  rlhamil    |      Owner:  mascguy
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.2
Resolution:             |   Keywords:
      Port:  coreutils  |
------------------------+----------------------

Comment (by barracuda156):

 I got the same failure when building on 10.6.8 for PPC:

 {{{
 :info:configure checking for time_t past the year 2038... no
 :info:configure checking for 64-bit time_t with _TIME_BITS=64... no
 :info:configure configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.1':
 :info:configure configure: error: The 'time_t' type stops working after
 January 2038,
 :info:configure                    and your system appears to support a
 wider 'time_t'.
 :info:configure                    Try configuring with
 'CC="/usr/bin/gcc-4.2 -std=gnu99 -m64"'.
 :info:configure                    To build with a 32-bit time_t anyway
 (not recommended),
 :info:configure                    configure with '--disable-year2038'.
 :info:configure See `config.log' for more details
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.1"
 && ./configure --prefix=/opt/local --disable-silent-rules --program-
 prefix=g TIME_T_32_BIT_OK=yes
 :info:configure Exit code: 1
 :error:configure Failed to configure coreutils: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-9.1/config.log
 :error:configure Failed to configure coreutils: configure failure: command
 execution failed
 :debug:configure Error code: NONE
 }}}

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


More information about the macports-tickets mailing list