+ 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 [enabled by default] #endif USE_SIGNALS ^ In file included from control.c:19:0: 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' [enabled by default] 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 [enabled by default] #endif USE_UNISTD ^ control.c:31:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_READLINE ^ control.c:81:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_CHECK ^ control.c:93:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_CBREAK ^ control.c:117:8: warning: extra tokens at end of #endif directive [enabled by default] #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 [enabled by default] #endif USE_READLINE ^ control.c:367:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_READLINE ^ --- fileops.o --- In file included from fileops.c:15:0: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] typedef (*builtinfn) (); ^ --- control.o --- control.c: In function 'set': control.c:644:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_CHECK ^ --- fileops.o --- commands.h:97:13: warning: conflicting types for built-in function 'log' [enabled by default] 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:7: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration] printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); ^ fileops.c:26:7: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 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:5: 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)); ^ fileops.c:58:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] n = fwrite ((void *)a,1,s,f); ^ --- control.o --- control.c: In function 'echo': control.c:705:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (VERBOSE >= 0) ^ control.c: In function 'autoload': control.c:775:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_ALLOCA ^ control.c:782:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_ALLOCA ^ control.c: In function 'evalexp': control.c:824:8: warning: extra tokens at end of #endif directive [enabled by default] #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); ^ --- memops.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/pkg/include/ncurses -c memops.c --- control.o --- 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 from incompatible pointer type [enabled by default] 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 from incompatible pointer type [enabled by default] rl_attempted_completion_function = (Function *)completion; ^ control.c: In function 'completion': control.c:1281:5: warning: implicit declaration of function 'completion_matches' [-Wimplicit-function-declaration] matches = completion_matches (text, command_name_generator); ^ control.c:1281:13: warning: assignment makes pointer from integer without a cast [enabled by default] matches = completion_matches (text, command_name_generator); ^ control.c:1284:13: warning: assignment makes pointer from integer without a cast [enabled by default] matches = completion_matches (text, variable_name_generator); ^ control.c:1291:13: warning: assignment makes pointer from integer without a cast [enabled by default] matches = completion_matches (text, variable_name_generator); ^ control.c:1295:13: warning: assignment makes pointer from integer without a cast [enabled by default] matches = completion_matches (text, command_name_generator); ^ control.c:1300:13: warning: assignment makes pointer from integer without a cast [enabled by default] matches = completion_matches (text, macro_name_generator); ^ control.c:1305:13: warning: assignment makes pointer from integer without a cast [enabled by default] matches = completion_matches (text, file_name_generator); ^ control.c: At top level: control.c:1415:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_READLINE ^ In file included from control.c:12:0: control.c: In function 'intsig': config.h:40:31: error: 'SignalHandler' undeclared (first use in this function) #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 [enabled by default] #endif SYSV_SIGNALS ^ In file included from control.c:12:0: control.c: In function 'bussig': config.h:40:31: error: 'SignalHandler' undeclared (first use in this function) #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 [enabled by default] #endif SYSV_SIGNALS ^ In file included from control.c:12:0: control.c: In function 'segvsig': config.h:40:31: error: 'SignalHandler' undeclared (first use in this function) #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 [enabled by default] #endif SYSV_SIGNALS ^ control.c: At top level: control.c:1445:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_SIGNALS ^ control.c: In function 'eval_expression': control.c:1478:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_CHECK ^ control.c: In function 'main': control.c:1525:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_READLINE ^ In file included from control.c:12:0: config.h:40:31: error: 'SignalHandler' undeclared (first use in this function) #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 [enabled by default] #endif USE_SIGNALS ^ control.c:1566:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_SIGNALS ^ control.c:1587:8: warning: extra tokens at end of #endif directive [enabled by default] #endif USE_READLINE ^ control.c: In function 'getkey': control.c:88:10: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system ("stty cbreak"); ^ control.c:89:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (0, &t, 1); ^ control.c:90:10: 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:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line,80,f) ; ^ --- memops.o --- In file included from memops.c:24:0: 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' [enabled by default] 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); ^ memops.c: In function 'poke': memops.c:98:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(int *)a = myatoi (argv[2]); ^ memops.c: In function 'and': memops.c:108:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(int *)a &= myatoi (argv[2]); ^ memops.c: In function 'or': memops.c:118:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(int *)a |= myatoi (argv[2]); ^ memops.c: In function 'xor': memops.c:128:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(int *)a ^= myatoi (argv[2]); ^ memops.c: In function 'pokes': memops.c:139:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(unsigned short *)a = myatoi (argv[2]); ^ memops.c: In function 'ands': memops.c:149:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(unsigned short *)a &= myatoi (argv[2]); ^ memops.c: In function 'ors': memops.c:159:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(unsigned short *)a |= myatoi (argv[2]); ^ memops.c: In function 'xors': memops.c:169:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(unsigned short *)a ^= myatoi (argv[2]); ^ memops.c: In function 'pokeb': memops.c:179:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(unsigned char *)a = myatoi (argv[2]); ^ memops.c: In function 'andb': memops.c:189:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(unsigned char *)a &= myatoi (argv[2]); ^ memops.c: In function 'orb': memops.c:199:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(unsigned char *)a |= myatoi (argv[2]); ^ memops.c: In function 'xorb': memops.c:209:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *(unsigned char *)a ^= myatoi (argv[2]); ^ memops.c: In function 'fill': memops.c:220:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p = (int *) (BASE + myatoi (argv[1])); ^ memops.c:235:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf ("Filled upto %08x.\n", (int)p); ^ memops.c: In function 'do_memcpy': memops.c:245:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p = (int *) (BASE + myatoi (argv[1])); ^ memops.c:247:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] q = (int *) (BASE + myatoi (argv[3])); ^ memops.c:248:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy (q, p, l); ^ memops.c:248:3: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memops.c:250:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf ("copied %d bytes from %08x to %08x.\n", l, (int)p, (int)q); ^ memops.c:250:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf ("copied %d bytes from %08x to %08x.\n", l, (int)p, (int)q); ^ memops.c: In function 'domemmap': memops.c:271:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)p; ^ memops.c: In function 'domalloc': memops.c:282:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)p; ^ memops.c: In function 'dofree': memops.c:289:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p = (void *)myatoi (argv[1]); ^ memops.c:290:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned int)p < 4096) { ^ memops.c:292:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf ("ERR: %08x cannot be a pointer\n", (unsigned int) p); ^ memops.c: In function 'dump': memops.c:306:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] a = (unsigned char *) (BASE + myatoi (argv[1])); ^ memops.c:314:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf ("%08x ", (unsigned int)a); ^ --- control.o --- *** [control.o] Error code 1 bmake: stopped in /home/pbulk/build/misc/chipmunk/work/chipmunk-1.4 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-el7-trunk-x86_64/misc/chipmunk *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/misc/chipmunk