+ 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/elf-0.5.3nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/elf-0.5.3nb4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for elf-0.5.3nb4 --- main.o --- --- elf.o --- --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -I../include -c main.c --- elf.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -I../include -c elf.c In file included from elf.c:14: ../include/define.h:13:1: warning: 'const' attribute on function returning 'void' [-Wattributes] 13 | static void usage(void) __attribute__((const)); | ^~~~~~ --- main.o --- In file included from main.c:23: ../include/define.h:13:1: warning: 'const' attribute on function returning 'void' [-Wattributes] 13 | static void usage(void) __attribute__((const)); | ^~~~~~ main.c: In function 'completion': main.c:604:31: error: implicit declaration of function 'completion_matches'; did you mean 'rl_completion_matches'? [-Wimplicit-function-declaration] 604 | if(!start) matches=(char **)completion_matches(text, match); | ^~~~~~~~~~~~~~~~~~ | rl_completion_matches main.c:604:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 604 | if(!start) matches=(char **)completion_matches(text, match); | ^ main.c: In function 'stripwhite': main.c:629:3: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 629 | bzero(command, sizeof(command)); | ^~~~~ main.c:629:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] --- elf.o --- elf.c: In function 'is_elf': elf.c:26:61: error: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 26 | fprintf(stderr, "ERROR: could not open file: %s\n", strerror(errno)); | ^~~~~~~~ | perror elf.c:35:5: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 35 | memset(buffer, 0, SELFMAG+1); | ^~~~~~ elf.c:19:1: note: include '' or provide a declaration of 'memset' 18 | #include +++ |+#include 19 | elf.c:35:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 35 | memset(buffer, 0, SELFMAG+1); | ^~~~~~ elf.c:35:5: note: include '' or provide a declaration of 'memset' elf.c:42:8: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 42 | if(strcmp(ELFMAG, buffer)==0){ | ^~~~~~ elf.c:42:8: note: include '' or provide a declaration of 'strcmp' *** [elf.o] Error code 1 bmake: stopped making "elf" in /home/pbulk/build/devel/elf/work/elf-0.5.3/src --- main.o --- *** [main.o] Error code 1 bmake: stopped making "elf" in /home/pbulk/build/devel/elf/work/elf-0.5.3/src bmake: 2 errors bmake: stopped making "elf" in /home/pbulk/build/devel/elf/work/elf-0.5.3/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elf *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/elf