------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for slurm-0.4.4_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/net/slurm XDG_CONFIG_HOME=/construction/net/slurm XDG_CACHE_HOME=/construction/net/slurm/.cache HOME=/construction/net/slurm TMPDIR="/tmp" PATH=/construction/net/slurm/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/slurm/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --prefix /usr/local --mandir man --infodir share/info --auto-features=enabled -Db_colorout=never --buildtype release --strip _build SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/construction/net/slurm XDG_CONFIG_HOME=/construction/net/slurm XDG_CACHE_HOME=/construction/net/slurm/.cache HOME=/construction/net/slurm TMPDIR="/tmp" PATH=/construction/net/slurm/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/slurm/.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 CCVER=gcc80 DESTDIR=/construction/net/slurm/stage LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- -v SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/slurm" EXAMPLESDIR="share/examples/slurm" DATADIR="share/slurm" WWWDIR="www/slurm" ETCDIR="etc/slurm" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/slurm DOCSDIR=/usr/local/share/doc/slurm EXAMPLESDIR=/usr/local/share/examples/slurm WWWDIR=/usr/local/www/slurm ETCDIR=/usr/local/etc/slurm SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- UNFLAVORED devel/meson -> use devel/meson@py39 Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/libffi-3.4.4.pkg Installing /packages/All/expat-2.5.0.pkg Installing /packages/All/mpdecimal-2.5.1.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/readline-8.2.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/python39-3.9.17.pkg ===== Message from python39-3.9.17: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 Installing /packages/All/py39-setuptools-63.1.0_1.pkg Installing /packages/All/py39-wheel-0.40.0_1.pkg Installing /packages/All/py39-packaging-23.1.pkg Installing /packages/All/py39-tomli-2.0.1_2.pkg Installing /packages/All/py39-pyproject_hooks-1.0.0_2.pkg Installing /packages/All/py39-build-0.10.0_2.pkg Installing /packages/All/py39-installer-0.7.0.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/ninja-1.11.1,2.pkg Installing /packages/All/meson-1.1.1.pkg Installing /packages/All/pkgconf-1.8.1,1.pkg UNFLAVORED devel/meson -> use devel/meson@py39 SUCCEEDED 00:00:08 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> slurm-0.4.4_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> slurm-0.4.4_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by slurm-0.4.4_1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> slurm-0.4.4_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by slurm-0.4.4_1 for building => SHA256 Checksum OK for mattthias-slurm-upstream-0.4.4_GH0.tar.gz. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> slurm-0.4.4_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by slurm-0.4.4_1 for building ===> Extracting for slurm-0.4.4_1 => SHA256 Checksum OK for mattthias-slurm-upstream-0.4.4_GH0.tar.gz. Extracted Memory Use: 0.73M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for slurm-0.4.4_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> slurm-0.4.4_1 depends on executable: meson - found ===> slurm-0.4.4_1 depends on executable: ninja - found ===> slurm-0.4.4_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> slurm-0.4.4_1 depends on package: pkgconf>=1.3.0_1 - found ===> slurm-0.4.4_1 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> slurm-0.4.4_1 depends on executable: meson - found ===> slurm-0.4.4_1 depends on executable: ninja - found ===> slurm-0.4.4_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> slurm-0.4.4_1 depends on package: pkgconf>=1.3.0_1 - found ===> slurm-0.4.4_1 depends on file: /usr/local/bin/ccache - found ===> Configuring for slurm-0.4.4_1 The Meson build system Version: 1.1.1 Source dir: /construction/net/slurm/slurm-upstream-0.4.4 Build dir: /construction/net/slurm/slurm-upstream-0.4.4/_build Build type: native build Project name: slurm Project version: undefined C compiler for the host machine: cc (gcc 8.3.0 "cc 8.3 [DragonFly] Release/2019-02-22") C linker for the host machine: cc ld.gold 2.34 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /usr/local/bin/pkgconf (1.8.1) Run-time dependency curses found: YES 6.4.20221231 Build targets in project: 1 slurm undefined User defined options auto_features: enabled buildtype : release infodir : share/info mandir : man prefix : /usr/local strip : True b_colorout : never Found ninja-1.11.1 at /usr/local/bin/ninja WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. SUCCEEDED 00:00:13 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for slurm-0.4.4_1 [ 50% 1/2] cc -Islurm.p -I. -I.. -I/usr/local/include/ncurses -I/usr/local/include -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -D_HAVE_NCURSES -pipe -O2 -fno-strict-aliasing -DNCURSES_WIDECHAR -MD -MQ slurm.p/slurm.c.o -MF slurm.p/slurm.c.o.d -o slurm.p/slurm.c.o -c ../slurm.c FAILED: slurm.p/slurm.c.o cc -Islurm.p -I. -I.. -I/usr/local/include/ncurses -I/usr/local/include -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -D_HAVE_NCURSES -pipe -O2 -fno-strict-aliasing -DNCURSES_WIDECHAR -MD -MQ slurm.p/slurm.c.o -MF slurm.p/slurm.c.o.d -o slurm.p/slurm.c.o -c ../slurm.c In file included from ../slurm.c:37: ../os.h:256:2: error: #error "Your OS is not supported! Please report to hscholz@raisdorf.net" #error "Your OS is not supported! Please report to hscholz@raisdorf.net" ^~~~~ In file included from ../slurm.c:40: ../slurm.h:68:2: warning: #warning "setting buf size to 1024" [-Wcpp] #warning "setting buf size to 1024" ^~~~~~~ In file included from ../slurm.c:45: ../error.c: In function 'error': ../error.c:24:5: error: unknown type name 'va_list' va_list arguments; ^~~~~~~ ../error.c:24:5: note: 'va_list' is defined in header ''; did you forget to '#include '? ../error.c:1:1: +#include /***************************************************************************** ../error.c:24:5: va_list arguments; ^~~~~~~ ../error.c:26:5: warning: implicit declaration of function 'va_start'; did you mean 'get_stat'? [-Wimplicit-function-declaration] va_start(arguments, msg); ^~~~~~~~ get_stat ../error.c:31:13: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration] fprintf(stderr, "DEBUG: "); ^~~~~~~ ../error.c:31:13: warning: incompatible implicit declaration of built-in function 'fprintf' ../error.c:31:13: note: include '' or provide a declaration of 'fprintf' ../error.c:1:1: +#include /***************************************************************************** ../error.c:31:13: fprintf(stderr, "DEBUG: "); ^~~~~~~ ../error.c:31:21: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "DEBUG: "); ^~~~~~ ../error.c:31:21: note: 'stderr' is defined in header ''; did you forget to '#include '? ../error.c:31:21: note: each undeclared identifier is reported only once for each function it appears in ../error.c:34:9: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(stderr, "NOTICE: "); ^~~~~~~ ../error.c:34:9: note: include '' or provide a declaration of 'fprintf' ../error.c:47:5: warning: implicit declaration of function 'vfprintf' [-Wimplicit-function-declaration] vfprintf(stderr, msg, arguments); ^~~~~~~~ ../error.c:48:5: warning: implicit declaration of function 'va_end' [-Wimplicit-function-declaration] va_end(arguments); ^~~~~~ ../error.c:49:5: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(stderr, "\n"); ^~~~~~~ ../error.c:49:5: note: include '' or provide a declaration of 'fprintf' ../error.c:51:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ ../error.c:51:9: warning: incompatible implicit declaration of built-in function 'exit' ../error.c:51:9: note: include '' or provide a declaration of 'exit' ../error.c:1:1: +#include /***************************************************************************** ../error.c:51:9: exit(1); ^~~~ In file included from ../slurm.c:47: ../theme.c: In function 'theme_setdefault': ../theme.c:22:14: error: 'NULL' undeclared (first use in this function) if (t == NULL) ^~~~ ../theme.c:22:14: note: 'NULL' is defined in header ''; did you forget to '#include '? ../theme.c:1:1: +#include /****************************************************************************** ../theme.c:22:14: if (t == NULL) ^~~~ ../theme.c: In function 'theme_readfile': ../theme.c:49:5: error: unknown type name 'FILE' FILE *f; ^~~~ ../theme.c:49:5: note: 'FILE' is defined in header ''; did you forget to '#include '? ../theme.c:1:1: +#include /****************************************************************************** ../theme.c:49:5: FILE *f; ^~~~ ../theme.c:66:23: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] search_paths[1] = strcat(getenv("HOME"), "/.slurm"); /* $HOME/.slurm/ */ ^~~~~~ ../theme.c:66:23: warning: incompatible implicit declaration of built-in function 'strcat' ../theme.c:66:23: note: include '' or provide a declaration of 'strcat' ../theme.c:1:1: +#include /****************************************************************************** ../theme.c:66:23: search_paths[1] = strcat(getenv("HOME"), "/.slurm"); /* $HOME/.slurm/ */ ^~~~~~ ../theme.c:66:30: warning: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] search_paths[1] = strcat(getenv("HOME"), "/.slurm"); /* $HOME/.slurm/ */ ^~~~~~ ../theme.c:66:30: warning: passing argument 1 of 'strcat' makes pointer from integer without a cast [-Wint-conversion] search_paths[1] = strcat(getenv("HOME"), "/.slurm"); /* $HOME/.slurm/ */ ^~~~~~~~~~~~~~ ../theme.c:66:30: note: expected 'char *' but argument is of type 'int' ../theme.c:72:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero(&filename, BUFSIZ); ^~~~~ ../theme.c:72:9: warning: incompatible implicit declaration of built-in function 'bzero' ../theme.c:73:9: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] snprintf(filename, BUFSIZ, "%s/%s.theme", search_paths[iter], ^~~~~~~~ ../theme.c:73:9: warning: incompatible implicit declaration of built-in function 'snprintf' ../theme.c:73:9: note: include '' or provide a declaration of 'snprintf' ../theme.c:76:18: warning: implicit declaration of function 'fopen' [-Wimplicit-function-declaration] if ((f = fopen(filename, "r")) != NULL) { ^~~~~ ../theme.c:76:18: note: 'fopen' is defined in header ''; did you forget to '#include '? ../theme.c:76:16: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((f = fopen(filename, "r")) != NULL) { ^ ../theme.c:76:43: error: 'NULL' undeclared (first use in this function) if ((f = fopen(filename, "r")) != NULL) { ^~~~ ../theme.c:76:43: note: 'NULL' is defined in header ''; did you forget to '#include '? ../theme.c:83:12: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] if ((f = fopen(filename, "r")) == NULL) { ^ ../theme.c:88:12: warning: implicit declaration of function 'fgets' [-Wimplicit-function-declaration] while (fgets(buf, BUFSIZ, f) != NULL) { ^~~~~ ../theme.c:89:14: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(buf, "#", 1)) ^~~~~~~ ../theme.c:92:16: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] while (isspace((int) *p) && (*p + 1 != '\0')) ^~~~~~~ ../theme.c:95:16: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] while (isalpha((int) *p) && (*p + 1 != '\0')) ^~~~~~~ ../theme.c:167:5: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration] fclose(f); ^~~~~~ ../theme.c: In function 'theme_mapattrib': ../theme.c:185:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strlen(str) > 31) ^~~~~~ ../theme.c:185:9: warning: incompatible implicit declaration of built-in function 'strlen' ../theme.c:185:9: note: include '' or provide a declaration of 'strlen' ../theme.c:187:5: warning: incompatible implicit declaration of built-in function 'bzero' bzero(&buf, 31); ^~~~~ ../theme.c:188:21: warning: incompatible implicit declaration of built-in function 'strlen' for (i = 0; i < strlen(str); i++) ^~~~~~ ../theme.c:188:21: note: include '' or provide a declaration of 'strlen' ../theme.c:189:18: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] buf[i] = toupper((int) str[i]); ^~~~~~~ ../theme.c:192:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(buf, "BOLD")) ^~~~~~ ../theme.c: In function 'theme_mapcolor': ../theme.c:216:9: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(str) > 31) ^~~~~~ ../theme.c:216:9: note: include '' or provide a declaration of 'strlen' ../theme.c:218:5: warning: incompatible implicit declaration of built-in function 'bzero' bzero(&buf, 31); ^~~~~ ../theme.c:219:21: warning: incompatible implicit declaration of built-in function 'strlen' for (i = 0; i < strlen(str); i++) ^~~~~~ ../theme.c:219:21: note: include '' or provide a declaration of 'strlen' ../theme.c: In function 'theme_mapkey': ../theme.c:259:9: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(str) > 31) ^~~~~~ ../theme.c:259:9: note: include '' or provide a declaration of 'strlen' ../theme.c:261:5: warning: incompatible implicit declaration of built-in function 'bzero' bzero(&buf, 31); ^~~~~ ../theme.c:262:21: warning: incompatible implicit declaration of built-in function 'strlen' for (i = 0; i < strlen(str); i++) ^~~~~~ ../theme.c:262:21: note: include '' or provide a declaration of 'strlen' In file included from ../slurm.c:72: ../src/freebsd.c: In function 'checkinterface': ../src/freebsd.c:17:5: error: unknown type name 'size_t' size_t len; ^~~~~~ ../src/freebsd.c:17:5: note: 'size_t' is defined in header ''; did you forget to '#include '? ../src/freebsd.c:1:1: +#include /* $Id: freebsd.c,v 1.8 2003/02/23 17:26:02 hscholz Exp $ */ ../src/freebsd.c:17:5: size_t len; ^~~~~~ ../src/freebsd.c:19:22: error: storage size of 'ifmd' isn't known struct ifmibdata ifmd; ^~~~ ../src/freebsd.c:22:5: warning: implicit declaration of function 'sysctlbyname' [-Wimplicit-function-declaration] sysctlbyname("net.link.generic.system.ifcount", &num_iface, &len, NULL, ^~~~~~~~~~~~ ../src/freebsd.c:22:71: error: 'NULL' undeclared (first use in this function) sysctlbyname("net.link.generic.system.ifcount", &num_iface, &len, NULL, ^~~~ ../src/freebsd.c:22:71: note: 'NULL' is defined in header ''; did you forget to '#include '? ../src/freebsd.c:25:19: error: 'CTL_NET' undeclared (first use in this function) name[0] = CTL_NET; ^~~~~~~ ../src/freebsd.c:26:19: error: 'PF_LINK' undeclared (first use in this function) name[1] = PF_LINK; ^~~~~~~ ../src/freebsd.c:27:19: error: 'NETLINK_GENERIC' undeclared (first use in this function) name[2] = NETLINK_GENERIC; ^~~~~~~~~~~~~~~ ../src/freebsd.c:28:19: error: 'IFMIB_IFDATA' undeclared (first use in this function) name[3] = IFMIB_IFDATA; ^~~~~~~~~~~~ ../src/freebsd.c:30:19: error: 'IFDATA_GENERAL' undeclared (first use in this function) name[5] = IFDATA_GENERAL; ^~~~~~~~~~~~~~ ../src/freebsd.c:33:9: warning: implicit declaration of function 'sysctl' [-Wimplicit-function-declaration] sysctl(name, 6, &ifmd, &len, NULL, 0); ^~~~~~ ../src/freebsd.c:41:35: error: 'IFF_UP' undeclared (first use in this function) if (ifmd.ifmd_flags & IFF_UP) ^~~~~~ ../src/freebsd.c:19:22: warning: unused variable 'ifmd' [-Wunused-variable] struct ifmibdata ifmd; ^~~~ ../src/freebsd.c: In function 'get_stat': ../src/freebsd.c:67:5: error: unknown type name 'size_t' size_t len; ^~~~~~ ../src/freebsd.c:67:5: note: 'size_t' is defined in header ''; did you forget to '#include '? ../src/freebsd.c:69:22: error: storage size of 'ifmd' isn't known struct ifmibdata ifmd; ^~~~ ../src/freebsd.c:76:22: error: 'NULL' undeclared (first use in this function) NULL, 0); ^~~~ ../src/freebsd.c:76:22: note: 'NULL' is defined in header ''; did you forget to '#include '? ../src/freebsd.c:78:23: error: 'CTL_NET' undeclared (first use in this function) name[0] = CTL_NET; ^~~~~~~ ../src/freebsd.c:79:23: error: 'PF_LINK' undeclared (first use in this function) name[1] = PF_LINK; ^~~~~~~ ../src/freebsd.c:80:23: error: 'NETLINK_GENERIC' undeclared (first use in this function) name[2] = NETLINK_GENERIC; ^~~~~~~~~~~~~~~ ../src/freebsd.c:81:23: error: 'IFMIB_IFDATA' undeclared (first use in this function) name[3] = IFMIB_IFDATA; ^~~~~~~~~~~~ ../src/freebsd.c:83:23: error: 'IFDATA_GENERAL' undeclared (first use in this function) name[5] = IFDATA_GENERAL; ^~~~~~~~~~~~~~ ../src/freebsd.c:69:22: warning: unused variable 'ifmd' [-Wunused-variable] struct ifmibdata ifmd; ^~~~ ../slurm.c: In function 'center': ../slurm.c:92:5: error: unknown type name 'va_list' va_list trans; ^~~~~~~ ../slurm.c:92:5: note: 'va_list' is defined in header ''; did you forget to '#include '? ../slurm.c:73:1: +#include #else ../slurm.c:92:5: va_list trans; ^~~~~~~ ../slurm.c:94:13: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] final = malloc(80); ^~~~~~ ../slurm.c:94:13: warning: incompatible implicit declaration of built-in function 'malloc' ../slurm.c:94:13: note: include '' or provide a declaration of 'malloc' ../slurm.c:73:1: +#include #else ../slurm.c:94:13: final = malloc(80); ^~~~~~ ../slurm.c:96:12: warning: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration] (void) vsnprintf(final, 80, strg, trans); ^~~~~~~~~ ../slurm.c:98:26: warning: incompatible implicit declaration of built-in function 'strlen' where = (int) (40 - (strlen(final) / 2)); ^~~~~~ ../slurm.c:98:26: note: include '' or provide a declaration of 'strlen' ../slurm.c:73:1: +#include #else ../slurm.c:98:26: where = (int) (40 - (strlen(final) / 2)); ^~~~~~ ../slurm.c:100:9: warning: implicit declaration of function 'move' [-Wimplicit-function-declaration] move(line, 20); ^~~~ ../slurm.c:101:9: warning: implicit declaration of function 'hline' [-Wimplicit-function-declaration] hline(32, 50); ^~~~~ ../slurm.c:103:5: warning: implicit declaration of function 'mvprintw' [-Wimplicit-function-declaration] mvprintw(line, where, "%s", final); ^~~~~~~~ ../slurm.c:104:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(final); ^~~~ ../slurm.c:104:5: warning: incompatible implicit declaration of built-in function 'free' ../slurm.c:104:5: note: include '' or provide a declaration of 'free' ../slurm.c: In function 'get_time': ../slurm.c:118:26: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] stats.current_time = time(NULL); ^~~~ ../slurm.c:118:31: error: 'NULL' undeclared (first use in this function) stats.current_time = time(NULL); ^~~~ ../slurm.c:118:31: note: 'NULL' is defined in header ''; did you forget to '#include '? ../slurm.c:73:1: +#include #else ../slurm.c:118:31: stats.current_time = time(NULL); ^~~~ ../slurm.c: In function 'update_info': ../slurm.c:139:5: warning: implicit declaration of function 'attrset' [-Wimplicit-function-declaration] attrset(COLOR_PAIR(PAIR_VAR) | ^~~~~~~ ../slurm.c:139:13: warning: implicit declaration of function 'COLOR_PAIR'; did you mean 'COLOR_BLACK'? [-Wimplicit-function-declaration] attrset(COLOR_PAIR(PAIR_VAR) | ^~~~~~~~~~ COLOR_BLACK ../slurm.c:141:43: error: 'A_BOLD' undeclared (first use in this function); did you mean 'COL_BOLD'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~ COL_BOLD ../slurm.c:141:52: error: 'A_NORMAL' undeclared (first use in this function); did you mean 'COL_NORMAL'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~~~ COL_NORMAL ../slurm.c:143:9: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(draw, DRAWLEN - 1, "%lu", ^~~~~~~~ ../slurm.c:143:9: note: include '' or provide a declaration of 'snprintf' ../slurm.c:73:1: +#include #else ../slurm.c:143:9: snprintf(draw, DRAWLEN - 1, "%lu", ^~~~~~~~ ../slurm.c:145:9: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] strncat(draw, " ", DRAWLEN - strlen(draw)); ^~~~~~~ ../slurm.c:145:9: warning: incompatible implicit declaration of built-in function 'strncat' ../slurm.c:145:9: note: include '' or provide a declaration of 'strncat' ../slurm.c:145:52: warning: incompatible implicit declaration of built-in function 'strlen' strncat(draw, " ", DRAWLEN - strlen(draw)); ^~~~~~ ../slurm.c:145:52: note: include '' or provide a declaration of 'strlen' ../slurm.c: In function 'update_stat_large': ../slurm.c:319:5: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(draw, DRAWLEN - 1, "%.2f KB/s", (float) rxspeed / 1024); ^~~~~~~~ ../slurm.c:319:5: note: include '' or provide a declaration of 'snprintf' ../slurm.c:320:5: warning: incompatible implicit declaration of built-in function 'strncat' strncat(draw, " ", DRAWLEN - strlen(draw)); ^~~~~~~ ../slurm.c:320:5: note: include '' or provide a declaration of 'strncat' ../slurm.c:320:48: warning: incompatible implicit declaration of built-in function 'strlen' strncat(draw, " ", DRAWLEN - strlen(draw)); ^~~~~~ ../slurm.c:320:48: note: include '' or provide a declaration of 'strlen' ../slurm.c:499:55: error: 'A_BOLD' undeclared (first use in this function); did you mean 'COL_BOLD'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~ COL_BOLD ../slurm.c:499:64: error: 'A_NORMAL' undeclared (first use in this function); did you mean 'COL_NORMAL'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~~~ COL_NORMAL ../slurm.c: In function 'update_stat_split': ../slurm.c:597:43: error: 'A_BOLD' undeclared (first use in this function); did you mean 'COL_BOLD'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~ COL_BOLD ../slurm.c:597:52: error: 'A_NORMAL' undeclared (first use in this function); did you mean 'COL_NORMAL'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~~~ COL_NORMAL ../slurm.c:598:5: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(draw, DRAWLEN - 1, "%.2f KB/s ", rxspeed / 1024); ^~~~~~~~ ../slurm.c:598:5: note: include '' or provide a declaration of 'snprintf' ../slurm.c:599:5: warning: incompatible implicit declaration of built-in function 'strncat' strncat(draw, " ", DRAWLEN - strlen(draw)); ^~~~~~~ ../slurm.c:599:5: note: include '' or provide a declaration of 'strncat' ../slurm.c:599:48: warning: incompatible implicit declaration of built-in function 'strlen' strncat(draw, " ", DRAWLEN - strlen(draw)); ^~~~~~ ../slurm.c:599:48: note: include '' or provide a declaration of 'strlen' ../slurm.c: In function 'update_stat_combined': ../slurm.c:879:5: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(draw, DRAWLEN - 1, "%.2f KB/s", sumspeed / 1024); ^~~~~~~~ ../slurm.c:879:5: note: include '' or provide a declaration of 'snprintf' ../slurm.c:880:5: warning: incompatible implicit declaration of built-in function 'strncat' strncat(draw, " ", DRAWLEN - strlen(draw)); ^~~~~~~ ../slurm.c:880:5: note: include '' or provide a declaration of 'strncat' ../slurm.c:880:48: warning: incompatible implicit declaration of built-in function 'strlen' strncat(draw, " ", DRAWLEN - strlen(draw)); ^~~~~~ ../slurm.c:880:48: note: include '' or provide a declaration of 'strlen' ../slurm.c:1005:55: error: 'A_BOLD' undeclared (first use in this function); did you mean 'COL_BOLD'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~ COL_BOLD ../slurm.c:1005:64: error: 'A_NORMAL' undeclared (first use in this function); did you mean 'COL_NORMAL'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~~~ COL_NORMAL ../slurm.c: In function 'usage': ../slurm.c:1024:5: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(stderr, "slurm %s - https://github.com/mattthias/slurm\n\n" ^~~~~~~ ../slurm.c:1024:5: note: include '' or provide a declaration of 'fprintf' ../slurm.c:1024:13: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "slurm %s - https://github.com/mattthias/slurm\n\n" ^~~~~~ ../slurm.c:1024:13: note: 'stderr' is defined in header ''; did you forget to '#include '? ../slurm.c:1038:5: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(code); ^~~~~ ../slurm.c:1038:5: warning: incompatible implicit declaration of built-in function '_exit' ../slurm.c: In function 'draw_face': ../slurm.c:1055:43: error: 'A_BOLD' undeclared (first use in this function); did you mean 'COL_BOLD'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~ COL_BOLD ../slurm.c:1055:52: error: 'A_NORMAL' undeclared (first use in this function); did you mean 'COL_NORMAL'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~~~ COL_NORMAL ../slurm.c:1061:5: warning: implicit declaration of function 'refresh' [-Wimplicit-function-declaration] refresh(); ^~~~~~~ ../slurm.c: In function 'main': ../slurm.c:1160:20: error: 'NULL' undeclared (first use in this function) char *themep = NULL; ^~~~ ../slurm.c:1160:20: note: 'NULL' is defined in header ''; did you forget to '#include '? ../slurm.c:1171:9: warning: implicit declaration of function 'gethostname'; did you mean 'get_time'? [-Wimplicit-function-declaration] if (gethostname(hostname, MAXHOSTNAMELEN) != 0) ^~~~~~~~~~~ get_time ../slurm.c:1175:18: warning: implicit declaration of function 'getopt'; did you mean 'get_stat'? [-Wimplicit-function-declaration] while ((op = getopt(argc, argv, "Lhzd:clsi:t:")) != EOF) { ^~~~~~ get_stat ../slurm.c:1175:57: error: 'EOF' undeclared (first use in this function) while ((op = getopt(argc, argv, "Lhzd:clsi:t:")) != EOF) { ^~~ ../slurm.c:1175:57: note: 'EOF' is defined in header ''; did you forget to '#include '? ../slurm.c:1179:13: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf((char *) ifdata.if_name, ^~~~~~~~ ../slurm.c:1179:13: note: include '' or provide a declaration of 'snprintf' ../slurm.c:1180:23: error: 'size_t' undeclared (first use in this function) (size_t) sizeof(ifdata.if_name), "%s", optarg); ^~~~~~ ../slurm.c:1180:23: note: 'size_t' is defined in header ''; did you forget to '#include '? ../slurm.c:1180:30: error: expected ')' before 'sizeof' (size_t) sizeof(ifdata.if_name), "%s", optarg); ^~~~~~~ ) ../slurm.c:1179:13: error: too few arguments to function 'snprintf' snprintf((char *) ifdata.if_name, ^~~~~~~~ ../slurm.c:1199:24: warning: implicit declaration of function 'atof' [-Wimplicit-function-declaration] tmpdelay = atof(optarg); ^~~~ ../slurm.c:1199:29: error: 'optarg' undeclared (first use in this function) tmpdelay = atof(optarg); ^~~~~~ ../slurm.c:1201:17: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(stderr, ^~~~~~~ ../slurm.c:1201:17: note: include '' or provide a declaration of 'fprintf' ../slurm.c:1201:25: error: 'stderr' undeclared (first use in this function) fprintf(stderr, ^~~~~~ ../slurm.c:1201:25: note: 'stderr' is defined in header ''; did you forget to '#include '? ../slurm.c:1234:9: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(ifdata.if_name) == 0) { ^~~~~~ ../slurm.c:1234:9: note: include '' or provide a declaration of 'strlen' ../slurm.c:1253:9: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(stderr, "specified device does not exist or cannot " ^~~~~~~ ../slurm.c:1253:9: note: include '' or provide a declaration of 'fprintf' ../slurm.c:1256:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ ../slurm.c:1256:9: note: include '' or provide a declaration of 'exit' ../slurm.c:1301:9: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(stderr, "interface '%s' is down\n", ^~~~~~~ ../slurm.c:1301:9: note: include '' or provide a declaration of 'fprintf' ../slurm.c:1308:9: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf((char *) ifdata.if_speedstring, ^~~~~~~~ ../slurm.c:1308:9: note: include '' or provide a declaration of 'snprintf' ../slurm.c:1313:9: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf((char *) ifdata.if_speedstring, ^~~~~~~~ ../slurm.c:1313:9: note: include '' or provide a declaration of 'snprintf' ../slurm.c:1316:9: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf((char *) ifdata.if_speedstring, ^~~~~~~~ ../slurm.c:1316:9: note: include '' or provide a declaration of 'snprintf' ../slurm.c:1329:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("\e(U"); ^~~~~~ ../slurm.c:1329:5: warning: incompatible implicit declaration of built-in function 'printf' ../slurm.c:1329:5: note: include '' or provide a declaration of 'printf' ../slurm.c:1341:5: warning: implicit declaration of function 'initscr' [-Wimplicit-function-declaration] initscr(); ^~~~~~~ ../slurm.c:1342:5: warning: implicit declaration of function 'intrflush' [-Wimplicit-function-declaration] intrflush(stdscr, FALSE); ^~~~~~~~~ ../slurm.c:1342:15: error: 'stdscr' undeclared (first use in this function) intrflush(stdscr, FALSE); ^~~~~~ ../slurm.c:1343:5: warning: implicit declaration of function 'start_color' [-Wimplicit-function-declaration] start_color(); ^~~~~~~~~~~ ../slurm.c:1344:5: warning: implicit declaration of function 'curs_set' [-Wimplicit-function-declaration] curs_set(0); /* Toggle the cursor off */ ^~~~~~~~ ../slurm.c:1345:5: warning: implicit declaration of function 'nonl' [-Wimplicit-function-declaration] nonl(); ^~~~ ../slurm.c:1346:5: warning: implicit declaration of function 'noecho' [-Wimplicit-function-declaration] noecho(); ^~~~~~ ../slurm.c:1347:5: warning: implicit declaration of function 'cbreak' [-Wimplicit-function-declaration] cbreak(); ^~~~~~ ../slurm.c:1348:5: warning: implicit declaration of function 'nodelay' [-Wimplicit-function-declaration] nodelay(stdscr, TRUE); ^~~~~~~ ../slurm.c:1351:9: warning: implicit declaration of function 'use_default_colors' [-Wimplicit-function-declaration] if (use_default_colors() == OK) /* need ncurses for transparency */ ^~~~~~~~~~~~~~~~~~ ../slurm.c:1351:33: error: 'OK' undeclared (first use in this function) if (use_default_colors() == OK) /* need ncurses for transparency */ ^~ ../slurm.c:1355:5: warning: implicit declaration of function 'init_pair' [-Wimplicit-function-declaration] init_pair(PAIR_TEXT, t.text, t.background); ^~~~~~~~~ ../slurm.c:1362:43: error: 'A_BOLD' undeclared (first use in this function); did you mean 'COL_BOLD'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~ COL_BOLD ../slurm.c:1362:52: error: 'A_NORMAL' undeclared (first use in this function); did you mean 'COL_NORMAL'? COL_BOLD) ? A_BOLD : A_NORMAL)); ^~~~~~~~ COL_NORMAL ../slurm.c:1368:5: warning: implicit declaration of function 'signal' [-Wimplicit-function-declaration] signal(SIGHUP, slurm_shutdown); ^~~~~~ ../slurm.c:1368:12: error: 'SIGHUP' undeclared (first use in this function) signal(SIGHUP, slurm_shutdown); ^~~~~~ ../slurm.c:1369:12: error: 'SIGINT' undeclared (first use in this function) signal(SIGINT, slurm_shutdown); ^~~~~~ ../slurm.c:1370:12: error: 'SIGQUIT' undeclared (first use in this function) signal(SIGQUIT, slurm_shutdown); ^~~~~~~ ../slurm.c:1371:12: error: 'SIGKILL' undeclared (first use in this function) signal(SIGKILL, slurm_shutdown); ^~~~~~~ ../slurm.c:1372:12: error: 'SIGTERM' undeclared (first use in this function) signal(SIGTERM, slurm_shutdown); ^~~~~~~ ../slurm.c:1431:13: warning: implicit declaration of function 'usleep'; did you mean 'usage'? [-Wimplicit-function-declaration] usleep(100 * 1000); /* 10th of a second */ ^~~~~~ usage ../slurm.c:1433:27: warning: implicit declaration of function 'getch' [-Wimplicit-function-declaration] key_pressed = getch(); ^~~~~ ../slurm.c:1434:32: error: 'ERR' undeclared (first use in this function); did you mean 'E_RX'? if (key_pressed != ERR) ^~~ E_RX ../slurm.c:1438:35: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] if (key_pressed != ERR && tolower(key_pressed) == 'q') ^~~~~~~ ../slurm.c:1147:10: warning: variable 'old' set but not used [-Wunused-but-set-variable] long old[2]; ^~~ ../slurm.c: In function 'slurm_shutdown': ../slurm.c:1538:5: warning: implicit declaration of function 'endwin' [-Wimplicit-function-declaration] endwin(); ^~~~~~ ../slurm.c:1539:5: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] system("clear"); ^~~~~~ ../slurm.c:1541:5: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(stdout, "slurm %s - " ^~~~~~~ ../slurm.c:1541:5: note: include '' or provide a declaration of 'fprintf' ../slurm.c:1541:13: error: 'stdout' undeclared (first use in this function) fprintf(stdout, "slurm %s - " ^~~~~~ ../slurm.c:1541:13: note: 'stdout' is defined in header ''; did you forget to '#include '? ../slurm.c:1548:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ ../slurm.c:1548:5: note: include '' or provide a declaration of 'exit' ninja: build stopped: subcommand failed. ===> 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 /xports/net/slurm FAILED 00:00:00