[package - 132amd64-quarterly][sysutils/xcpustate] Failed for xcpustate-2.9_3 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Feb 2024 00:11:44 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: ports@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/beefy14/data/132amd64-quarterly/b3e5282399eb/logs/xcpustate-2.9_3.log
Build URL: https://pkg-status.freebsd.org/beefy14/build.html?mastername=132amd64-quarterly&build=b3e5282399eb
Log:
=>> Building sysutils/xcpustate
build started at Sat Feb 17 00:11:36 UTC 2024
port directory: /usr/ports/sysutils/xcpustate
package name: xcpustate-2.9_3
building for: FreeBSD 132amd64-quarterly-job-01 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 628 Jan 6 01:02 /usr/ports/sysutils/xcpustate/Makefile
Ports top last git commit: b3e528239
Ports top unclean checkout: no
Port dir last git commit: 756e18783
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500006
Jail OSVERSION: 1302001
Job Id: 01
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p10
UNAME_r=13.2-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1
MASTERMNT=/usr/local/poudriere/data/.m/132amd64-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/132amd64-quarterly/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
---End OPTIONS List---
--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/xcpustate/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/xcpustate/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/xcpustate/work/.cache HOME=/wrkdirs/usr/ports/sysutils/xcpustate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/xcpustate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/xcpustate/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/xcpustate/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/xcpustate/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/xcpustate/work/.cache HOME=/wrkdirs/usr/ports/sysutils/xcpustate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/xcpustate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/xcpustate/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -
m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xcpustate" EXAMPLESDIR="share/examples/xcpustate" DATADIR="share/xcpustate" WWWDIR="www/xcpustate" ETCDIR="etc/xcpustate"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xcpustate DOCSDIR=/usr/local/share/doc/xcpustate EXAMPLESDIR=/usr/local/share/examples/xcpustate WWWDIR=/usr/local/www/xcpustate ETCDIR=/usr/local/etc/xcpustate
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 33554432
stack size (kbytes, -s) 524288
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 8192
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> NOTICE:
The xcpustate port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===========================================================================
=======================<phase: pkg-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> xcpustate-2.9_3 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.20.9.pkg
[132amd64-quarterly-job-01] Installing pkg-1.20.9...
[132amd64-quarterly-job-01] Extracting pkg-1.20.9: .......... done
===> xcpustate-2.9_3 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of xcpustate-2.9_3
===========================================================================
=======================<phase: fetch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> NOTICE:
The xcpustate port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> Fetching all distfiles required by xcpustate-2.9_3 for building
===========================================================================
=======================<phase: checksum >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> NOTICE:
The xcpustate port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> Fetching all distfiles required by xcpustate-2.9_3 for building
=> SHA256 Checksum OK for xcpustate-2.9.shar.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> NOTICE:
The xcpustate port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
<snip>
shar: Extracting "s-gould-np1.c" (2928 characters)
shar: Extracting "s-irix.c" (3958 characters)
shar: Extracting "s-mach.c" (3903 characters)
shar: Extracting "s-solbourne.c" (5151 characters)
shar: Extracting "s-sunos4.c" (12883 characters)
shar: Extracting "s-sunos5.c" (7593 characters)
shar: Extracting "s-ultrix.c" (5918 characters)
shar: Extracting "s-unicos.c" (3418 characters)
shar: Extracting "s-ncr.c" (18493 characters)
shar: Extracting "s-svr4.c" (10235 characters)
shar: Extracting "s-bsdi.c" (2362 characters)
shar: Extracting "s-aix.c" (4406 characters)
shar: Extracting "s-linux.c" (13966 characters)
shar: Extracting "s-cygwin.c" (5858 characters)
shar: Extracting "s-openbsd.c" (3085 characters)
shar: Extracting "s.c" (1639 characters)
shar: Extracting "s.h" (1207 characters)
shar: Extracting "xcpustate.c" (20944 characters)
shar: Extracting "xcpustate.man" (11215 characters)
shar: End of shell archive.
===========================================================================
=======================<phase: patch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Patching for xcpustate-2.9_3
===> Applying FreeBSD patches for xcpustate-2.9_3 from /usr/ports/sysutils/xcpustate/files
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> xcpustate-2.9_3 depends on executable: imake - not found
===> Installing existing package /packages/All/imake-1.0.8,1.pkg
[132amd64-quarterly-job-01] Installing imake-1.0.8,1...
[132amd64-quarterly-job-01] `-- Installing gccmakedep-1.0.3...
[132amd64-quarterly-job-01] `-- Extracting gccmakedep-1.0.3: .. done
[132amd64-quarterly-job-01] `-- Installing makedepend-1.0.6,1...
[132amd64-quarterly-job-01] `-- Extracting makedepend-1.0.6,1: ..... done
[132amd64-quarterly-job-01] `-- Installing perl5-5.36.3_1...
[132amd64-quarterly-job-01] `-- Extracting perl5-5.36.3_1: .......... done
[132amd64-quarterly-job-01] `-- Installing xorg-cf-files-1.0.8...
[132amd64-quarterly-job-01] `-- Extracting xorg-cf-files-1.0.8: .......... done
[132amd64-quarterly-job-01] Extracting imake-1.0.8,1: .......... done
===> xcpustate-2.9_3 depends on executable: imake - found
===> Returning to build of xcpustate-2.9_3
===> xcpustate-2.9_3 depends on executable: tradcpp - not found
===> Installing existing package /packages/All/tradcpp-0.5.3.pkg
[132amd64-quarterly-job-01] Installing tradcpp-0.5.3...
[132amd64-quarterly-job-01] Extracting tradcpp-0.5.3: ..... done
===> xcpustate-2.9_3 depends on executable: tradcpp - found
===> Returning to build of xcpustate-2.9_3
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/ice.pc - not found
===> Installing existing package /packages/All/libICE-1.1.0_2,1.pkg
[132amd64-quarterly-job-01] Installing libICE-1.1.0_2,1...
[132amd64-quarterly-job-01] Extracting libICE-1.1.0_2,1: .......... done
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found
===> Returning to build of xcpustate-2.9_3
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - not found
===> Installing existing package /packages/All/libSM-1.2.3_1,1.pkg
[132amd64-quarterly-job-01] Installing libSM-1.2.3_1,1...
[132amd64-quarterly-job-01] Extracting libSM-1.2.3_1,1: .......... done
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
===> Returning to build of xcpustate-2.9_3
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===> Installing existing package /packages/All/libX11-1.8.7,1.pkg
[132amd64-quarterly-job-01] Installing libX11-1.8.7,1...
[132amd64-quarterly-job-01] `-- Installing libxcb-1.15_1...
[132amd64-quarterly-job-01] | `-- Installing libXau-1.0.9...
[132amd64-quarterly-job-01] | `-- Extracting libXau-1.0.9: .......... done
[132amd64-quarterly-job-01] | `-- Installing libXdmcp-1.1.3...
[132amd64-quarterly-job-01] | | `-- Installing xorgproto-2023.2...
[132amd64-quarterly-job-01] | | `-- Extracting xorgproto-2023.2: .......... done
[132amd64-quarterly-job-01] | `-- Extracting libXdmcp-1.1.3: ......... done
[132amd64-quarterly-job-01] `-- Extracting libxcb-1.15_1: .......... done
[132amd64-quarterly-job-01] Extracting libX11-1.8.7,1: .......... done
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===> Returning to build of xcpustate-2.9_3
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found
===> Installing existing package /packages/All/libXaw-1.0.14,2.pkg
[132amd64-quarterly-job-01] Installing libXaw-1.0.14,2...
[132amd64-quarterly-job-01] `-- Installing libXext-1.3.4,1...
[132amd64-quarterly-job-01] `-- Extracting libXext-1.3.4,1: .......... done
[132amd64-quarterly-job-01] `-- Installing libXmu-1.1.4,1...
[132amd64-quarterly-job-01] | `-- Installing libXt-1.2.1,1...
[132amd64-quarterly-job-01] | `-- Extracting libXt-1.2.1,1: .......... done
[132amd64-quarterly-job-01] `-- Extracting libXmu-1.1.4,1: .......... done
[132amd64-quarterly-job-01] `-- Installing libXpm-3.5.17...
[132amd64-quarterly-job-01] | `-- Installing gettext-runtime-0.22.3...
[132amd64-quarterly-job-01] | | `-- Installing indexinfo-0.3.1...
[132amd64-quarterly-job-01] | | `-- Extracting indexinfo-0.3.1: .... done
[132amd64-quarterly-job-01] | `-- Extracting gettext-runtime-0.22.3: .......... done
[132amd64-quarterly-job-01] `-- Extracting libXpm-3.5.17: .......... done
[132amd64-quarterly-job-01] Extracting libXaw-1.0.14,2: .......... done
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found
===> Returning to build of xcpustate-2.9_3
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found
===> xcpustate-2.9_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===========================================================================
=======================<phase: lib-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Configuring for xcpustate-2.9_3
imake -DUseInstalled -I/usr/local/lib/X11/config
make Makefiles
make includes
make depend
rm -f .depend
gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -- xcpustate.c Bar.c s.c rstat.c rstat_clnt.c rstat_xdr.c > .depend
===========================================================================
=======================<phase: build >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Building for xcpustate-2.9_3
--- rstat_clnt.c ---
--- rstat_xdr.c ---
--- Bar.o ---
--- rstat_clnt.c ---
rpcgen rstat.x
--- rstat_xdr.c ---
rpcgen rstat.x
--- Bar.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c Bar.c -o Bar.o
--- xcpustate._man ---
rm -f xcpustate._man
if test -z "" ; then cd `dirname xcpustate` && ln -s `basename xcpustate.man` `basename xcpustate._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xcpustate.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xcpustate._man; fi
--- xcpustate.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c xcpustate.c -o xcpustate.o
xcpustate.c:267:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
exit(-1);
^
xcpustate.c:267:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
xcpustate.c:298:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^
xcpustate.c:345:2: warning: implicit declaration of function 'rstat_version' is invalid in C99 [-Wimplicit-function-declaration]
rstat_version();
^
xcpustate.c:437:5: warning: implicit declaration of function 'rstat_bar_items' is invalid in C99 [-Wimplicit-function-declaration]
barItems(nbars, nbaritems);
^
xcpustate.c:105:64: note: expanded from macro 'barItems'
#define barItems(n,ni) if(NULL==rstathost)bar_items(n,ni);else rstat_bar_items(n,ni)
^
--- s.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c s.c -o s.o
In file included from s.c:58:
./s-bsd44.c:106:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
exit(1);
^
./s-bsd44.c:106:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
--- xcpustate.o ---
4 warnings generated.
--- s.o ---
1 warning generated.
--- rstat_clnt.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c rstat_clnt.c -o rstat_clnt.o
--- rstat.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c rstat.c -o rstat.o
In file included from rstat.c:15:
./rstat.h:6:2: error: unterminated conditional directive
#ifndef _RSTAT_H_RPCGEN
^
./rstat.h:166:9: error: unknown type name 'bool_'; did you mean 'bool_t'?
extern bool_
^~~~~
bool_t
/usr/include/rpc/types.h:46:17: note: 'bool_t' declared here
typedef int32_t bool_t;
^
rstat.c:30:1: error: cannot combine with previous 'type-name' declaration specifier
int ncpu; /* number of CPUs */
^
rstat.c:67:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
exit(1);
^
rstat.c:67:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
rstat.c:115:8: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
(void)strcpy(hname, rstathost);
^
rstat.c:115:8: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
rstat.c:126:28: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
names[base+i] = xmalloc(strlen(buf) + 1);
^
rstat.c:126:28: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
3 warnings and 3 errors generated.
*** [rstat.o] Error code 1
make[1]: stopped in /wrkdirs/usr/ports/sysutils/xcpustate/work/xcpustate-2.9_3
1 error
make[1]: stopped in /wrkdirs/usr/ports/sysutils/xcpustate/work/xcpustate-2.9_3
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/xcpustate