+ 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/sdig-0.30nb5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sdig-0.30nb5/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for sdig-0.30nb5 --- sdig.o --- --- common.o --- --- snmpget.o --- --- nbname --- --- sdig.o --- gcc -g -O2 -Wall -DPREFIX="\"/opt/pkg\"" -I/opt/pkg/include -I/usr/include -c sdig.c --- common.o --- gcc -g -O2 -Wall -DPREFIX="\"/opt/pkg\"" -I/opt/pkg/include -I/usr/include -c common.c --- snmpget.o --- gcc -g -O2 -Wall -DPREFIX="\"/opt/pkg\"" -I/opt/pkg/include -I/usr/include -c snmpget.c --- nbname --- gcc -g -O2 -Wall -DPREFIX="\"/opt/pkg\"" -I/opt/pkg/include -I/usr/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o nbname nbname.c --- sdig.o --- sdig.c: In function 'macmfr': sdig.c:363:15: error: passing argument 1 of 'debug' makes integer from pointer without a cast [-Wint-conversion] 363 | debug("looking for MAC prefix [%s] in %s\n", macfind, mactable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * sdig.c:62:16: note: expected 'int' but argument is of type 'char *' 62 | void debug(int level, char *format, ...) | ~~~~^~~~~ sdig.c: In function 'netbiosreverse': sdig.c:399:9: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 399 | bzero(buf, sizeof(buf)); | ^~~~~ sdig.c:399:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] sdig.c: In function 'routerscan': sdig.c:679:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 679 | macaddr = findmac(ipaddr, rtr); | ^ sdig.c: In function 'main': sdig.c:803:35: warning: pointer targets in passing argument 2 of 'switchscan' differ in signedness [-Wpointer-sign] 803 | switchscan(query, macaddr); | ^~~~~~~ | | | char * sdig.c:595:53: note: expected 'unsigned char *' but argument is of type 'char *' 595 | static void switchscan(char *ipaddr, unsigned char *macaddr) | ~~~~~~~~~~~~~~~^~~~~~~ *** [sdig.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/sdig/work/sdig-0.30 --- nbname --- nbname.c: In function 'resolve': nbname.c:70:9: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 70 | bzero ((char *) &sin, sizeof(sin)); | ^~~~~ nbname.c:70:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] nbname.c:71:9: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 71 | bcopy (he->h_addr, (char *) &sin.sin_addr, he->h_length); | ^~~~~ nbname.c:71:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] nbname.c: In function 'main': nbname.c:137:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 137 | bzero((char *) &local, sizeof(local)); | ^~~~~ *** [nbname] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/sdig/work/sdig-0.30 --- snmpget.o --- snmpget.c: In function 'snmpget': snmpget.c:52:27: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 52 | session.community = community; | ^ snmpget.c: In function 'snmpget_mac': snmpget.c:120:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 120 | fprintf(stderr, "snmpget: invalid length %d\n", | ~^ | | | int | %ld 121 | response->variables->val_len); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/net/sdig/work/sdig-0.30 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/sdig *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/sdig