=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/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 -c control.c --- fileops.o --- gcc -Wall -O2 -c fileops.c --- memops.o --- gcc -Wall -O2 -c memops.c --- io_ops.o --- gcc -Wall -O2 -c io_ops.c --- strerror.o --- gcc -Wall -O2 -c strerror.c --- memtest.o --- gcc -Wall -O2 -c memtest.c --- tests.o --- gcc -Wall -O2 -c tests.c --- comm960.o --- gcc -Wall -O2 -c comm960.c --- move.o --- gcc -Wall -O2 -c move.c --- memtest.o --- memtest.c:12:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif STANDALONE ^ // memtest.c:745:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_MEMTEST ^ // --- control.o --- control.c:17:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_SIGNALS ^ // In file included from control.c:19: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ control.c:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_UNISTD ^ // control.c:31:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // control.c:81:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CHECK ^ // control.c:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CBREAK ^ // control.c:117:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_BOGUS_USLEEP ^ // --- memtest.o --- 2 warnings generated. --- control.o --- control.c:192:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((str[0] == '#') ) {fmt = "%d"; str += 1;} ~~~~~~~^~~~~~ control.c:192:15: note: remove extraneous parentheses around the comparison to silence this warning if ((str[0] == '#') ) {fmt = "%d"; str += 1;} ~ ^ ~~ control.c:192:15: note: use '=' to turn this equality comparison into an assignment if ((str[0] == '#') ) {fmt = "%d"; str += 1;} ^~ = control.c:314:13: warning: cast to 'volatile short *' from smaller integer type 'int' [-Wint-to-pointer-cast] (void) *(volatile short *)(BASE + 0x10000); ^ control.c:315:9: warning: cast to 'short *' from smaller integer type 'int' [-Wint-to-pointer-cast] p = (short *) a; ^ control.c:320:17: warning: cast to 'volatile short *' from smaller integer type 'int' [-Wint-to-pointer-cast] (void) *(volatile short *)(BASE + 0x10000); ^ control.c:342:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // control.c:367:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // --- rmove.o --- --- control.o --- control.c:461:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((Toexecute->next == NULL)) ~~~~~~~~~~~~~~~~^~~~~~~ control.c:461:26: note: remove extraneous parentheses around the comparison to silence this warning if ((Toexecute->next == NULL)) ~ ^ ~ control.c:461:26: note: use '=' to turn this equality comparison into an assignment if ((Toexecute->next == NULL)) ^~ = control.c:644:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CHECK ^ // control.c:707:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else printf ("\n"); ^ --- io_ops.o --- In file included from io_ops.c:10: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ --- control.o --- control.c:775:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_ALLOCA ^ // control.c:782:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_ALLOCA ^ // control.c:824:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CHECK ^ // control.c:825:47: warning: cast to 'unsigned int *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] else if (strcmp (op, "@" ) == 0) result =*(unsigned int *)(BASE+a); ^ control.c:826:47: warning: cast to 'unsigned short *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] else if (strcmp (op, "@s") == 0) result =*(unsigned short *)(BASE+a); ^ control.c:827:47: warning: cast to 'unsigned char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] else if (strcmp (op, "@b") == 0) result =*(unsigned char *)(BASE+a); ^ --- comm960.o --- In file included from comm960.c:14: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ --- io_ops.o --- 1 warning generated. --- rmove.o --- gcc -Wall -O2 -c rmove.c --- control.o --- control.c:1148:3: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] usleep (n); ^ --- comm960.o --- 1 warning generated. --- control.o --- control.c:1200:22: warning: implicit declaration of function 'getkey' is invalid in C99 [-Wimplicit-function-declaration] keycode = tolower (getkey ());/* chnged to tolower. Rob */ ^ control.c:1415:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // control.c:1445:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_SIGNALS ^ // control.c:1478:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CHECK ^ // control.c:1525:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // control.c:1531:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_SIGNALS ^ // control.c:1566:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_SIGNALS ^ // control.c:1587:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // --- sbus.o --- --- p555.o --- --- sbus.o --- gcc -Wall -O2 -c sbus.c --- p555.o --- gcc -Wall -O2 -c p555.c --- memops.o --- In file included from memops.c:24: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ memops.c:98:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(int *)a = myatoi (argv[2]); ^ memops.c:108:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(int *)a &= myatoi (argv[2]); ^ memops.c:118:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(int *)a |= myatoi (argv[2]); ^ memops.c:128:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(int *)a ^= myatoi (argv[2]); ^ memops.c:139:4: warning: cast to 'unsigned short *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned short *)a = myatoi (argv[2]); ^ memops.c:149:4: warning: cast to 'unsigned short *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned short *)a &= myatoi (argv[2]); ^ memops.c:159:4: warning: cast to 'unsigned short *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned short *)a |= myatoi (argv[2]); ^ memops.c:169:4: warning: cast to 'unsigned short *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned short *)a ^= myatoi (argv[2]); ^ memops.c:179:4: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned char *)a = myatoi (argv[2]); ^ memops.c:189:4: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned char *)a &= myatoi (argv[2]); ^ memops.c:199:4: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned char *)a |= myatoi (argv[2]); ^ memops.c:209:4: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned char *)a ^= myatoi (argv[2]); ^ memops.c:220:7: warning: cast to 'int *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] p = (int *) (BASE + myatoi (argv[1])); ^ memops.c:245:7: warning: cast to 'int *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] p = (int *) (BASE + myatoi (argv[1])); ^ memops.c:247:7: warning: cast to 'int *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] q = (int *) (BASE + myatoi (argv[3])); ^ memops.c:248:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy (q, p, l); ^ memops.c:248:3: note: include the header or explicitly provide a declaration for 'memcpy' --- 2051.o --- --- memops.o --- memops.c:289:7: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] p = (void *)myatoi (argv[1]); ^ memops.c:306:9: warning: cast to 'unsigned char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] a = (unsigned char *) (BASE + myatoi (argv[1])); ^ --- 2051.o --- gcc -Wall -O2 -c 2051.c --- fileops.o --- In file included from fileops.c:15: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ fileops.c:26:55: warning: implicitly declaring library function 'strerror' with type 'char *(int)' [-Wimplicit-function-declaration] printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); ^ fileops.c:26:55: note: include the header or explicitly provide a declaration for 'strerror' fileops.c:32:16: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] s = fread ((void *)a,1,100000000,f); ^ fileops.c:58:15: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] n = fwrite ((void *)a,1,s,f); ^ 4 warnings generated. --- version --- --- p555.o --- p555.c:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif INCLUDE_P555 ^ // 1 warning generated. --- version.o --- gcc -Wall -O2 -c version.c -o version.o -DMAJOR=1 -DMINOR=4 --- memops.o --- 19 warnings generated. --- control.o --- 31 warnings generated. --- chipmunk --- gcc -L/usr/lib -L/opt/pkg/lib control.o fileops.o memops.o io_ops.o strerror.o memtest.o tests.o comm960.o move.o rmove.o sbus.o p555.o 2051.o version.o -lreadline -ltermcap -o chipmunk Undefined symbols for architecture arm64: "_getkey", referenced from: _ask in control.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [chipmunk] Error code 1 bmake: stopped in /opt/work/misc/chipmunk/work/chipmunk-1.4 1 error bmake: stopped in /opt/work/misc/chipmunk/work/chipmunk-1.4 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/misc/chipmunk *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/misc/chipmunk