+ 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/chipmunk-1.4nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/chipmunk-1.4nb2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for chipmunk-1.4nb2 --- control.o --- --- fileops.o --- --- memops.o --- --- io_ops.o --- --- control.o --- gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c control.c --- fileops.o --- gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c fileops.c --- memops.o --- gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c memops.c --- io_ops.o --- gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c io_ops.c --- control.o --- control.c:17:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 17 | #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] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ control.c:25:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 25 | #endif USE_UNISTD | ^~~~~~~~~~ control.c:31:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 31 | #endif USE_READLINE | ^~~~~~~~~~~~ In file included from control.c:35: chipmunk.h:17:5: error: conflicting types for 'my_usleep'; have 'int(int)' 17 | int my_usleep (int t); | ^~~~~~~~~ In file included from control.c:12: config.h:63:19: note: previous declaration of 'my_usleep' with type 'int(useconds_t)' {aka 'int(unsigned int)'} 63 | # define usleep my_usleep | ^~~~~~~~~ control.c:81:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 81 | #endif USE_CHECK | ^~~~~~~~~ control.c:93:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 93 | #endif USE_CBREAK | ^~~~~~~~~~ config.h:63:19: error: conflicting types for 'my_usleep'; have 'int(int)' 63 | # define usleep my_usleep | ^~~~~~~~~ control.c:112:5: note: in expansion of macro 'usleep' 112 | int usleep (int t) { | ^~~~~~ config.h:63:19: note: previous declaration of 'my_usleep' with type 'int(useconds_t)' {aka 'int(unsigned int)'} 63 | # define usleep my_usleep | ^~~~~~~~~ control.c:117:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 117 | #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] 314 | (void) *(volatile short *)(BASE + 0x10000); | ^ control.c:315:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 315 | p = (short *) a; | ^ control.c:320:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 320 | (void) *(volatile short *)(BASE + 0x10000); | ^ control.c: In function 'macdef': control.c:342:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 342 | #endif USE_READLINE | ^~~~~~~~~~~~ control.c:367:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 367 | #endif USE_READLINE | ^~~~~~~~~~~~ control.c: In function 'set': control.c:644:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 644 | #endif USE_CHECK | ^~~~~~~~~ --- memops.o --- In file included from memops.c:24: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ --- control.o --- control.c: In function 'echo': control.c:705:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 705 | if (VERBOSE >= 0) | ^ control.c: In function 'autoload': control.c:772:14: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 772 | cargv[1] = alloca (strlen (argv[0]) + 1); | ^~~~~~ control.c:772:14: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] control.c:775:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 775 | #endif USE_ALLOCA | ^~~~~~~~~~ control.c:782:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 782 | #endif USE_ALLOCA | ^~~~~~~~~~ control.c: In function 'evalexp': control.c:824:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 824 | #endif USE_CHECK | ^~~~~~~~~ control.c:825:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 825 | 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] 826 | 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] 827 | 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] 1010 | unsigned int line; | ^~~~ control.c: In function 'initialize_readline': control.c:1258:3: warning: 'Function' is deprecated [-Wdeprecated-declarations] 1258 | rl_completion_entry_function=(Function *)dummy_filename_completion_function; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- fileops.o --- In file included from fileops.c:15: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ fileops.c: In function 'load': fileops.c:32:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 32 | s = fread ((void *)a,1,100000000,f); | ^ fileops.c: In function 'save': fileops.c:58:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 58 | n = fwrite ((void *)a,1,s,f); | ^ --- control.o --- control.c:1258:31: warning: assignment to 'char * (*)(const char *, int)' from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] 1258 | rl_completion_entry_function=(Function *)dummy_filename_completion_function; | ^ control.c:1259:3: warning: 'Function' is deprecated [-Wdeprecated-declarations] 1259 | 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] 1259 | 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] 1281 | matches = completion_matches (text, command_name_generator); --- memops.o --- In file included from memops.c:25: chipmunk.h:17:5: error: conflicting types for 'my_usleep'; have 'int(int)' 17 | int my_usleep (int t); | ^~~~~~~~~ In file included from memops.c:12: config.h:63:19: note: previous declaration of 'my_usleep' with type 'int(useconds_t)' {aka 'int(unsigned int)'} 63 | # define usleep my_usleep | ^~~~~~~~~ --- control.o --- | ^~~~~~~~~~~~~~~~~~ | rl_completion_matches control.c:1281:13: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1281 | 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] 1284 | 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] 1291 | matches = completion_matches (text, variable_name_generator); | ^ --- memops.o --- memops.c: In function 'poke': memops.c:98:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 98 | *(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] 108 | *(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] 118 | *(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] 128 | *(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] 139 | *(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] 149 | *(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] 159 | *(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] 169 | *(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] 179 | *(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] 189 | *(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] 199 | *(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] 209 | *(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] 220 | p = (int *) (BASE + myatoi (argv[1])); | ^ memops.c:235:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 235 | 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] 245 | p = (int *) (BASE + myatoi (argv[1])); | ^ memops.c:247:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 247 | q = (int *) (BASE + myatoi (argv[3])); | ^ memops.c:248:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 248 | memcpy (q, p, l); | ^~~~~~ memops.c:26:1: note: include '<string.h>' or provide a declaration of 'memcpy' 25 | #include "chipmunk.h" +++ |+#include <string.h> 26 | memops.c:248:3: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 248 | memcpy (q, p, l); | ^~~~~~ memops.c:248:3: note: include '<string.h>' or provide a declaration of 'memcpy' memops.c:250:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 250 | 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] 250 | 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] 271 | 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] 282 | 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] 289 | p = (void *)myatoi (argv[1]); | ^ memops.c:290:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 290 | if ((unsigned int)p < 4096) { | ^ memops.c:292:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 292 | 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] 306 | a = (unsigned char *) (BASE + myatoi (argv[1])); | ^ memops.c:314:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 314 | printf ("%08x ", (unsigned int)a); | ^ --- control.o --- control.c:1295:13: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1295 | 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] 1300 | 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] 1305 | 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] 1415 | #endif USE_READLINE | ^~~~~~~~~~~~ control.c: In function 'intsig': control.c:1425:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1425 | #endif SYSV_SIGNALS | ^~~~~~~~~~~~ control.c: In function 'bussig': --- io_ops.o --- In file included from io_ops.c:10: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ In file included from io_ops.c:16: chipmunk.h:17:5: error: conflicting types for 'my_usleep'; have 'int(int)' 17 | int my_usleep (int t); | ^~~~~~~~~ In file included from io_ops.c:8: config.h:63:19: note: previous declaration of 'my_usleep' with type 'int(useconds_t)' {aka 'int(unsigned int)'} 63 | # define usleep my_usleep | ^~~~~~~~~ --- control.o --- control.c:1433:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1433 | #endif SYSV_SIGNALS | ^~~~~~~~~~~~ control.c: In function 'segvsig': control.c:1441:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1441 | #endif SYSV_SIGNALS | ^~~~~~~~~~~~ control.c: At top level: control.c:1445:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1445 | #endif USE_SIGNALS | ^~~~~~~~~~~ control.c: In function 'eval_expression': control.c:1478:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1478 | #endif USE_CHECK | ^~~~~~~~~ control.c: In function 'main': control.c:1525:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1525 | #endif USE_READLINE | ^~~~~~~~~~~~ control.c:1528:41: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1528 | signal (SIGINT, SIGNAL_FUNCTION_CAST intsig); | ^~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from control.c:15: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ control.c:1529:41: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1529 | signal (SIGBUS, SIGNAL_FUNCTION_CAST bussig); | ^~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ control.c:1530:41: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1530 | signal (SIGSEGV, SIGNAL_FUNCTION_CAST segvsig); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ control.c:1531:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1531 | #endif USE_SIGNALS | ^~~~~~~~~~~ --- memops.o --- *** [memops.o] Error code 1 bmake: stopped making "chipmunk" in /home/pbulk/build/misc/chipmunk/work/chipmunk-1.4 --- io_ops.o --- *** [io_ops.o] Error code 1 bmake: stopped making "chipmunk" in /home/pbulk/build/misc/chipmunk/work/chipmunk-1.4 --- control.o --- control.c:1566:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1566 | #endif USE_SIGNALS | ^~~~~~~~~~~ control.c:1587:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1587 | #endif USE_READLINE | ^~~~~~~~~~~~ *** [control.o] Error code 1 bmake: stopped making "chipmunk" in /home/pbulk/build/misc/chipmunk/work/chipmunk-1.4 bmake: 3 errors bmake: stopped making "chipmunk" in /home/pbulk/build/misc/chipmunk/work/chipmunk-1.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/chipmunk *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/chipmunk