+ 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/opendoas-6.8.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opendoas-6.8.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for opendoas-6.8.2 yacc parse.y gcc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__sunos__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c -o doas.o doas.c gcc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__sunos__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c -o env.o env.c gcc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__sunos__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c -o libopenbsd/errc.o libopenbsd/errc.c gcc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__sunos__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c -o libopenbsd/verrc.o libopenbsd/verrc.c gcc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__sunos__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c -o libopenbsd/readpassphrase.o libopenbsd/readpassphrase.c gcc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__sunos__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c -o libopenbsd/execvpe.o libopenbsd/execvpe.c gcc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__sunos__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -c -o libopenbsd/bsd-setres_id.o libopenbsd/bsd-setres_id.c libopenbsd/readpassphrase.c:55:36: error: '_NSIG' undeclared here (not in a function); did you mean 'NSIG'? 55 | static volatile sig_atomic_t signo[_NSIG]; | ^~~~~ | NSIG libopenbsd/readpassphrase.c: In function 'handler': libopenbsd/readpassphrase.c:211:25: warning: parameter 's' set but not used [-Wunused-but-set-parameter] 211 | static void handler(int s) | ~~~~^ At top level: libopenbsd/readpassphrase.c:55:30: warning: 'signo' defined but not used [-Wunused-variable] 55 | static volatile sig_atomic_t signo[_NSIG]; | ^~~~~ libopenbsd/execvpe.c: In function 'execvpe': libopenbsd/execvpe.c:77:8: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 77 | cur = alloca(len); | ^~~~~~ libopenbsd/execvpe.c:77:8: warning: incompatible implicit declaration of built-in function 'alloca' libopenbsd/execvpe.c:113:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 113 | bcopy(p, buf, lp); | ^~~~~ libopenbsd/execvpe.c:113:3: warning: incompatible implicit declaration of built-in function 'bcopy' gmake: *** [: libopenbsd/readpassphrase.o] Error 1 gmake: *** Waiting for unfinished jobs.... doas.c: In function 'parsegid': doas.c:88:15: error: 'GID_MAX' undeclared (first use in this function); did you mean 'PID_MAX'? 88 | if (*gid == GID_MAX) | ^~~~~~~ | PID_MAX doas.c:88:15: note: each undeclared identifier is reported only once for each function it appears in doas.c: In function 'mygetpwuid_r': doas.c:224:15: error: too many arguments to function 'getpwuid_r' 224 | while ((rv = getpwuid_r(uid, pwd, buf, buflen, result)) == ERANGE) { | ^~~~~~~~~~ In file included from doas.c:33: /usr/include/pwd.h:166:23: note: declared here 166 | extern struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int); | ^~~~~~~~~~ doas.c:224:13: warning: assignment to 'int' from 'struct passwd *' makes integer from pointer without a cast [-Wint-conversion] 224 | while ((rv = getpwuid_r(uid, pwd, buf, buflen, result)) == ERANGE) { | ^ gmake: *** [: doas.o] Error 1 mv -f y.tab.c parse.c rm parse.c *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/opendoas *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/opendoas