[MacPorts] #69158: htop does not build on 10.7 Lion missing _mach_port_t.h

MacPorts noreply at macports.org
Sat Mar 2 19:02:52 UTC 2024


#69158: htop does not build on 10.7 Lion missing _mach_port_t.h
-------------------------+-------------------------------------------------
  Reporter:  rmottola    |      Owner:  neverpanic
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  tiger leopard snowleopard lion
      Port:  htop        |  mountainlion haspatch
-------------------------+-------------------------------------------------

Comment (by barracuda156):

 Replying to [ticket:69158 rmottola]:
 >
 > {{{
 > :info:build depbase=`echo darwin/DarwinProcess.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 > :info:build   /usr/bin/clang -DHAVE_CONFIG_H -I.  -DNDEBUG
 -isystem/opt/local/include/LegacySupport -I/opt/local/include -std=c99
 -pedantic -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I/opt/local/include -Wall
 -Wcast-align -Wcast-qual -Wextra -Wfloat-equal -Wformat=2 -Winit-self
 -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes
 -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-
 strings -Wnull-dereference -D_XOPEN_SOURCE_EXTENDED
 -DSYSCONFDIR="\"/opt/local/etc\"" -I"./darwin" -pipe -Os -arch x86_64 -MT
 darwin/DarwinProcess.o -MD -MP -MF $depbase.Tpo -c -o
 darwin/DarwinProcess.o darwin/DarwinProcess.c &&\
 > :info:build   mv -f $depbase.Tpo $depbase.Po
 > :info:build darwin/Platform.c:21:10: fatal error:
 'sys/_types/_mach_port_t.h' file not found
 > :info:build #include <sys/_types/_mach_port_t.h>
 > :info:build          ^
 > :info:build 1 error generated.
 > }}}

 I guess, this is fixed by https://github.com/macports/macports-
 ports/commit/8c2c931036d3f75abda16a6627d3207435558cfa and should be
 closed.

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


More information about the macports-tickets mailing list