+ 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/dpbox-6.00.00nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dpbox-6.00.00nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for dpbox-6.00.00nb3 gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c filesys.c In file included from filesys.c:11: filesys.h:148:46: error: unknown type name 'DTA' 148 | extern short sffirst(char *pfad, short attr, DTA *dirr); | ^~~ filesys.h:149:21: error: unknown type name 'DTA' 149 | extern short sfnext(DTA *dirr); | ^~~ filesys.c: In function 'del_dir': filesys.c:800:3: error: unknown type name 'DTA' 800 | DTA dirinfo; | ^~~ filesys.c:803:12: warning: implicit declaration of function 'sffirst' [-Wimplicit-function-declaration] 803 | result = sffirst(name, 0, &dirinfo); | ^~~~~~~ filesys.c:806:40: error: request for member 'd_fname' in something not a structure or union 806 | sprintf(STR1, "%s%s", name, dirinfo.d_fname); | ^ filesys.c:808:14: warning: implicit declaration of function 'sfnext' [-Wimplicit-function-declaration] 808 | result = sfnext(&dirinfo); | ^~~~~~ filesys.c: In function 'app_file2': filesys.c:826:12: error: 'minhandle' undeclared (first use in this function); did you mean '_exithandle'? 826 | if (k2 < minhandle) | ^~~~~~~~~ | _exithandle filesys.c:826:12: note: each undeclared identifier is reported only once for each function it appears in filesys.c:828:22: error: 'FO_READ' undeclared (first use in this function) 828 | k1 = sfopen(filea, FO_READ); | ^~~~~~~ filesys.h:196:53: note: in definition of macro 'sfopen' 196 | #define sfopen(name, mode) open_locked(false, name, mode) | ^~~~ filesys.c:831:25: error: 'SFSEEKEND' undeclared (first use in this function); did you mean 'SEEK_END'? 831 | fsize = sfseek(0, k1, SFSEEKEND); | ^~~~~~~~~ | SEEK_END filesys.c:832:17: error: 'SFSEEKSET' undeclared (first use in this function); did you mean 'SEEK_SET'? 832 | sfseek(0, k1, SFSEEKSET); | ^~~~~~~~~ | SEEK_SET filesys.c: In function 'fmv_x': filesys.c:891:24: warning: pointer targets in passing argument 2 of 'sfgetdatime' differ in signedness [-Wpointer-sign] 891 | sfgetdatime(filea, &ddate, &dtime); | ^~~~~~ | | | short int * filesys.h:144:54: note: expected 'short unsigned int *' but argument is of type 'short int *' 144 | extern short sfgetdatime(char *name, unsigned short *date, | ~~~~~~~~~~~~~~~~^~~~ filesys.c:891:32: warning: pointer targets in passing argument 3 of 'sfgetdatime' differ in signedness [-Wpointer-sign] 891 | sfgetdatime(filea, &ddate, &dtime); | ^~~~~~ | | | short int * filesys.h:145:42: note: expected 'short unsigned int *' but argument is of type 'short int *' 145 | unsigned short *time); | ~~~~~~~~~~~~~~~~^~~~ filesys.c:895:22: error: 'FO_READ' undeclared (first use in this function) 895 | k1 = sfopen(filea, FO_READ); | ^~~~~~~ filesys.h:196:53: note: in definition of macro 'sfopen' 196 | #define sfopen(name, mode) open_locked(false, name, mode) | ^~~~ filesys.c:896:12: error: 'minhandle' undeclared (first use in this function); did you mean '_exithandle'? 896 | if (k1 < minhandle) | ^~~~~~~~~ | _exithandle filesys.c:899:25: error: 'SFSEEKEND' undeclared (first use in this function); did you mean 'SEEK_END'? 899 | fsize = sfseek(0, k1, SFSEEKEND); | ^~~~~~~~~ | SEEK_END filesys.c:900:17: error: 'SFSEEKSET' undeclared (first use in this function); did you mean 'SEEK_SET'? 900 | sfseek(0, k1, SFSEEKSET); | ^~~~~~~~~ | SEEK_SET filesys.c:943:26: error: 'FC_FILE' undeclared (first use in this function); did you mean 'FILE'? 943 | k2 = sfcreate(fileb, FC_FILE); | ^~~~~~~ filesys.h:195:54: note: in definition of macro 'sfcreate' 195 | #define sfcreate(name, mode) open_locked(true, name, mode) | ^~~~ filesys.c:969:24: warning: pointer targets in passing argument 2 of 'sfsetdatime' differ in signedness [-Wpointer-sign] 969 | sfsetdatime(fileb, &ddate, &dtime); | ^~~~~~ | | | short int * filesys.h:146:54: note: expected 'short unsigned int *' but argument is of type 'short int *' 146 | extern short sfsetdatime(char *name, unsigned short *date, | ~~~~~~~~~~~~~~~~^~~~ filesys.c:969:32: warning: pointer targets in passing argument 3 of 'sfsetdatime' differ in signedness [-Wpointer-sign] 969 | sfsetdatime(fileb, &ddate, &dtime); | ^~~~~~ | | | short int * filesys.h:147:42: note: expected 'short unsigned int *' but argument is of type 'short int *' 147 | unsigned short *time); | ~~~~~~~~~~~~~~~~^~~~ filesys.c: In function 'validate': filesys.c:991:48: error: 'extsep' undeclared (first use in this function) 991 | while (exist((sprintf(try, "%s%c%.3d", name, extsep, extnum++), try))); | ^~~~~~ filesys.c:991:65: warning: left-hand operand of comma expression has no effect [-Wunused-value] 991 | while (exist((sprintf(try, "%s%c%.3d", name, extsep, extnum++), try))); | ^ filesys.c: In function 'str2file': filesys.c:1003:17: error: 'minhandle' undeclared (first use in this function); did you mean 'handle'? 1003 | if (*handle < minhandle) | ^~~~~~~~~ | handle filesys.c: In function 'file2lstr2': filesys.c:1028:16: error: 'minhandle' undeclared (first use in this function); did you mean 'handle'? 1028 | if (handle < minhandle) | ^~~~~~~~~ | handle filesys.c:1048:28: error: 'SFSEEKCUR' undeclared (first use in this function); did you mean 'SEEK_CUR'? 1048 | sfseek(ct, handle, SFSEEKCUR); | ^~~~~~~~~ | SEEK_CUR filesys.c: In function 'append': filesys.c:1072:20: error: 'FO_RW' undeclared (first use in this function) 1072 | k = sfopen(name, FO_RW); | ^~~~~ filesys.h:196:53: note: in definition of macro 'sfopen' 196 | #define sfopen(name, mode) open_locked(false, name, mode) | ^~~~ filesys.c:1073:11: error: 'minhandle' undeclared (first use in this function); did you mean '_exithandle'? 1073 | if (k < minhandle) | ^~~~~~~~~ | _exithandle filesys.c:1074:24: error: 'FC_FILE' undeclared (first use in this function); did you mean 'FILE'? 1074 | k = sfcreate(name, FC_FILE); | ^~~~~~~ filesys.h:195:54: note: in definition of macro 'sfcreate' 195 | #define sfcreate(name, mode) open_locked(true, name, mode) | ^~~~ filesys.c:1077:21: error: 'SFSEEKEND' undeclared (first use in this function); did you mean 'SEEK_END'? 1077 | sz = sfseek(0, k, SFSEEKEND) + strlen(zeile); | ^~~~~~~~~ | SEEK_END filesys.c: In function 'flockprotocole': filesys.c:1183:46: error: 'extsep' undeclared (first use in this function) 1183 | sprintf(w, "%sfile_err%ctxt", boxprotodir, extsep); | ^~~~~~ filesys.c:1184:15: error: 'FO_RW' undeclared (first use in this function) 1184 | k = open(w, FO_RW); | ^~~~~ filesys.c:1185:11: error: 'minhandle' undeclared (first use in this function); did you mean '_exithandle'? 1185 | if (k < minhandle) | ^~~~~~~~~ | _exithandle filesys.c:1186:24: error: 'FO_CREATE' undeclared (first use in this function); did you mean 'O_CREAT'? 1186 | k = dpsyscreate(w, FO_CREATE, FC_FILE); | ^~~~~~~~~ | O_CREAT filesys.c:1186:35: error: 'FC_FILE' undeclared (first use in this function); did you mean 'FILE'? 1186 | k = dpsyscreate(w, FO_CREATE, FC_FILE); | ^~~~~~~ | FILE filesys.c: In function 'open_locked': filesys.c:1212:12: error: 'nohandle' undeclared (first use in this function); did you mean 'handle'? 1212 | Result = nohandle; | ^~~~~~~~ | handle filesys.c:1215:34: error: 'FO_READ' undeclared (first use in this function) 1215 | wantwrite = (create || mode != FO_READ); | ^~~~~~~ filesys.c:1235:34: error: 'FO_CREATE' undeclared (first use in this function); did you mean 'O_CREAT'? 1235 | handle = dpsyscreate(name, FO_CREATE, mode); | ^~~~~~~~~ | O_CREAT filesys.c:1239:18: error: 'minhandle' undeclared (first use in this function); did you mean 'handle'? 1239 | if (handle < minhandle) /* File geoeffnet */ | ^~~~~~~~~ | handle filesys.c:1207:9: warning: variable 'Result' set but not used [-Wunused-but-set-variable] 1207 | short Result, handle; | ^~~~~~ filesys.c: In function 'sfclose_x': filesys.c:1334:24: error: 'nohandle' undeclared (first use in this function); did you mean 'handle'? 1334 | lastactivehandle = nohandle; | ^~~~~~~~ | handle filesys.c: In function 'tas_lockfile': filesys.c:1428:28: error: 'FO_CREATE' undeclared (first use in this function); did you mean 'O_CREAT'? 1428 | close( dpsyscreate(name, FO_CREATE, FC_FILE_RALL) ); | ^~~~~~~~~ | O_CREAT filesys.c:1428:39: error: 'FC_FILE_RALL' undeclared (first use in this function) 1428 | close( dpsyscreate(name, FO_CREATE, FC_FILE_RALL) ); | ^~~~~~~~~~~~ filesys.c: In function '_filesys_init': filesys.c:1531:22: error: 'nohandle' undeclared (first use in this function) 1531 | lastactivehandle = nohandle; | ^~~~~~~~ gmake: *** [Makefile.netbsd:76: filesys.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/ham/dpbox *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/ham/dpbox