+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/chipmunk-1.4nb2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/chipmunk-1.4nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for chipmunk-1.4nb2 --- control.o --- --- fileops.o --- --- control.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/pkg/include/ncurses -c control.c --- fileops.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/pkg/include/ncurses -c fileops.c --- control.o --- control.c:17:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_SIGNALS ^~~~~~~~~~~ In file included from control.c:19: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] typedef (*builtinfn) (); ^~~~~~~~~ commands.h:97:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] D("log", log, "log session to a file","fn") ^~~ commands.h:17:25: note: in definition of macro 'D' # define D(a,b,c,d) int b (int argc,char **argv); ^ control.c:25:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_UNISTD ^~~~~~~~~~ control.c:31:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_READLINE ^~~~~~~~~~~~ control.c:81:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_CHECK ^~~~~~~~~ control.c:93:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_CBREAK ^~~~~~~~~~ control.c:117:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_BOGUS_USLEEP ^~~~~~~~~~~~~~~~ control.c: In function 'pmt': control.c:314:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void) *(volatile short *)(BASE + 0x10000); ^ control.c:315:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p = (short *) a; ^ control.c:320:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void) *(volatile short *)(BASE + 0x10000); ^ control.c: In function 'macdef': control.c:342:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_READLINE ^~~~~~~~~~~~ control.c:367:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_READLINE ^~~~~~~~~~~~ control.c: In function 'set': control.c:644:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_CHECK ^~~~~~~~~ control.c: In function 'echo': control.c:705:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (VERBOSE >= 0) ^ control.c: In function 'autoload': control.c:775:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_ALLOCA ^~~~~~~~~~ control.c:782:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_ALLOCA ^~~~~~~~~~ control.c: In function 'evalexp': control.c:824:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_CHECK ^~~~~~~~~ control.c:825:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if (strcmp (op, "@" ) == 0) result =*(unsigned int *)(BASE+a); ^ control.c:826:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if (strcmp (op, "@s") == 0) result =*(unsigned short *)(BASE+a); ^ control.c:827:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if (strcmp (op, "@b") == 0) result =*(unsigned char *)(BASE+a); ^ control.c: In function 'do_endwhile': control.c:1010:16: warning: variable 'line' set but not used [-Wunused-but-set-variable] unsigned int line; ^~~~ control.c: In function 'initialize_readline': control.c:1258:3: warning: 'Function' is deprecated [-Wdeprecated-declarations] rl_completion_entry_function=(Function *)dummy_filename_completion_function; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:1258:31: warning: assignment to 'char * (*)(const char *, int)' from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] rl_completion_entry_function=(Function *)dummy_filename_completion_function; ^ control.c:1259:3: warning: 'Function' is deprecated [-Wdeprecated-declarations] rl_attempted_completion_function = (Function *)completion; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:1259:36: warning: assignment to 'char ** (*)(const char *, int, int)' from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] rl_attempted_completion_function = (Function *)completion; ^ control.c: In function 'completion': control.c:1281:15: warning: implicit declaration of function 'completion_matches'; did you mean 'rl_completion_matches'? [-Wimplicit-function-declaration] matches = completion_matches (text, command_name_generator); ^~~~~~~~~~~~~~~~~~ rl_completion_matches control.c:1281:13: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] matches = completion_matches (text, command_name_generator); ^ control.c:1284:13: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] matches = completion_matches (text, variable_name_generator); ^ control.c:1291:13: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] matches = completion_matches (text, variable_name_generator); ^ control.c:1295:13: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] matches = completion_matches (text, command_name_generator); ^ control.c:1300:13: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] matches = completion_matches (text, macro_name_generator); ^ control.c:1305:13: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] matches = completion_matches (text, file_name_generator); ^ control.c: At top level: control.c:1415:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_READLINE ^~~~~~~~~~~~ In file included from control.c:12: control.c: In function 'intsig': config.h:40:31: error: 'SignalHandler' undeclared (first use in this function); did you mean 'sa_handler'? #define SIGNAL_FUNCTION_CAST (SignalHandler) ^~~~~~~~~~~~~ control.c:1424:20: note: in expansion of macro 'SIGNAL_FUNCTION_CAST' signal (SIGINT, SIGNAL_FUNCTION_CAST intsig); ^~~~~~~~~~~~~~~~~~~~ config.h:40:31: note: each undeclared identifier is reported only once for each function it appears in #define SIGNAL_FUNCTION_CAST (SignalHandler) ^~~~~~~~~~~~~ control.c:1424:20: note: in expansion of macro 'SIGNAL_FUNCTION_CAST' signal (SIGINT, SIGNAL_FUNCTION_CAST intsig); ^~~~~~~~~~~~~~~~~~~~ control.c:1424:41: error: expected ')' before 'intsig' signal (SIGINT, SIGNAL_FUNCTION_CAST intsig); ^~~~~~ control.c:1425:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SYSV_SIGNALS ^~~~~~~~~~~~ In file included from control.c:12: control.c: In function 'bussig': config.h:40:31: error: 'SignalHandler' undeclared (first use in this function); did you mean 'sa_handler'? #define SIGNAL_FUNCTION_CAST (SignalHandler) ^~~~~~~~~~~~~ control.c:1432:20: note: in expansion of macro 'SIGNAL_FUNCTION_CAST' signal (SIGBUS, SIGNAL_FUNCTION_CAST bussig); ^~~~~~~~~~~~~~~~~~~~ control.c:1432:41: error: expected ')' before 'bussig' signal (SIGBUS, SIGNAL_FUNCTION_CAST bussig); ^~~~~~ control.c:1433:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SYSV_SIGNALS ^~~~~~~~~~~~ In file included from control.c:12: control.c: In function 'segvsig': config.h:40:31: error: 'SignalHandler' undeclared (first use in this function); did you mean 'sa_handler'? #define SIGNAL_FUNCTION_CAST (SignalHandler) ^~~~~~~~~~~~~ control.c:1440:20: note: in expansion of macro 'SIGNAL_FUNCTION_CAST' signal (SIGSEGV, SIGNAL_FUNCTION_CAST segvsig); ^~~~~~~~~~~~~~~~~~~~ control.c:1440:41: error: expected ')' before 'segvsig' signal (SIGSEGV, SIGNAL_FUNCTION_CAST segvsig); ^~~~~~~ control.c:1441:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SYSV_SIGNALS ^~~~~~~~~~~~ control.c: At top level: control.c:1445:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_SIGNALS ^~~~~~~~~~~ control.c: In function 'eval_expression': control.c:1478:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_CHECK ^~~~~~~~~ control.c: In function 'main': control.c:1525:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_READLINE ^~~~~~~~~~~~ In file included from control.c:12: config.h:40:31: error: 'SignalHandler' undeclared (first use in this function); did you mean 'sa_handler'? #define SIGNAL_FUNCTION_CAST (SignalHandler) ^~~~~~~~~~~~~ control.c:1528:20: note: in expansion of macro 'SIGNAL_FUNCTION_CAST' signal (SIGINT, SIGNAL_FUNCTION_CAST intsig); ^~~~~~~~~~~~~~~~~~~~ control.c:1528:41: error: expected ')' before 'intsig' signal (SIGINT, SIGNAL_FUNCTION_CAST intsig); ^~~~~~ control.c:1529:41: error: expected ')' before 'bussig' signal (SIGBUS, SIGNAL_FUNCTION_CAST bussig); ^~~~~~ control.c:1530:41: error: expected ')' before 'segvsig' signal (SIGSEGV, SIGNAL_FUNCTION_CAST segvsig); ^~~~~~~ control.c:1531:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_SIGNALS ^~~~~~~~~~~ control.c:1566:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_SIGNALS ^~~~~~~~~~~ control.c:1587:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_READLINE ^~~~~~~~~~~~ control.c: In function 'getkey': control.c:88:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system ("stty cbreak"); ^~~~~~~~~~~~~~~~~~~~~~ control.c:89:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (0, &t, 1); ^~~~~~~~~~~~~~~ control.c:90:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system ("stty -cbreak"); ^~~~~~~~~~~~~~~~~~~~~~~ control.c: In function 'autoload': control.c:765:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line,80,f) ; ^~~~~~~~~~~~~~~~~ *** [control.o] Error code 1 bmake: stopped in /home/pbulk/build/misc/chipmunk/work/chipmunk-1.4 --- fileops.o --- In file included from fileops.c:15: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] typedef (*builtinfn) (); ^~~~~~~~~ commands.h:97:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] D("log", log, "log session to a file","fn") ^~~ commands.h:17:25: note: in definition of macro 'D' # define D(a,b,c,d) int b (int argc,char **argv); ^ fileops.c: In function 'load': fileops.c:26:55: warning: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); ^~~~~~~~ perror fileops.c:26:40: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); ~^ ~~~~~~~~~~~~~~~ %d fileops.c:32:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = fread ((void *)a,1,100000000,f); ^ fileops.c: In function 'save': fileops.c:55:38: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); ~^ ~~~~~~~~~~~~~~~ %d fileops.c:58:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] n = fwrite ((void *)a,1,s,f); ^ 1 error bmake: stopped in /home/pbulk/build/misc/chipmunk/work/chipmunk-1.4 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/misc/chipmunk *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/misc/chipmunk