[MacPorts] #62997: htop @3.0.5_0: Unable to build on 10.4 Tiger ppc
MacPorts
noreply at macports.org
Sun May 30 16:09:15 UTC 2021
#62997: htop @3.0.5_0: Unable to build on 10.4 Tiger ppc
-----------------------+--------------------
Reporter: Sinccis | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: tiger ppc | Port: htop
-----------------------+--------------------
I tried to install package htop with command sudo port install htop after
running sudo port selfupdate and it fails due to the following error:
{{{
:info:build depbase=`echo AvailableColumnsPanel.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
:info:build /opt/local/bin/gcc-apple-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 -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_APPLE_C_SOURCE -D_XOPEN_SOURCE=600 -I/opt/local/include
-pipe -Os -arch ppc -MT AvailableColumnsPanel.o -MD -MP -MF $depbase.Tpo
-c -o AvailableColumnsPanel.o AvailableColumnsPanel.c &&\
:info:build mv -f $depbase.Tpo $depbase.Po
:info:build In file included from Object.h:16,
:info:build from Panel.h:14,
:info:build from AvailableColumnsPanel.h:10,
:info:build from AvailableColumnsPanel.c:8:
:info:build XUtils.h: In function 'String_contains_i':
:info:build XUtils.h:43: warning: implicit declaration of function
'strcasestr'
:info:build XUtils.h:43: warning: comparison between pointer and integer
:info:build In file included from /usr/include/sys/ucred.h:64,
:info:build from /usr/include/sys/sysctl.h:71,
:info:build from ./darwin/DarwinProcess.h:10,
:info:build from ./darwin/Platform.h:17,
:info:build from AvailableColumnsPanel.c:18:
:info:build /usr/include/bsm/audit.h: At top level:
:info:build /usr/include/bsm/audit.h:219: error: expected specifier-
qualifier-list before 'u_char'
:info:build /usr/include/bsm/audit.h:229: error: expected specifier-
qualifier-list before 'u_char'
:info:build In file included from /usr/include/sys/sysctl.h:71,
:info:build from ./darwin/DarwinProcess.h:10,
:info:build from ./darwin/Platform.h:17,
:info:build from AvailableColumnsPanel.c:18:
:info:build /usr/include/sys/ucred.h:76: error: expected specifier-
qualifier-list before 'u_long'
:info:build /usr/include/sys/ucred.h:95: error: expected specifier-
qualifier-list before 'u_int'
:info:build In file included from /usr/include/sys/sysctl.h:72,
:info:build from ./darwin/DarwinProcess.h:10,
:info:build from ./darwin/Platform.h:17,
:info:build from AvailableColumnsPanel.c:18:
:info:build /usr/include/sys/proc.h:108: error: expected specifier-
qualifier-list before 'u_int'
:info:build In file included from ./darwin/DarwinProcess.h:10,
:info:build from ./darwin/Platform.h:17,
:info:build from AvailableColumnsPanel.c:18:
:info:build /usr/include/sys/sysctl.h:690: error: expected declaration
specifiers or '...' before 'u_int'
:info:build make[1]: *** [AvailableColumnsPanel.o] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_htop/htop/work
/htop-dev-htop-ce6d60e'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_htop/htop/work
/htop-dev-htop-ce6d60e'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_htop/htop/work/htop-3.0.5"
&& /usr/bin/make -j1 -w all
:info:build Exit code: 2
:error:build Failed to build htop: command execution failed
:debug:build Error code: CHILDSTATUS 29409 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback
portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62997>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list