+ 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/dhisd-5.5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dhisd-5.5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for dhisd-5.5 gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/opt/pkg/include -I/opt/pkg/include -c qrc.c gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/opt/pkg/include -I/opt/pkg/include -c misc.c gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/opt/pkg/include -I/opt/pkg/include -c nsupdate.c gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/opt/pkg/include -I/opt/pkg/include -c ddb.c gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/opt/pkg/include -I/opt/pkg/include -c network.c network.c: In function 'convert_message': network.c:157:40: warning: variable 'p2' set but not used [-Wunused-but-set-variable] 157 | case(AUTH_SX): { auth_sendx_t *p2; p2=(auth_sendx_t *)p; | ^~ gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/opt/pkg/include -I/opt/pkg/include -c online.c online.c: In function 'mark_online': online.c:265:21: warning: the comparison will always evaluate as 'true' for the address of 'oncmd' will never be NULL [-Waddress] 265 | if(dp->oncmd!=NULL) | ^~ In file included from online.c:34: ddb.h:41:14: note: 'oncmd' declared here 41 | char oncmd[256]; | ^~~~~ online.c: In function 'mark_offline': online.c:293:22: warning: the comparison will always evaluate as 'true' for the address of 'offcmd' will never be NULL [-Waddress] 293 | if(dp->offcmd!=NULL) | ^~ ddb.h:42:14: note: 'offcmd' declared here 42 | char offcmd[256]; | ^~~~~~ online.c: In function 'mark_update': online.c:326:22: warning: the comparison will always evaluate as 'true' for the address of 'offcmd' will never be NULL [-Waddress] 326 | if(dp->offcmd!=NULL) | ^~ ddb.h:42:14: note: 'offcmd' declared here 42 | char offcmd[256]; | ^~~~~~ online.c:332:21: warning: the comparison will always evaluate as 'true' for the address of 'oncmd' will never be NULL [-Waddress] 332 | if(dp->oncmd!=NULL) | ^~ ddb.h:41:14: note: 'oncmd' declared here 41 | char oncmd[256]; | ^~~~~ gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/opt/pkg/include -c main.c main.c: In function 'main': main.c:218:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 218 | case('h'): usage(argv[0]); | ^~~~~~~~~~~~~~ main.c:219:9: note: here 219 | case('c'): strcpy(conf_file,optarg);break; | ^~~~ gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/opt/pkg/include -c genkeys.c gcc -lsocket -lnsl -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o dhisd qrc.o misc.o nsupdate.o ddb.o network.o online.o -lgmp main.o Undefined first referenced symbol in file optreset main.o ld: fatal: symbol referencing errors. No output written to dhisd collect2: error: ld returned 1 exit status *** [dhisd] Error code 1 bmake: stopped in /home/pbulk/build/net/dhisd/work/dhisd-5.5 1 error bmake: stopped in /home/pbulk/build/net/dhisd/work/dhisd-5.5 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/dhisd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/dhisd