[MacPorts] #70577: nnn includes a non-existing header: fatal error: sys/_types/_timespec.h: No such file or directory

MacPorts noreply at macports.org
Sat Aug 17 21:28:20 UTC 2024


#70577: nnn includes a non-existing header: fatal error: sys/_types/_timespec.h: No
such file or directory
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.1
 Keywords:                |       Port:  nnn
--------------------------+--------------------
 Upstream issue: https://github.com/jarun/nnn/issues/1920

 {{{
 --->  Building nnn
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/nnn-4.9"
 && /usr/bin/make -j6 -w all CFLAGS_OPTIMIZATION="" O_PCRE=1
 CC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/compwrap/cc/opt/local/bin
 /gcc-mp-14"
 CXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/compwrap/cxx/opt/local/bin/g++-mp-14"
 OBJC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/compwrap/objc/opt/local/bin
 /gcc-mp-14"
 OBJCXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/compwrap/objcxx/opt/local/bin/g++-mp-14"
 FC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/compwrap/fc/opt/local/bin
 /gfortran-mp-14"
 F77="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/compwrap/f77/opt/local/bin
 /gfortran-mp-14"
 F90="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/compwrap/f90/opt/local/bin
 /gfortran-mp-14" INSTALL="/usr/bin/install -c"
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/nnn-4.9'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nnn/nnn/work/compwrap/cc/opt/local/bin
 /gcc-mp-14 -I/opt/local/include -I/opt/local/include/LegacySupport -DPCRE
 -DMACOS_BELOW_1012 -Os -I/opt/local/include/LegacySupport -arch ppc
 -std=c11 -Wall -Wextra -Wshadow  -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR
 -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport
 -arch ppc -o nnn misc/macos-legacy/mach_gettime.c src/nnn.c -lreadline
 -lpcre -L/opt/local/lib -Wl,-search_paths_first -lncurses -lpthread
 In file included from misc/macos-legacy/mach_gettime.c:1:
 misc/macos-legacy/mach_gettime.h:5:10: fatal error:
 sys/_types/_timespec.h: No such file or directory
     5 | #include <sys/_types/_timespec.h>
       |          ^~~~~~~~~~~~~~~~~~~~~~~~
 compilation terminated.
 In file included from src/nnn.c:112:
 src/../misc/macos-legacy/mach_gettime.h:5:10: fatal error:
 sys/_types/_timespec.h: No such file or directory
     5 | #include <sys/_types/_timespec.h>
       |          ^~~~~~~~~~~~~~~~~~~~~~~~
 compilation terminated.
 make: *** [nnn] Error 1
 }}}

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


More information about the macports-tickets mailing list