[MacPorts] #67332: htop @3.2.2 does not build on PPC Leopard/Mac OS X 10.5.8 because libunwind lacks declarations and definitions

MacPorts noreply at macports.org
Sun Feb 11 08:37:59 UTC 2024


#67332: htop @3.2.2 does not build on PPC Leopard/Mac OS X 10.5.8 because libunwind
lacks declarations and definitions
-------------------------+-------------------------
  Reporter:  ballapete   |      Owner:  (none)
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:  worksforme  |   Keywords:  leopard ppc
      Port:  htop        |
-------------------------+-------------------------

Comment (by ballapete):

 The same failure happens with `htop @3.3.0`:

 {{{
         /usr/bin/gcc-4.2 -std=gnu99 -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 -D_XOPEN_SOURCE_EXTENDED -DSYSCONFDIR="\"/opt/local/etc\""
 -I"./darwin" -pipe -Os -arch ppc -MT CRT.o -MD -MP -MF $depbase.Tpo -c -o
 CRT.o CRT.c &&\
         mv -f $depbase.Tpo $depbase.Po
 In file included from CRT.c:34:
 /opt/local/include/libunwind.h:23:7: warning: "__clang__" is not defined
 CRT.c: In function ‘print_backtrace’:
 CRT.c:1134: error: ‘unw_getcontext’ is unavailable (declared at
 /opt/local/include/libunwind.h:102)
 CRT.c:1137: error: ‘unw_init_local’ is unavailable (declared at
 /opt/local/include/libunwind.h:103)
 CRT.c:1141: error: ‘unw_step’ is unavailable (declared at
 /opt/local/include/libunwind.h:104)
 CRT.c:1143: error: ‘unw_get_reg’ is unavailable (declared at
 /opt/local/include/libunwind.h:105)
 CRT.c:1149: error: ‘unw_get_proc_name’ is unavailable (declared at
 /opt/local/include/libunwind.h:121)
 CRT.c:1156: error: ‘unw_get_proc_info’ is unavailable (declared at
 /opt/local/include/libunwind.h:118)
 CRT.c:1157: warning: cast to pointer from integer of different size
 CRT.c:1166: error: ‘unw_is_signal_frame’ is unavailable (declared at
 /opt/local/include/libunwind.h:120)
 CRT.c:1169: warning: format ‘%#14lx’ expects type ‘long unsigned int’, but
 argument 4 has type ‘unw_word_t’
 CRT.c:1169: warning: format ‘%#lx’ expects type ‘long unsigned int’, but
 argument 7 has type ‘unw_word_t’
 CRT.c: In function ‘CRT_handleSIGSEGV’:
 CRT.c:1182: warning: declaration of ‘signal’ shadows a global declaration
 /usr/include/sys/signal.h:413: warning: shadowed declaration is here
 make[1]: *** [CRT.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_sysutils_htop/htop/work/htop-3.3.0'
 }}}

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


More information about the macports-tickets mailing list