+ 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 => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for chipmunk-1.4nb2 gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c control.c 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 | ^~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~ | 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); | ^ 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': 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 | ^~~~~~~~~~~ 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 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-upstream-trunk/misc/chipmunk *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/chipmunk