+ case "${usergroup_phase}" in + '[' build '!=' configure ']' + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/majordomo-1.94.5nb28/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/majordomo-1.94.5nb28/work.log ===> Building for majordomo-1.94.5nb28 cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wl,-R/opt/pkg/lib -DBIN=\"/opt/pkg/libexec/majordomo\" -DPATH=\"PATH=/bin:/usr/bin\" -DHOME=\"HOME=/var/opt/pkg/majordomo\" -DSHELL=\"SHELL=/bin/sh\" -DMAJORDOMO_CF=\"MAJORDOMO_CF=/etc/opt/pkg/majordomo/majordomo.cf\" -DMAJORDOMO_USER=\"majordom\" -DPOSIX_UID=@UID@ -DPOSIX_GID=@GID@ -o wrapper wrapper.c wrapper.c:66:1: error: return type defaults to 'int' [-Wimplicit-int] 66 | main(argc, argv, env) | ^~~~ wrapper.c: In function 'main': wrapper.c:80:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 80 | exit(EX_USAGE); | ^~~~ wrapper.c:32:1: note: include '' or provide a declaration of 'exit' 31 | # include +++ |+#include 32 | # define STRCHR(s,c) strchr(s,c) wrapper.c:80:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 80 | exit(EX_USAGE); | ^~~~ wrapper.c:80:9: note: include '' or provide a declaration of 'exit' wrapper.c:87:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 87 | exit(EX_NOPERM); | ^~~~ wrapper.c:87:9: note: include '' or provide a declaration of 'exit' wrapper.c:90:26: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 90 | if ((prog = (char *) malloc(strlen(BIN) + strlen(argv[1]) + 2)) == NULL) { | ^~~~~~ wrapper.c:90:26: note: include '' or provide a declaration of 'malloc' wrapper.c:90:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] wrapper.c:90:26: note: include '' or provide a declaration of 'malloc' wrapper.c:92:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 92 | exit(EX_OSERR); | ^~~~ wrapper.c:92:9: note: include '' or provide a declaration of 'exit' wrapper.c:140:9: error: implicit declaration of function 'setgid' [-Wimplicit-function-declaration] 140 | setgid(majordomuser->pw_gid); | ^~~~~~ wrapper.c:141:9: error: implicit declaration of function 'setuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 141 | setuid(majordomuser->pw_uid); | ^~~~~~ | getpwuid wrapper.c:157:10: error: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 157 | if ((getuid() != geteuid()) || (getgid() != getegid())) { | ^~~~~~ | getpwuid wrapper.c:157:22: error: implicit declaration of function 'geteuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 157 | if ((getuid() != geteuid()) || (getgid() != getegid())) { | ^~~~~~~ | getpwuid wrapper.c:157:37: error: implicit declaration of function 'getgid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 157 | if ((getuid() != geteuid()) || (getgid() != getegid())) { | ^~~~~~ | getpwuid wrapper.c:157:49: error: implicit declaration of function 'getegid' [-Wimplicit-function-declaration] 157 | if ((getuid() != geteuid()) || (getgid() != getegid())) { | ^~~~~~~ wrapper.c:161:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 161 | exit(EX_SOFTWARE); | ^~~~ wrapper.c:161:9: note: include '' or provide a declaration of 'exit' wrapper.c:164:5: error: implicit declaration of function 'execve' [-Wimplicit-function-declaration] 164 | execve(prog, argv+1, new_env); | ^~~~~~ wrapper.c:174:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 174 | exit(EX_OSERR); | ^~~~ wrapper.c:174:5: note: include '' or provide a declaration of 'exit' *** Error code 1 Stop. bmake: stopped making "wrapper" in /home/pbulk/build/mail/majordomo/work/majordomo-1.94.5 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/majordomo *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/majordomo