+ 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:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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:33: warning: variable 'p2' set but not used [-Wunused-but-set-variable] 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 online.c: In function 'fork_cmd': online.c:348:17: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(line); ^~~~~~~~~~~~ online.c: In function 'mark_online': online.c:345:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(line,"%s %d %s %s",path,id,addr,line_ptr(2,cmd)); ^~ In file included from /usr/include/stdio.h:873, from dhisd.h:28, from online.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 1059) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ online.c: In function 'mark_offline': online.c:345:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(line,"%s %d %s %s",path,id,addr,line_ptr(2,cmd)); ^~ In file included from /usr/include/stdio.h:873, from dhisd.h:28, from online.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 1059) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- 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 --- online.o --- online.c: In function 'mark_update': online.c:345:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(line,"%s %d %s %s",path,id,addr,line_ptr(2,cmd)); ^~ In file included from /usr/include/stdio.h:873, from dhisd.h:28, from online.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 1059) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ online.c:345:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(line,"%s %d %s %s",path,id,addr,line_ptr(2,cmd)); ^~ In file included from /usr/include/stdio.h:873, from dhisd.h:28, from online.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 1059) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- main.o --- main.c: In function 'main': main.c:218:13: warning: this statement may fall through [-Wimplicit-fallthrough=] case('h'): usage(argv[0]); ^~~~~~~~~~~~~~ main.c:219:2: note: here case('c'): strcpy(conf_file,optarg);break; ^~~~ --- online.o --- online.c: In function 'fork_cmd': online.c:345:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(line,"%s %d %s %s",path,id,addr,line_ptr(2,cmd)); ^~ In file included from /usr/include/stdio.h:873, from dhisd.h:28, from online.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 1028) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- 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 --- 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 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-el8-trunk-x86_64/net/dhisd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/dhisd