+ 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/openrrcp-0.2.1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openrrcp-0.2.1/work.log ===> Building for openrrcp-0.2.1 --- all --- cd src && make --- rtl83xx --- --- rrcpcli --- --- rtl83xx --- gcc `/bin/sh Makefile-helper.sh` rtl83xx.c rrcp_io.c rrcp_switches.c rrcp_config.c -o ../bin/rtl83xx --- rrcpcli --- gcc `/bin/sh Makefile-helper.sh` rrcp_cli.c rrcp_cli_cmd_show.c rrcp_cli_cmd_config.c rrcp_cli_cmd_config_int.c rrcp_cli_cmd_other.c rrcp_config.c rrcp_io.c rrcp_lib.c rrcp_switches.c ../lib/libcli.c -lcrypt -o ../bin/rrcpcli rrcp_cli.c: In function 'main': rrcp_cli.c:249:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] 249 | int n; | ^ --- rtl83xx --- rtl83xx.c: In function 'str_portlist_to_array': rtl83xx.c:368:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 368 | bzero(d,sizeof(d)); | ^~~~~ rtl83xx.c:368:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] rtl83xx.c: In function 'do_alt_config': rtl83xx.c:714:6: warning: type of 'mode' defaults to 'int' [-Wimplicit-int] 714 | void do_alt_config(mode){ | ^~~~~~~~~~~~~ rtl83xx.c: In function 'main': rtl83xx.c:951:12: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 951 | if ((p=rindex(p,'/'))==NULL){ | ^~~~~~ rtl83xx.c:951:12: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] rrcp_io.c:37:10: fatal error: pcap.h: No such file or directory 37 | #include <pcap.h> | ^~~~~~~~ compilation terminated. *** [rtl83xx] Error code 1 make[1]: stopped making "all" in /home/pbulk/build/net/openrrcp/work/openrrcp-0.2.1/src --- rrcpcli --- rrcp_io.c:37:10: fatal error: pcap.h: No such file or directory 37 | #include <pcap.h> | ^~~~~~~~ compilation terminated. rrcp_lib.c: In function 'str_portlist_to_array': rrcp_lib.c:42:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 42 | bzero(d,sizeof(d)); | ^~~~~ rrcp_lib.c:42:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] rrcp_lib.c: In function 'str_portlist_to_array_by_value': rrcp_lib.c:78:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 78 | bzero(d,sizeof(d)); | ^~~~~ ../lib/libcli.c: In function 'cli_get_completions': ../lib/libcli.c:804:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 804 | if ((l=(unsigned int)strchr(sp,' '))==0) break; | ^ ../lib/libcli.c:805:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 805 | l-=(unsigned int)sp; | ^ ../lib/libcli.c: In function 'pass_matches': ../lib/libcli.c:865:23: warning: implicit declaration of function 'crypt' [-Wimplicit-function-declaration] 865 | try = crypt(try, pass); | ^~~~~ ../lib/libcli.c:865:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 865 | try = crypt(try, pass); | ^ ../lib/libcli.c: In function 'cli_loop': ../lib/libcli.c:901:9: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 901 | memset(cli->history, 0, MAX_HISTORY); | ^~~~~~ ../lib/libcli.c: In function 'cli_add_history': ../lib/libcli.c:477:47: warning: iteration 255 invokes undefined behavior [-Waggressive-loop-optimizations] 477 | cli->history[i] = cli->history[i+1]; | ~~~~~~~~~~~~^~~~~ ../lib/libcli.c:476:23: note: within this loop 476 | for (i = 0; i < MAX_HISTORY; i++) *** [rrcpcli] Error code 1 make[1]: stopped making "all" in /home/pbulk/build/net/openrrcp/work/openrrcp-0.2.1/src make[1]: 2 errors make[1]: stopped making "all" in /home/pbulk/build/net/openrrcp/work/openrrcp-0.2.1/src *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/net/openrrcp/work/openrrcp-0.2.1 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/openrrcp/work/openrrcp-0.2.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/openrrcp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/openrrcp