[MacPorts] #72265: gpatch @2.8 fails to build: error: could not enable timestamps after mid-January 2038

MacPorts noreply at macports.org
Mon Mar 31 17:24:52 UTC 2025


#72265: gpatch @2.8 fails to build: error: could not enable timestamps after mid-
January 2038
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  gpatch
--------------------------+--------------------
 {{{
 --->  Extracting patch-2.8.tar.bz2
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_ppcports_devel_gpatch/gpatch/work"
 && /usr/bin/bzip2 -dc
 '/opt/local/var/macports/distfiles/gpatch/patch-2.8.tar.bz2' |
 /usr/bin/gnutar --no-same-owner -xf -
 --->  Configuring gpatch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_ppcports_devel_gpatch/gpatch/work/patch-2.8"
 && ./configure --prefix=/opt/local --program-prefix=g
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a race-free mkdir -p... mkdir -p
 checking for gawk... no
 checking for mawk... no
 checking for nawk... no
 checking for awk... awk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking whether make supports nested variables... (cached) yes
 checking for gcc... /usr/bin/gcc-4.2
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether the compiler supports GNU C... yes
 checking whether /usr/bin/gcc-4.2 accepts -g... yes
 checking for /usr/bin/gcc-4.2 option to enable C11 features... unsupported
 checking for /usr/bin/gcc-4.2 option to enable C99 features... -std=gnu99
 checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o
 together... yes
 checking whether the compiler is clang... no
 checking for compiler option needed when checking for declarations... none
 checking whether make supports the include directive... yes (GNU style)
 checking dependency style of /usr/bin/gcc-4.2 -std=gnu99... gcc3
 checking for stdio.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for strings.h... yes
 checking for sys/stat.h... yes
 checking for sys/types.h... yes
 checking for unistd.h... yes
 checking for wchar.h... yes
 checking for minix/config.h... no
 checking for stdbool.h... yes
 checking for uchar.h... no
 checking for sys/param.h... yes
 checking for sys/socket.h... yes
 checking for dirent.h... yes
 checking for error.h... no
 checking for stdio_ext.h... no
 checking for getopt.h... yes
 checking for sys/time.h... yes
 checking for threads.h... no
 checking for limits.h... yes
 checking for xlocale.h... yes
 checking for sys/mman.h... yes
 checking for stdckdint.h... no
 checking for sys/random.h... yes
 checking for utime.h... yes
 checking for features.h... no
 checking for crtdefs.h... no
 checking for wctype.h... yes
 checking for fcntl.h... yes
 checking whether it is safe to define __EXTENSIONS__... yes
 checking whether _XOPEN_SOURCE should be defined... no
 checking build system type... powerpc-apple-darwin10.8.0
 checking host system type... powerpc-apple-darwin10.8.0
 checking how to run the C preprocessor... /usr/bin/gcc-4.2 -std=gnu99 -E
 checking for egrep -e... /usr/bin/grep -E
 checking for Minix Amsterdam compiler... no
 checking for ar... ar
 checking the archiver (ar) interface... ar
 checking for ar... (cached) ar
 checking for ranlib... ranlib
 checking for /usr/bin/gcc-4.2 -std=gnu99 option to support large files...
 none needed
 checking for /usr/bin/gcc-4.2 -std=gnu99 option to support timestamps
 after 2038... support not detected
 configure: error: in
 '/opt/local/var/macports/build/_opt_local_ppcports_devel_gpatch/gpatch/work/patch-2.8':
 configure: error: could not enable timestamps after mid-January 2038.
 This package recommends support for these later
 timestamps. However, to proceed with signed 32-bit
 time_t even though it will fail then, configure with
 '--disable-year2038'.
 See 'config.log' for more details
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72265>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list