+ 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/xlife-5.0nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xlife-5.0nb6/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xlife-5.0nb6 /usr/bin/touch /home/pbulk/build/math/xlife/work/collect.man /home/pbulk/build/math/xlife/work/lifesearchdumb.man --- cell.o --- --- data.o --- --- file.o --- --- file_misc.o --- --- cell.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c cell.c In file included from cell.c:25: defs.h:25:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 25 | #endif __GNUCC__ | ^~~~~~~~~ --- data.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c data.c --- file.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c file.c --- file_misc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c file_misc.c --- data.o --- In file included from data.c:30: defs.h:25:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 25 | #endif __GNUCC__ | ^~~~~~~~~ --- file_misc.o --- In file included from file_misc.c:24: defs.h:25:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 25 | #endif __GNUCC__ | ^~~~~~~~~ --- generate.o --- --- file.o --- In file included from file.c:33: defs.h:25:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 25 | #endif __GNUCC__ | ^~~~~~~~~ --- generate.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c generate.c --- file_misc.o --- file_misc.c: In function 'view_comments': file_misc.c:87:5: error: implicit declaration of function 'redrawscreen' [-Wimplicit-function-declaration] 87 | redrawscreen(); | ^~~~~~~~~~~~ --- file.o --- file.c: In function 'fileinit': file.c:76:29: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 76 | loadscript = (LoadReq *)malloc(sizeof(LoadReq)); | ^~~~~~ file.c:36:1: note: include '' or provide a declaration of 'malloc' 35 | #include "tile.h" +++ |+#include 36 | file.c:76:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 76 | loadscript = (LoadReq *)malloc(sizeof(LoadReq)); | ^~~~~~ file.c:76:29: note: include '' or provide a declaration of 'malloc' file.c: In function 'do_loadreq': file.c:237:14: error: implicit declaration of function 'do_loadfile'; did you mean 'loadfile'? [-Wimplicit-function-declaration] 237 | if (!do_loadfile(&loadqueue, &tentative)) | ^~~~~~~~~~~ | loadfile file.c: In function 'add_loadreq': file.c:279:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 279 | newreq=(LoadReq *)malloc(sizeof(LoadReq)); | ^~~~~~ file.c:279:23: note: include '' or provide a declaration of 'malloc' file.c: In function 'do_loadfile': file.c:342:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 342 | free(*loadqueue); | ^~~~ file.c:342:5: note: include '' or provide a declaration of 'free' file.c:342:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] file.c:342:5: note: include '' or provide a declaration of 'free' file.c: At top level: file.c:601:8: error: return type defaults to 'int' [-Wimplicit-int] 601 | static get_rot_flip(rxx,rxy,ryx,ryy,rot,flip) | ^~~~~~~~~~~~ file.c: In function 'free_loadscript': file.c:626:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 626 | free(ptr); | ^~~~ file.c:626:9: note: include '' or provide a declaration of 'free' file.c: At top level: file.c:695:8: error: return type defaults to 'int' [-Wimplicit-int] 695 | static add_include_entry(patname,loadtime,hotx,hoty,xx,xy,yx,yy) | ^~~~~~~~~~~~~~~~~ file.c: In function 'add_include_entry': file.c:704:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 704 | newreq=(LoadReq *)malloc(sizeof(LoadReq)); | ^~~~~~ file.c:704:23: note: include '' or provide a declaration of 'malloc' --- file_misc.o --- *** [file_misc.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/math/xlife/work --- generate.o --- In file included from generate.c:34: defs.h:25:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 25 | #endif __GNUCC__ | ^~~~~~~~~ --- file.o --- *** [file.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/math/xlife/work --- generate.o --- generate.c: In function 'evolven': generate.c:885:30: error: implicit declaration of function 'newstate' [-Wimplicit-function-declaration] 885 | newval = newstate(hold[i][j], | ^~~~~~~~ generate.c: In function 'parse_recurse': generate.c:1097:9: error: implicit declaration of function 'make_transition'; did you mean 'patch_transition'? [-Wimplicit-function-declaration] 1097 | make_transition(sofar[0],sofar[1],sofar[2],sofar[3],sofar[4],sofar[5]); | ^~~~~~~~~~~~~~~ | patch_transition generate.c: In function 'readrules': generate.c:1189:22: error: implicit declaration of function 'atoi'; did you mean 'stoi'? [-Wimplicit-function-declaration] 1189 | edebug = atoi(buf + 6); | ^~~~ | stoi generate.c: In function 'generate': generate.c:1276:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1276 | #endif PROF | ^~~~ generate.c:1315:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1315 | #endif PROF | ^~~~ *** [generate.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/math/xlife/work bmake: 3 errors bmake: stopped making "all" in /home/pbulk/build/math/xlife/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/xlife *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/xlife