=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for chipmunk-1.4nb2 --- control.o --- --- fileops.o --- --- memops.o --- --- io_ops.o --- --- strerror.o --- --- memtest.o --- --- tests.o --- --- comm960.o --- --- control.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c control.c -o control.o --- fileops.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c fileops.c -o fileops.o --- io_ops.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c io_ops.c -o io_ops.o --- memops.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c memops.c -o memops.o --- strerror.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c strerror.c -o strerror.o --- comm960.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c comm960.c -o comm960.o --- memtest.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c memtest.c -o memtest.o --- tests.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c tests.c -o tests.o --- strerror.o --- --- move.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c move.c -o move.o --- 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) (); | ^~~~~~~~~ --- comm960.o --- In file included from comm960.c:14: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ --- tests.o --- In file included from tests.c:14: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ --- 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) (); | ^~~~~~~~~ --- memtest.o --- memtest.c:12:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 12 | #endif STANDALONE | ^~~~~~~~~~ --- control.o --- control.c:17:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 17 | #endif USE_SIGNALS | ^~~~~~~~~~~ --- io_ops.o --- In file included from io_ops.c:8: io_ops.c: In function 'do_ioperm': --- control.o --- 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) (); | ^~~~~~~~~ --- io_ops.o --- config.h:129:29: warning: implicit declaration of function 'i386_iopl' [-Wimplicit-function-declaration] 129 | # define my_ioperm(x,y,z) i386_iopl(1) | ^~~~~~~~~ io_ops.c:76:10: note: in expansion of macro 'my_ioperm' 76 | return my_ioperm (startport,numports,1); | ^~~~~~~~~ io_ops.c:72:18: warning: variable 'numports' set but not used [-Wunused-but-set-variable] 72 | unsigned short numports; | ^~~~~~~~ io_ops.c:71:18: warning: variable 'startport' set but not used [-Wunused-but-set-variable] 71 | unsigned short startport; | ^~~~~~~~~ --- 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) (); | ^~~~~~~~~ --- tests.o --- tests.c:163:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 163 | #endif DEBUG | ^~~~~ tests.c: In function 'setfaults': tests.c:243:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 243 | #endif DEBUG | ^~~~~ tests.c: In function 'tver': tests.c:254:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 254 | # endif DEBUG | ^~~~~ --- fileops.o --- fileops.c: In function 'load': fileops.c:26:55: warning: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 26 | 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=] 26 | printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | char * int | %d --- tests.o --- tests.c: In function 'crashtest': tests.c:291:14: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 291 | for (i = strlen ("OK : Crashtest passed."); i < 80; i++) | ^~~~~~ tests.c:17:1: note: include '' or provide a declaration of 'strlen' 16 | #include "tests.h" +++ |+#include 17 | --- fileops.o --- fileops.c: In function 'save': --- memtest.o --- memtest.c:18:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 18 | #endif USE_UNISTD | ^~~~~~~~~~ --- fileops.o --- fileops.c:55:38: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 55 | printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | char * int | %d --- tests.o --- tests.c:291:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 291 | for (i = strlen ("OK : Crashtest passed."); i < 80; i++) | ^~~~~~ tests.c:291:14: note: include '' or provide a declaration of 'strlen' --- memtest.o --- memtest.c:23:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 23 | #endif STANDALONE | ^~~~~~~~~~ memtest.c:125:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 125 | #endif USE_USLEEP | ^~~~~~~~~~ memtest.c:222:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 222 | #endif USE_LONG_LONG | ^~~~~~~~~~~~~ memtest.c:288:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 288 | #endif STANDALONE | ^~~~~~~~~~ --- memops.o --- memops.c: In function 'do_memcpy': memops.c:248:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 248 | memcpy (q, p, l); | ^~~~~~ memops.c:26:1: note: include '' or provide a declaration of 'memcpy' 25 | #include "chipmunk.h" +++ |+#include 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 '' or provide a declaration of 'memcpy' --- memtest.o --- memtest.c: In function 'memtest': memtest.c:369:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 369 | #endif INCLUDE_RND | ^~~~~~~~~~~ memtest.c:372:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 372 | #endif INCLUDE_RND1 | ^~~~~~~~~~~~ memtest.c:408:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 408 | #endif INCLUDE_RND2 | ^~~~~~~~~~~~ memtest.c:411:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 411 | #endif INCLUDE_CNT | ^~~~~~~~~~~ --- tests.o --- tests.c: In function 'ghost_test': --- control.o --- control.c:25:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 25 | #endif USE_UNISTD | ^~~~~~~~~~ --- tests.o --- tests.c:524:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 524 | if (VERBOSE >= 1) /* report */ | ^ --- memtest.o --- memtest.c:434:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 434 | #endif INCLUDE_RND | ^~~~~~~~~~~ memtest.c:437:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 437 | #endif INCLUDE_CNT | ^~~~~~~~~~~ memtest.c:462:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 462 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ memtest.c:476:11: warning: extra tokens at end of #endif directive [-Wendif-labels] 476 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ memtest.c:479:11: warning: extra tokens at end of #endif directive [-Wendif-labels] 479 | # endif INCLUDE_RND | ^~~~~~~~~~~ memtest.c:482:11: warning: extra tokens at end of #endif directive [-Wendif-labels] 482 | # endif INCLUDE_CNT | ^~~~~~~~~~~ --- tests.o --- tests.c: In function 'addrtest': --- memtest.o --- memtest.c:502:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 502 | # endif INCLUDE_CNT | ^~~~~~~~~~~ --- tests.o --- tests.c:701:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 701 | if ((VERBOSE >= 2) && e) | ^ --- control.o --- control.c:31:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 31 | #endif USE_READLINE | ^~~~~~~~~~~~ --- memtest.o --- memtest.c:535:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 535 | # endif STANDALONE | ^~~~~~~~~~ memtest.c:540:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 540 | # endif INCLUDE_RND1 | ^~~~~~~~~~~~ --- control.o --- control.c:81:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 81 | #endif USE_CHECK | ^~~~~~~~~ --- memtest.o --- memtest.c:547:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 547 | # endif INCLUDE_RND2 | ^~~~~~~~~~~~ --- control.o --- control.c:93:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 93 | #endif USE_CBREAK | ^~~~~~~~~~ control.c:117:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 117 | #endif USE_BOGUS_USLEEP | ^~~~~~~~~~~~~~~~ --- memtest.o --- memtest.c:581:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 581 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ --- control.o --- In file included from /usr/include/ctype.h:100, from control.c:9: control.c: In function 'tstenv': control.c:233:25: warning: array subscript has type 'char' [-Wchar-subscripts] 233 | if (isdigit (argv[i][0])) { | ^ 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 | ^~~~~~~~~~~~ --- comm960.o --- --- rmove.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c rmove.c -o rmove.o --- control.o --- control.c: In function 'set': control.c:644:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 644 | #endif USE_CHECK | ^~~~~~~~~ --- memtest.o --- memtest.c:597:13: warning: extra tokens at end of #endif directive [-Wendif-labels] 597 | # endif INCLUDE_CNT | ^~~~~~~~~~~ memtest.c:622:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 622 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ --- 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) | ^ --- tests.o --- tests.c: In function 'dlbftest': --- control.o --- control.c: In function 'autoload': control.c:775:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 775 | #endif USE_ALLOCA | ^~~~~~~~~~ --- tests.o --- tests.c:1834:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1834 | if (VERBOSE >= 2) | ^ --- control.o --- control.c:782:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 782 | #endif USE_ALLOCA | ^~~~~~~~~~ --- tests.o --- tests.c:1885:22: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1885 | if (bf[i][x] * bf[x][j]) | ~~~~~~~~~^~~~~~~~~~ --- control.o --- control.c: In function 'evalexp': control.c:824:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 824 | #endif USE_CHECK | ^~~~~~~~~ --- memtest.o --- memtest.c:640:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 640 | # endif INCLUDE_RND2 | ^~~~~~~~~~~~ memtest.c:645:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 645 | # endif INCLUDE_RND1 | ^~~~~~~~~~~~ memtest.c:651:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 651 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ --- control.o --- 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 'substvars': control.c:1053:27: warning: array subscript has type 'char' [-Wchar-subscripts] 1053 | if (isdigit (argv[i][1])) { | ^ --- io_ops.o --- --- sbus.o --- --- move.o --- --- p555.o --- --- sbus.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c sbus.c -o sbus.o --- p555.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c p555.c -o p555.o --- control.o --- control.c: In function 'initialize_readline': control.c:1258:33: error: 'Function' undeclared (first use in this function) 1258 | rl_completion_entry_function=(Function *)dummy_filename_completion_function; | ^~~~~~~~ control.c:1258:33: note: each undeclared identifier is reported only once for each function it appears in control.c:1258:43: error: expected expression before ')' token 1258 | rl_completion_entry_function=(Function *)dummy_filename_completion_function; | ^ control.c:1259:49: error: expected expression before ')' token 1259 | rl_attempted_completion_function = (Function *)completion; | ^ control.c: In function 'completion': control.c:1281:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1281 | matches = completion_matches (text, command_name_generator); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) In file included from control.c:29: /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- memtest.o --- memtest.c:663:13: warning: extra tokens at end of #endif directive [-Wendif-labels] 663 | # endif INCLUDE_RND | ^~~~~~~~~~~ --- control.o --- control.c:1284:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1284 | matches = completion_matches (text, variable_name_generator); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) --- memtest.o --- memtest.c:670:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 670 | # endif INCLUDE_RND1 | ^~~~~~~~~~~~ --- control.o --- /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ control.c:1291:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1291 | matches = completion_matches (text, variable_name_generator); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- memtest.o --- memtest.c:702:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 702 | else | ^~~~ memtest.c:704:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 704 | printf (" %d", e_v[i] ); | ^~~~~~ --- control.o --- control.c:1295:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1295 | matches = completion_matches (text, command_name_generator); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- memtest.o --- memtest.c:738:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 738 | #endif USE_LONG_LONG | ^~~~~~~~~~~~~ --- control.o --- control.c:1300:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1300 | matches = completion_matches (text, macro_name_generator); | ^~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ control.c:1305:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1305 | matches = completion_matches (text, file_name_generator); | ^~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- memtest.o --- memtest.c: At top level: memtest.c:745:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 745 | #endif USE_MEMTEST | ^~~~~~~~~~~ --- control.o --- 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: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 | ^~~~~~~~~~~~ --- rmove.o --- --- 2051.o --- --- control.o --- control.c:1598:29: warning: array subscript has type 'char' [-Wchar-subscripts] 1598 | for (i = 0; isspace (cmd[i]); i++); | ^ --- 2051.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c 2051.c -o 2051.o --- p555.o --- p555.c:92:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 92 | #endif INCLUDE_P555 | ^~~~~~~~~~~~ --- sbus.o --- --- version --- --- control.o --- *** [control.o] Error code 1 make: stopped making "chipmunk" in /pbulk/work/misc/chipmunk/work/chipmunk-1.4 --- fileops.o --- --- 2051.o --- --- memops.o --- --- tests.o --- --- memtest.o --- make: 1 error make: stopped making "chipmunk" in /pbulk/work/misc/chipmunk/work/chipmunk-1.4 *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/misc/chipmunk *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/misc/chipmunk