+ 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/checkpw-1.03nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/checkpw-1.03nb1/work.log ===> Building for checkpw-1.03nb1 --- load --- --- compile --- --- systype --- --- selectcheckpw --- --- load --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo exec "`head -1 conf-ld`" '-o "$main" "$main".o ${1+"$@"}' ) > load --- systype --- ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\'; cat find-systype.sh; ) | sh > systype --- selectcheckpw --- cat warn-auto.sh selectcheckpw.sh | sed s}HOME}"`head -1 conf-home`"}g | sed s}QMAIL}"`head -1 conf-qmail`"}g | sed s}MAILDIR}"`head -1 conf-maildir`"}g > selectcheckpw --- compile --- ( cat warn-auto.sh; echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' ) > compile --- load --- chmod 755 load --- selectcheckpw --- chmod 755 selectcheckpw --- compile --- chmod 755 compile --- loginlog --- --- run-pop --- --- run-apop --- --- run-pop --- cat warn-auto.sh run-pop.sh | sed s}HOME}"`head -1 conf-home`"}g | sed s}QMAIL}"`head -1 conf-qmail`"}g | sed s}MAILDIR}"`head -1 conf-maildir`"}g > run-pop --- loginlog --- cat warn-auto.sh loginlog.sh | sed s}HOME}"`head -1 conf-home`"}g | sed s}QMAIL}"`head -1 conf-qmail`"}g | sed s}MAILDIR}"`head -1 conf-maildir`"}g > loginlog --- run-apop --- cat warn-auto.sh run-apop.sh | sed s}HOME}"`head -1 conf-home`"}g | sed s}QMAIL}"`head -1 conf-qmail`"}g | sed s}MAILDIR}"`head -1 conf-maildir`"}g > run-apop --- run-pop --- chmod 755 run-pop --- loginlog --- chmod 755 loginlog --- run-apop --- chmod 755 run-apop --- run-rules --- --- run-both --- --- run-multidir --- --- run-both --- cat warn-auto.sh run-both.sh | sed s}HOME}"`head -1 conf-home`"}g | sed s}QMAIL}"`head -1 conf-qmail`"}g | sed s}MAILDIR}"`head -1 conf-maildir`"}g > run-both --- run-rules --- cat warn-auto.sh run-rules.sh | sed s}HOME}"`head -1 conf-home`"}g | sed s}QMAIL}"`head -1 conf-qmail`"}g | sed s}MAILDIR}"`head -1 conf-maildir`"}g > run-rules --- run-multidir --- cat warn-auto.sh run-multidir.sh | sed s}HOME}"`head -1 conf-home`"}g | sed s}QMAIL}"`head -1 conf-qmail`"}g | sed s}MAILDIR}"`head -1 conf-maildir`"}g > run-multidir --- run-both --- chmod 755 run-both --- run-rules --- chmod 755 run-rules --- run-multipw --- --- checkapoppw.o --- --- run-multidir --- chmod 755 run-multidir --- run-multipw --- cat warn-auto.sh run-multipw.sh | sed s}HOME}"`head -1 conf-home`"}g | sed s}QMAIL}"`head -1 conf-qmail`"}g | sed s}MAILDIR}"`head -1 conf-maildir`"}g > run-multipw --- checkapoppw.o --- ./compile checkapoppw.c --- env.o --- ./compile env.c --- run-multipw --- chmod 755 run-multipw --- open_read.o --- ./compile open_read.c --- checkapoppw.o --- checkapoppw.c: In function 'die': checkapoppw.c:37:3: error: implicit declaration of function '_exit' [-Wimplicit-function-declaration] 37 | _exit(x); | ^~~~~ checkapoppw.c:37:3: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] checkapoppw.c: At top level: checkapoppw.c:40:1: error: return type defaults to 'int' [-Wimplicit-int] 40 | main(int argc,char **argv) | ^~~~ checkapoppw.c: In function 'main': checkapoppw.c:56:17: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 56 | if (!argv[1]) _exit(2); | ^~~~~ checkapoppw.c:62:11: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 62 | r = read(3,up + uplen,sizeof(up) - uplen); | ^~~~ | fread checkapoppw.c:64:18: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 64 | if (r == -1) _exit(111); | ^~~~~ checkapoppw.c:67:30: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 67 | if (uplen >= sizeof(up)) _exit(1); | ^~~~~ checkapoppw.c:69:3: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 69 | close(3); | ^~~~~ | pclose checkapoppw.c:72:19: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 72 | if (i >= uplen) _exit(2); | ^~~~~ checkapoppw.c:74:35: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 74 | while (up[i++]) if (i >= uplen) _exit(2); | ^~~~~ checkapoppw.c:76:19: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 76 | if (i >= uplen) _exit(2); | ^~~~~ checkapoppw.c:77:35: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 77 | while (up[i++]) if (i >= uplen) _exit(2); | ^~~~~ checkapoppw.c:79:19: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 79 | if (i >= uplen) _exit(2); | ^~~~~ checkapoppw.c:80:35: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 80 | while (up[i++]) if (i >= uplen) _exit(2); | ^~~~~ checkapoppw.c:83:17: error: implicit declaration of function 'str_len' [-Wimplicit-function-declaration] 83 | ext = login + str_len(login); | ^~~~~~~ checkapoppw.c:95:7: error: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 95 | if (chdir(pw->pw_dir) == -1) die(111); | ^~~~~ checkapoppw.c:110:12: error: implicit declaration of function 'str_chr' [-Wimplicit-function-declaration] 110 | stored.s[str_chr(stored.s,'\n')] = 0; | ^~~~~~~ checkapoppw.c:123:7: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 123 | if (strcmp(password,encrypted)) die(1); | ^~~~~~ checkapoppw.c:17:1: note: include '' or provide a declaration of 'strcmp' 16 | #include +++ |+#include 17 | static struct passwd *pw; checkapoppw.c:134:3: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 134 | _exit(111); | ^~~~~ *** [checkapoppw.o] Error code 1 bmake: stopped making "it" in /home/pbulk/build/sysutils/checkpw/work/checkpw-1.03 bmake: 1 error bmake: stopped making "it" in /home/pbulk/build/sysutils/checkpw/work/checkpw-1.03 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/checkpw *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/checkpw