+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dhisd-5.5/work.log + su pbulk -c '"$@"' make /usr/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 --- qrc.o --- --- misc.o --- --- qrc.o --- gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/usr/pkg/include -I/usr/pkg/include -c qrc.c --- misc.o --- gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/usr/pkg/include -I/usr/pkg/include -c misc.c --- nsupdate.o --- gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/usr/pkg/include -I/usr/pkg/include -c nsupdate.c nsupdate.c: In function 'dns_update': nsupdate.c:59:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | write(fildes[1],str,strlen(str)+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ddb.o --- gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/usr/pkg/include -I/usr/pkg/include -c ddb.c --- network.o --- gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/usr/pkg/include -I/usr/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; | ^~ --- online.o --- gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/usr/pkg/include -I/usr/pkg/include -c online.c --- main.o --- gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/usr/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; | ^~~~ --- online.o --- online.c: In function 'fork_cmd': online.c:348:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 348 | system(line); | ^~~~~~~~~~~~ --- genkeys.o --- gcc -O3 -Wall -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wwrite-strings -Wextra -funsigned-char -I. -I/usr/pkg/include -c genkeys.c --- dhisgenkeys --- gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o dhisgenkeys qrc.o -lgmp genkeys.o --- dhisd --- gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o dhisd qrc.o misc.o nsupdate.o ddb.o network.o online.o -lgmp main.o /bin/ld: main.o: in function `main': main.c:(.text.startup+0xb0): undefined reference to `optreset' collect2: error: ld returned 1 exit status *** [dhisd] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/dhisd/work/dhisd-5.5 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/dhisd/work/dhisd-5.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/dhisd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/dhisd