+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/i3status-2.14nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/i3status-2.14nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for i3status-2.14nb3 cd /home/pbulk/build/sysutils/i3status/work/i3status-2.14 && cd . && /usr/bin/env USETOOLS=no CMAKE=false CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include CPPFLAGS=-I/opt/pkg/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/sysutils/i3status/work/.cwrapper/bin:/home/pbulk/build/sysutils/i3status/work/.buildlink/bin:/home/pbulk/build/sysutils/i3status/work/.gcc/bin:/home/pbulk/build/sysutils/i3status/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg CXXCPP=cpp HOME=/home/pbulk/build/sysutils/i3status/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/i3status/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/sysutils/i3status/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/sysutils/i3status/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/sysutils/i3status/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/sysutils/i3status/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/sysutils/i3status/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/sysutils/i3status/work/.buildlink/lib/pkgconfig:/home/pbulk/build/sysutils/i3status/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/sysutils/i3status/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/i3status/work/.cwrapper/config ninja -j 8 -C output ninja: Entering directory `output' [1/26] Generating run-tests with a custom command [2/26] Generating config.h with a custom command [3/26] Compiling C object i3status.p/i3status.c.o FAILED: i3status.p/i3status.c.o gcc -Ii3status.p -I. -I.. -I../include -I/opt/pkg/include -I/opt/pkg/include/yajl -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -O0 -Wunused-value -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -MD -MQ i3status.p/i3status.c.o -MF i3status.p/i3status.c.o.d -o i3status.p/i3status.c.o -c ../i3status.c ../i3status.c: In function 'parse_align': ../i3status.c:106:9: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 106 | if (strcasecmp(value, "left") != 0 && strcasecmp(value, "right") != 0 && strcasecmp(value, "center") != 0) | ^~~~~~~~~~ | strncmp ../i3status.c: In function 'get_config_path': ../i3status.c:194:9: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 194 | if (asprintf(&config_path, "%s/i3status/config", xdg_config_home) == -1) | ^~~~~~~~ | vsprintf ../i3status.c:211:17: warning: implicit declaration of function 'strdup'; did you mean 'sstrdup'? [-Wimplicit-function-declaration] 211 | char *buf = strdup(xdg_config_dirs); | ^~~~~~ | sstrdup ../i3status.c:211:17: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] ../i3status.c: In function 'main': ../i3status.c:487:22: error: storage size of 'action' isn't known 487 | struct sigaction action; | ^~~~~~ ../i3status.c:488:31: error: invalid application of 'sizeof' to incomplete type 'struct sigaction' 488 | memset(&action, 0, sizeof(struct sigaction)); | ^~~~~~ ../i3status.c:496:5: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration] 496 | sigaction(SIGPIPE, &action, NULL); | ^~~~~~~~~ ../i3status.c:500:31: error: invalid application of 'sizeof' to incomplete type 'struct sigaction' 500 | memset(&action, 0, sizeof(struct sigaction)); | ^~~~~~ ../i3status.c:977:9: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] 977 | nanosleep(&ts, NULL); | ^~~~~~~~~ ../i3status.c:487:22: warning: unused variable 'action' [-Wunused-variable] 487 | struct sigaction action; | ^~~~~~ [4/26] Compiling C object i3status.p/src_auto_detect_format.c.o ../src/auto_detect_format.c: In function 'parse_proc_stat': ../src/auto_detect_format.c:43:16: warning: implicit declaration of function 'strdup'; did you mean 'sstrdup'? [-Wimplicit-function-declaration] 43 | *outname = strdup(leftbracket + 1); | ^~~~~~ | sstrdup ../src/auto_detect_format.c:43:14: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 43 | *outname = strdup(leftbracket + 1); | ^ ../src/auto_detect_format.c: In function 'format_for_process': ../src/auto_detect_format.c:48:9: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 48 | if (strcasecmp(name, "i3bar") == 0 || strcasecmp(name, "swaybar") == 0) | ^~~~~~~~~~ | strncmp ../src/auto_detect_format.c: In function 'auto_detect_format': ../src/auto_detect_format.c:129:17: warning: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration] 129 | usleep(50); | ^~~~~~ | sleep [5/26] Compiling C object i3status.p/src_general.c.o ../src/general.c: In function 'slurp': ../src/general.c:31:15: warning: implicit declaration of function 'open'; did you mean 'fopen'? [-Wimplicit-function-declaration] 31 | if ((fd = open(filename, O_RDONLY)) == -1) | ^~~~ | fopen ../src/general.c: In function 'resolve_tilde': ../src/general.c:54:12: warning: implicit declaration of function 'strndup'; did you mean 'sstrdup'? [-Wimplicit-function-declaration] 54 | head = strndup(path, tail ? (size_t)(tail - path) : strlen(path)); | ^~~~~~~ | sstrdup ../src/general.c:54:10: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 54 | head = strndup(path, tail ? (size_t)(tail - path) : strlen(path)); | ^ ../src/general.c: In function 'sstrdup': ../src/general.c:80:20: warning: implicit declaration of function 'strdup'; did you mean 'sstrdup'? [-Wimplicit-function-declaration] 80 | char *result = strdup(str); | ^~~~~~ | sstrdup ../src/general.c:80:20: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] [6/26] Compiling C object i3status.p/src_first_network_device.c.o ../src/first_network_device.c: In function 'is_virtual': ../src/first_network_device.c:64:19: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration] 64 | if ((target = realpath(path, NULL))) { | ^~~~~~~~ ../src/first_network_device.c:64:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 64 | if ((target = realpath(path, NULL))) { | ^ ../src/first_network_device.c: In function 'first_eth_interface': ../src/first_network_device.c:170:13: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 170 | if (strncasecmp(LOOPBACK_DEV, addrp->ifa_name, strlen(LOOPBACK_DEV)) == 0) | ^~~~~~~~~~~ | strncmp ../src/first_network_device.c:190:21: warning: implicit declaration of function 'strdup'; did you mean 'sstrdup'? [-Wimplicit-function-declaration] 190 | interface = strdup(addrp->ifa_name); | ^~~~~~ | sstrdup ../src/first_network_device.c:190:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 190 | interface = strdup(addrp->ifa_name); | ^ [7/26] Compiling C object i3status.p/src_output.c.o [8/26] Compiling C object i3status.p/src_print_battery_info.c.o ../src/print_battery_info.c: In function 'slurp_battery_info': ../src/print_battery_info.c:139:11: warning: unused variable 'outwalk' [-Wunused-variable] 139 | char *outwalk = buffer; | ^~~~~~~ ../src/print_battery_info.c: In function 'print_battery_info': ../src/print_battery_info.c:650:52: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 650 | if (batt_info.percentage_remaining >= 0 && strcasecmp(ctx->threshold_type, "percentage") == 0 && batt_info.percentage_remaining < ctx->low_threshold) { | ^~~~~~~~~~ | strncmp [9/26] Compiling C object i3status.p/src_format_placeholders.c.o [10/26] Compiling C object i3status.p/src_print_cpu_temperature.c.o ../src/print_cpu_temperature.c:57:12: warning: 'read_temperature' defined but not used [-Wunused-function] 57 | static int read_temperature(char *thermal_zone, temperature_t *temperature) { | ^~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/i3status *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/i3status