+ 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/skill-4.1.4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/skill-4.1.4/work.log ===> Building for skill-4.1.4 --- getproc.c --- --- main.o --- --- argparse.o --- --- getproc.c --- rm -f getproc.c getproc.o --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c main.c --- argparse.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c argparse.c --- getproc.c --- ln -s machdep/sys-5r4.c getproc.c --- getproc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c getproc.c --- main.o --- main.c: In function 'main': main.c:83:16: error: implicit declaration of function 'signal' [-Wimplicit-function-declaration] 83 | (void) signal(SIGHUP, SIG_IGN); | ^~~~~~ In file included from main.c:44: conf.h:77:51: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 77 | #define STRNEQU(s1,s2,n) ((*s1 == *s2) && (strncmp(s1,s2,n) == 0)) | ^~~~~~~ main.c:150:49: note: in expansion of macro 'STRNEQU' 150 | STRNEQU(CMD, cmdp->cmd.cmdstr, KI_MAXCOMLEN-8)) | ^~~~~~~ main.c:52:1: note: include '' or provide a declaration of 'strncmp' 51 | #include +++ |+#include 52 | #ifdef __NetBSD__ main.c:57:25: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 57 | #define KI_MAXCOMLEN 24 | ^ conf.h:77:65: note: in definition of macro 'STRNEQU' 77 | #define STRNEQU(s1,s2,n) ((*s1 == *s2) && (strncmp(s1,s2,n) == 0)) | ^ main.c:150:80: note: in expansion of macro 'KI_MAXCOMLEN' 150 | STRNEQU(CMD, cmdp->cmd.cmdstr, KI_MAXCOMLEN-8)) | ^~~~~~~~~~~~ : note: built-in 'strncmp' declared here --- argparse.o --- In file included from argparse.c:28: argparse.c: In function 'ArgParse': conf.h:76:51: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 76 | #define STREQU(s1,s2) ((*s1 == *s2) && (strcmp(s1,s2) == 0)) | ^~~~~~ argparse.c:179:45: note: in expansion of macro 'STREQU' 179 | if (STREQU(SigMap[SigPri], *argv)) { | ^~~~~~ argparse.c:55:1: note: include '' or provide a declaration of 'strcmp' 54 | #include +++ |+#include 55 | #endif --- main.o --- main.c:163:21: error: implicit declaration of function 'Recorded' [-Wimplicit-function-declaration] 163 | if (Recorded(PID)) /* record/ignore duplicates */ | ^~~~~~~~ main.c: In function 'WhoIs': conf.h:74:17: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 74 | #define MAXUSR 64 /* maximum size of a user account name */ | ^~ main.c:286:55: note: in expansion of macro 'MAXUSR' 286 | (void) strncpy(usrcache, pp->pw_name, MAXUSR); | ^~~~~~ main.c:272:22: note: built-in 'strncpy' declared here 272 | extern char *strncpy(); /* avoid war */ | ^~~~~~~ --- argparse.o --- *** [argparse.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/skill/work/skill-4.1.4 --- main.o --- *** [main.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/skill/work/skill-4.1.4 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/sysutils/skill/work/skill-4.1.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/skill *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/skill