+ 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/siod-3.0nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/siod-3.0nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for siod-3.0nb2 /opt/pkg/bin/bmake LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH PROGS="siod ndbm.so tar.so parser_pratt.so ss.so regex.so" LD=ld CFLAGS="-Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\\\"/opt/pkg/lib/siod\\\"" LD_EXE_FLAGS="-R /opt/pkg/lib -R /opt/pkg/lib/siod" LD_EXE_LIBS="-lm -lsocket -lnsl -lposix4 -dl" LD_LIB_FLAGS="-G" LD_LIB_LIBS="" SO="so" build_driver gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c siod.c gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c slib.c slib.c: In function 'process_cla': slib.c:172:9: warning: type defaults to 'int' in declaration of 'siod_lib_set' [-Wimplicit-int] 172 | static siod_lib_set = 0; | ^~~~~~~~~~~~ slib.c: In function 'eql': slib.c:839:28: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 839 | {if EQ(x,y) return(sym_t); else | ^~~~ slib.c:843:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 843 | return(NIL);} | ^~~~~~ In file included from slib.c:80: slib.c: In function 'user_gc': siod.h:74:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 74 | #define NEQ(x,y) ((x) != (y)) | ^ siod.h:76:19: note: in expansion of macro 'NEQ' 76 | #define NNULLP(x) NEQ(x,NIL) | ^~~ slib.c:1424:5: note: in expansion of macro 'NNULLP' 1424 | if NNULLP(args) | ^~~~~~ slib.c: In function 'gc_status': siod.h:74:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 74 | #define NEQ(x,y) ((x) != (y)) | ^ siod.h:76:19: note: in expansion of macro 'NEQ' 76 | #define NNULLP(x) NEQ(x,NIL) | ^~~ slib.c:1446:5: note: in expansion of macro 'NNULLP' 1446 | if NNULLP(args) | ^~~~~~ slib.c: In function 'f_getc': slib.c:2038:13: warning: variable 'dflag' set but not used [-Wunused-but-set-variable] 2038 | {long iflag,dflag; | ^~~~~ slib.c: In function 'flush_ws': slib.c:2058:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2058 | if (c == EOF) if (eoferr) err(eoferr,NIL); else return(c); | ^ slib.c: In function 'vload': slib.c:2276:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2276 | {for(end = &start[strlen(key)]; | ^~~ slib.c:2279:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2279 | j = end - start; | ^ gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c sliba.c sliba.c: In function 'number2string': sliba.c:1104:54: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1104 | NULLP(b) ? "% *.*g" : EQ(sym_e,b) ? "% *.*e" : "% *.*f", | ~~^~~~ | | | int 1105 | width, | ~~~~~ | | | long int sliba.c:1104:56: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1104 | NULLP(b) ? "% *.*g" : EQ(sym_e,b) ? "% *.*e" : "% *.*f", | ~~~~^~ | | | int 1105 | width, 1106 | prec, | ~~~~ | | | long int sliba.c:1104:65: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1104 | NULLP(b) ? "% *.*g" : EQ(sym_e,b) ? "% *.*e" : "% *.*f", | ~~^~~~ | | | int 1105 | width, | ~~~~~ | | | long int sliba.c:1104:67: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1104 | NULLP(b) ? "% *.*g" : EQ(sym_e,b) ? "% *.*e" : "% *.*f", | ~~~~^~ | | | int 1105 | width, 1106 | prec, | ~~~~ | | | long int sliba.c:1104:29: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1104 | NULLP(b) ? "% *.*g" : EQ(sym_e,b) ? "% *.*e" : "% *.*f", | ~~^~~~ | | | int 1105 | width, | ~~~~~ | | | long int sliba.c:1104:31: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1104 | NULLP(b) ? "% *.*g" : EQ(sym_e,b) ? "% *.*e" : "% *.*f", | ~~~~^~ | | | int 1105 | width, 1106 | prec, | ~~~~ | | | long int sliba.c:1110:52: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1110 | NULLP(b) ? "% *g" : EQ(sym_e,b) ? "% *e" : "% *f", | ~~^~ | | | int 1111 | width, | ~~~~~ | | | long int sliba.c:1110:61: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1110 | NULLP(b) ? "% *g" : EQ(sym_e,b) ? "% *e" : "% *f", | ~~^~ | | | int 1111 | width, | ~~~~~ | | | long int sliba.c:1110:29: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1110 | NULLP(b) ? "% *g" : EQ(sym_e,b) ? "% *e" : "% *f", | ~~^~ | | | int 1111 | width, | ~~~~~ | | | long int sliba.c:1115:52: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1115 | NULLP(b) ? "%.*g" : EQ(sym_e,b) ? "%.*e" : "%.*f", | ~~^~ | | | int 1116 | prec, | ~~~~ | | | long int sliba.c:1115:61: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1115 | NULLP(b) ? "%.*g" : EQ(sym_e,b) ? "%.*e" : "%.*f", | ~~^~ | | | int 1116 | prec, | ~~~~ | | | long int sliba.c:1115:29: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1115 | NULLP(b) ? "%.*g" : EQ(sym_e,b) ? "%.*e" : "%.*f", | ~~^~ | | | int 1116 | prec, | ~~~~ | | | long int sliba.c:1125:57: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1125 | (base == 10) ? "%0*ld" : (base == 8) ? "%0*lo" : "%0*lX", | ~~^~~ | | | int 1126 | width, | ~~~~~ | | | long int sliba.c:1125:67: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1125 | (base == 10) ? "%0*ld" : (base == 8) ? "%0*lo" : "%0*lX", | ~~^~~ | | | int 1126 | width, | ~~~~~ | | | long int sliba.c:1125:33: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1125 | (base == 10) ? "%0*ld" : (base == 8) ? "%0*lo" : "%0*lX", | ~~^~~ | | | int 1126 | width, | ~~~~~ | | | long int sliba.c: In function 'init_base64_table': sliba.c:1234:43: warning: array subscript has type 'char' [-Wchar-subscripts] 1234 | base64_decode_table[base64_encode_table[j]] = j;} | ~~~~~~~~~~~~~~~~~~~^~~ In file included from sliba.c:18: sliba.c: In function 'butlast': siod.h:80:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 80 | #define TYPEP(x,y) (TYPE(x) == (y)) | ^ siod.h:119:20: note: in expansion of macro 'TYPEP' 119 | #define CONSP(x) TYPEP(x,tc_cons) | ^~~~~ sliba.c:1444:5: note: in expansion of macro 'CONSP' 1444 | if CONSP(l) | ^~~~~ sliba.c: In function 'fast_save': sliba.c:1668:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 1668 | sprintf(msgbuff,"# sizeof(long) = %d\n# sizeof(double) = %d\n", | ~^ | | | int | %ld 1669 | sizeof(long),sizeof(double)); | ~~~~~~~~~~~~ | | | long unsigned int sliba.c:1668:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 1668 | sprintf(msgbuff,"# sizeof(long) = %d\n# sizeof(double) = %d\n", | ~^ | | | int | %ld 1669 | sizeof(long),sizeof(double)); | ~~~~~~~~~~~~~~ | | | long unsigned int sliba.c: In function 'lstrcpy': sliba.c:1178:5: warning: 'ddim' may be used uninitialized [-Wmaybe-uninitialized] 1178 | if (slen > ddim) | ^ sliba.c:1173:7: note: 'ddim' was declared here 1173 | {long ddim,slen; | ^~~~ sliba.c:1181:3: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized] 1181 | d[slen] = 0; | ^ sliba.c:1174:8: note: 'd' was declared here 1174 | char *d,*s; | ^ sliba.c: In function 'lstrcat': sliba.c:1191:5: warning: 'ddim' may be used uninitialized [-Wmaybe-uninitialized] 1191 | if ((slen + dlen) > ddim) | ^ sliba.c:1185:7: note: 'ddim' was declared here 1185 | {long ddim,dlen,slen; | ^~~~ sliba.c:1190:9: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized] 1190 | dlen = strlen(d); | ^~~~~~~~~ sliba.c:1186:8: note: 'd' was declared here 1186 | char *d,*s; | ^ gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c trace.c gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c slibu.c slibu.c: In function 'lputpwent': slibu.c:295:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] 295 | int status; | ^~~~~~ slibu.c: In function 'datlength': slibu.c:1937:8: warning: variable 'data' set but not used [-Wunused-but-set-variable] 1937 | {char *data; | ^~~~ slibu.c: In function 'siod_shuffle_args': slibu.c:2128:19: warning: '%ld' directive writing between 1 and 19 bytes into a region of size 10 [-Wformat-overflow=] 2128 | sprintf(offbuff,"%ld",pos); | ^~~ slibu.c:2128:18: note: directive argument in the range [0, 9223372036854775807] 2128 | sprintf(offbuff,"%ld",pos); | ^~~~~ slibu.c:2128:2: note: 'sprintf' output between 2 and 20 bytes into a destination of size 10 2128 | sprintf(offbuff,"%ld",pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c md5.c LD_LIBRARY_PATH = .: ld -o libsiod.so -G slib.o sliba.o trace.o slibu.o md5.o gcc -o siod -R /opt/pkg/lib -R /opt/pkg/lib/siod siod.o libsiod.so -lm -lsocket -lnsl -lposix4 -dl gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c ndbm.c ld -o ndbm.so -G ndbm.o libsiod.so gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c tar.c ld -o tar.so -G tar.o libsiod.so gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c parser_pratt.c In file included from parser_pratt.c:18: parser_pratt.c: In function 'pratt_read_token': siod.h:73:17: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 73 | #define EQ(x,y) ((x) == (y)) | ^ parser_pratt.c:41:5: note: in expansion of macro 'EQ' 41 | if EQ(sym_string_delim,tail) | ^~ siod.h:80:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 80 | #define TYPEP(x,y) (TYPE(x) == (y)) | ^ siod.h:119:20: note: in expansion of macro 'TYPEP' 119 | #define CONSP(x) TYPEP(x,tc_cons) | ^~~~~ parser_pratt.c:68:10: note: in expansion of macro 'CONSP' 68 | else if CONSP(tail) | ^~~~~ ld -o parser_pratt.so -G parser_pratt.o libsiod.so gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c ss.c ss.c:60: warning: "INADDR_NONE" redefined 60 | #define INADDR_NONE 0xffffffff | In file included from /usr/include/sys/socket.h:67, from ss.c:47: /usr/include/netinet/in.h:369: note: this is the location of the previous definition 369 | #define INADDR_NONE 0xffffffffU | ld -o ss.so -G ss.o libsiod.so gcc -Wall -Wstrict-prototypes -DSUN5 -O2 -DSIOD_LIB_DEFAULT=\"/opt/pkg/lib/siod\" -c regex.c regex.c: In function 'regex_prin1': regex.c:108:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 108 | sprintf(buffer,"#<REGEX %p nsub=%d", | ~^ | | | int | %ld 109 | p,p->re_nsub); | ~~~~~~~~~~ | | | size_t {aka long unsigned int} ld -o regex.so -G regex.o libsiod.so ./siod -v01,-m2 csiod.smd csiod.smd :o=csiod :i=/opt/pkg/bin/siod :p=read ld.so.1: siod: fatal: relocation error: R_AMD64_32S: file ./libsiod.so: symbol (unknown): value 0xffffd08290c95730 does not fit *** Signal 9 Stop. bmake[1]: stopped in /home/pbulk/build/lang/siod/work *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/lang/siod/work *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/siod *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/siod