+ 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/jam-2.5.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jam-2.5.2nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for jam-2.5.2nb1 gcc -o jam0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations builtins.c command.c compile.c execnt.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c timestamp.c variable.c execunix.c: In function 'execcmd': execunix.c:235:34: error: passing argument 2 of 'execvp' from incompatible pointer type [-Wincompatible-pointer-types] 235 | execvp( argv[0], argv ); | ^~~~ | | | const char ** In file included from execunix.c:45: /usr/include/unistd.h:286:33: note: expected 'char * const*' but argument is of type 'const char **' 286 | extern int execvp(const char *, char *const *); | ^~~~~~~~~~~~~ execunix.c: In function 'execwait': execunix.c:278:22: error: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 278 | while( ( w = wait( &status ) ) == -1 && errno == EINTR ) | ^~~~ fileunix.c: In function 'file_archscan': fileunix.c:205:13: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 205 | if( read( fd, buf, SARMAG ) != SARMAG || | ^~~~ | fread fileunix.c:208:13: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 208 | close( fd ); | ^~~~~ | pclose fileunix.c:260:21: error: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 260 | lseek(fd, offset + SARHDR, 0); | ^~~~~ | fseek make1.c: In function 'make1d': make1.c:389:22: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 389 | if( !unlink( targets->string ) ) | ^~~~~~ gmake: *** [common.mk:16: jam0] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jam *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jam