[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
Sat Apr 29 19:13:12 UTC 2023


#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:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.8.1
 Keywords:  leopard ppc  |       Port:  htop
-------------------------+--------------------
 {{{
         /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.  -DNDEBUG
 -isystem/opt/local/include/LegacySupport -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 -pedantic -std=c99 -D_XOPEN_SOURCE_EXTENDED
 -DSYSCONFDIR="\"/opt/local/etc\"" -I"./darwin" -D_DARWIN_C_SOURCE
 -DNCURSES_WIDECHAR -I/opt/local/include -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:32:
 /opt/local/include/libunwind.h:23:7: warning: "__clang__" is not defined
 CRT.c: In function ‘print_backtrace’:
 CRT.c:1081: error: ‘unw_getcontext’ is unavailable (declared at
 /opt/local/include/libunwind.h:102)
 CRT.c:1084: error: ‘unw_init_local’ is unavailable (declared at
 /opt/local/include/libunwind.h:103)
 CRT.c:1088: error: ‘unw_step’ is unavailable (declared at
 /opt/local/include/libunwind.h:104)
 CRT.c:1090: error: ‘unw_get_reg’ is unavailable (declared at
 /opt/local/include/libunwind.h:105)
 CRT.c:1096: error: ‘unw_get_proc_name’ is unavailable (declared at
 /opt/local/include/libunwind.h:121)
 CRT.c:1103: error: ‘unw_get_proc_info’ is unavailable (declared at
 /opt/local/include/libunwind.h:118)
 CRT.c:1104: warning: cast to pointer from integer of different size
 CRT.c:1114: error: ‘unw_is_signal_frame’ is unavailable (declared at
 /opt/local/include/libunwind.h:120)
 CRT.c:1117: warning: format ‘%#14lx’ expects type ‘long unsigned int’, but
 argument 4 has type ‘unw_word_t’
 CRT.c:1117: warning: format ‘%#lx’ expects type ‘long unsigned int’, but
 argument 7 has type ‘unw_word_t’
 CRT.c: In function ‘CRT_handleSIGSEGV’:
 CRT.c:1130: 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.2.2'
 }}}

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


More information about the macports-tickets mailing list