=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for lambdamoo-1.8.1nb2 /bin/mv /Users/pbulk/build/net/lambdamoo/work/MOO-1.8.1/restart.sh /Users/pbulk/build/net/lambdamoo/work/MOO-1.8.1/restart.sh.in /opt/pkg/bin/nbsed /Users/pbulk/build/net/lambdamoo/work/MOO-1.8.1/restart.sh "s|__PREFIX__|/opt/pkg|g" --- configure --- --- net_mp_fake.o --- --- configure --- Not running autoconf; you must do this by hand. touch configure --- net_mp_fake.o --- touch net_mp_fake.o --- config.status --- env CC= YACC= ./configure --no-create checking for bison checking for gcc checking how to run the C preprocessor checking whether -traditional is needed checking how to run the C preprocessor checking for NeXT checking for the DEC Alpha running OSF/1 checking for the SGI compiler checking for AIX checking for POSIXized ISC checking for minix/config.h checking for -lintl checking for A/UX checking for HP/UX checking that the C compiler handles important ANSI C constructs checking for a working const keyword rm: conftest.dSYM: is a directory checking how to run the C preprocessor rm: conftest.dSYM: is a directory checking whether stdlib.h declares malloc and friends rm: conftest.dSYM: is a directory checking for sys/bsdtypes.h rm: conftest.dSYM: is a directory checking for sys/select.h checking for memory.h checking for pid_t in sys/types.h checking for mode_t in sys/types.h checking for size_t in sys/types.h checking for struct tm in time.h rm: conftest.dSYM: is a directory checking for tm_zone in struct tm checking for sqrt checking for mkfifo checking for waitpid checking for sigemptyset checking for accept checking for t_open checking for t_open checking for t_open checking for crypt checking for unistd.h checking for sys/cdefs.h checking for stdlib.h checking for tiuser.h checking for machine/endian.h checking for remove checking for rename checking for poll checking for select checking for strerror checking for strftime checking for strtoul checking for matherr checking for random checking for lrand48 checking for wait3 checking for wait2 checking for sigsetmask checking for sigprocmask checking for sigrelse checking whether tolower is declared in ctype.h checking whether fcntl is declared in fcntl.h checking whether htonl is declared in netinet/in.h checking whether ioctl is declared in sys/ioctl.h checking whether poll is declared in poll.h checking whether kill is declared in signal.h checking whether sigemptyset is declared in signal.h checking whether sigprocmask is declared in signal.h checking whether sigrelse is declared in signal.h checking whether accept is declared in sys/socket.h checking whether bind is declared in sys/socket.h checking whether shutdown is declared in sys/socket.h checking whether fstat is declared in sys/stat.h checking whether fclose is declared in stdio.h checking whether perror is declared in stdio.h checking whether remove is declared in stdio.h checking whether vfprintf is declared in stdio.h checking whether random is declared in stdlib.h checking whether srandom is declared in stdlib.h checking whether strtod is declared in stdlib.h checking whether strtol is declared in stdlib.h checking whether strtoul is declared in stdlib.h checking whether bzero is declared in string.h checking whether memcpy is declared in string.h checking whether memset is declared in string.h checking whether strerror is declared in string.h checking for bzero being declared in stdlib.h checking whether getitimer is declared in sys/time.h checking whether setitimer is declared in sys/time.h checking whether select is declared in sys/time.h checking whether strftime is declared in time.h checking whether time is declared in time.h checking whether tzname is declared in time.h checking whether t_open is declared in tiuser.h checking whether t_errlist is declared in tiuser.h checking whether fork is declared in unistd.h checking whether waitpid is declared in sys/wait.h checking for self-sufficiency of arpa/inet.h rm: conftest.dSYM: is a directory checking for self-sufficiency of signal.h rm: conftest.dSYM: is a directory checking for self-sufficiency of sys/socket.h rm: conftest.dSYM: is a directory checking for self-sufficiency of sys/stat.h rm: conftest.dSYM: is a directory checking for self-sufficiency of time.h rm: conftest.dSYM: is a directory checking for string.h declaring some functions incorrectly rm: conftest.dSYM: is a directory checking for incompatibility between and checking whether or not fstat() can tell how much data is in a FIFO checking whether or not select() can be used on FIFOs checking whether or not poll() can be used on FIFOs checking whether POSIX-style non-blocking I/O works checking which MOO networking configurations are likely to work... checking for sys/socket.h checking for telnet ---------------------------------------------------------------------- | The following networking configurations will probably work on your | system; any configuration *not* listed here almost certainly will | *not* work on your system: | | NP_SINGLE NS_BSD/NP_LOCAL NS_SYSV/NP_LOCAL ---------------------------------------------------------------------- creating config.status creating Makefile creating config.h config.h is unchanged --- config.h --- [ config.h : config.status ] ./config.status creating Makefile creating config.h config.h is unchanged --- parser.o --- --- ast.o --- --- code_gen.o --- --- parser.o --- /usr/bin/yacc -d parser.y --- ast.o --- clang -g -O -c ast.c --- code_gen.o --- clang -g -O -c code_gen.c --- parser.o --- clang -g -O -c -o parser.o y.tab.c --- db_file.o --- clang -g -O -c db_file.c --- db_io.o --- clang -g -O -c db_io.c --- db_file.o --- db_file.c:118:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(s, " recycled\n") == 0) { ^ db_file.c:118:9: note: include the header or explicitly provide a declaration for 'strcmp' --- parser.o --- parser.y:545:11: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_FLOAT: ^ ./structures.h:70:21: note: expanded from macro 'TYPE_FLOAT' #define TYPE_FLOAT (_TYPE_FLOAT | TYPE_COMPLEX_FLAG) ^ --- db_io.o --- db_io.c:178:11: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen(buffer); ^ db_io.c:178:11: note: include the header or explicitly provide a declaration for 'strlen' --- db_file.o --- 1 warning generated. --- db_objects.o --- clang -g -O -c db_objects.c --- db_io.o --- 1 warning generated. --- db_properties.o --- clang -g -O -c db_properties.c --- parser.o --- 1 warning generated. rm -f y.tab.c --- db_verbs.o --- clang -g -O -c db_verbs.c --- db_objects.o --- db_objects.c:292:14: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] count += strlen(o->name) + 1; ^ db_objects.c:292:14: note: include the header or explicitly provide a declaration for 'strlen' --- db_verbs.o --- db_verbs.c:169:35: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] if ((ptr = strchr(s, '/')) != '\0') ^~~~ (void *)0 --- db_objects.o --- 1 warning generated. --- decompile.o --- clang -g -O -c decompile.c --- disassemble.o --- --- db_verbs.o --- 1 warning generated. --- disassemble.o --- clang -g -O -c disassemble.c --- eval_env.o --- clang -g -O -c eval_env.c --- decompile.o --- decompile.c:795:11: warning: unsequenced modification and access to 'ptr' [-Wunsequenced] if (READ_LABEL() < ptr - bc.vector) ^ ~~~ decompile.c:81:22: note: expanded from macro 'READ_LABEL' #define READ_LABEL() READ_BYTES(bc.numbytes_label) ^ decompile.c:70:8: note: expanded from macro 'READ_BYTES' (ptr += n, \ ^ --- disassemble.o --- disassemble.c:353:9: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ --- eval_vm.o --- clang -g -O -c eval_vm.c --- disassemble.o --- 1 warning generated. --- exceptions.o --- clang -g -O -c exceptions.c --- decompile.o --- 1 warning generated. --- execute.o --- --- extensions.o --- --- execute.o --- clang -g -O -c execute.c --- extensions.o --- clang -g -O -c extensions.c --- functions.o --- clang -g -O -c functions.c --- execute.o --- execute.c:1058:12: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ execute.c:1994:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 1: ^ execute.c:1995:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 2: ^ execute.c:1996:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 3: ^ execute.c:1997:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 4: ^ execute.c:1998:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 5: ^ execute.c:1999:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 6: ^ execute.c:2000:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 7: ^ execute.c:2001:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 8: ^ execute.c:2002:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 9: ^ execute.c:2003:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 10: ^ execute.c:2004:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 11: ^ execute.c:2005:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 12: ^ execute.c:2006:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 13: ^ execute.c:2007:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 14: ^ execute.c:2008:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 15: ^ execute.c:2009:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 16: ^ execute.c:2010:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 17: ^ execute.c:2011:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 18: ^ execute.c:2012:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 19: ^ execute.c:2013:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 20: ^ execute.c:2014:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 21: ^ execute.c:2015:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 22: ^ execute.c:2016:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 23: ^ execute.c:2017:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 24: ^ execute.c:2018:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 25: ^ execute.c:2019:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 26: ^ execute.c:2020:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 27: ^ execute.c:2021:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 28: ^ execute.c:2022:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 29: ^ execute.c:2023:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 30: ^ execute.c:2024:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUT + 31: ^ execute.c:1905:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 1: ^ execute.c:1906:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 2: ^ execute.c:1907:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 3: ^ execute.c:1908:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 4: ^ execute.c:1909:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 5: ^ execute.c:1910:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 6: ^ execute.c:1911:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 7: ^ execute.c:1912:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 8: ^ execute.c:1913:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 9: ^ execute.c:1914:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 10: ^ execute.c:1915:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 11: ^ execute.c:1916:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 12: ^ execute.c:1917:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 13: ^ execute.c:1918:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 14: ^ execute.c:1919:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 15: ^ execute.c:1920:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 16: ^ execute.c:1921:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 17: ^ execute.c:1922:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 18: ^ execute.c:1923:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 19: ^ execute.c:1924:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 20: ^ execute.c:1925:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 21: ^ execute.c:1926:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 22: ^ execute.c:1927:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 23: ^ execute.c:1928:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 24: ^ execute.c:1929:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 25: ^ execute.c:1930:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 26: ^ execute.c:1931:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 27: ^ execute.c:1932:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 28: ^ execute.c:1933:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 29: ^ execute.c:1934:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 30: ^ execute.c:1935:7: warning: case value not in enumerated type 'enum Opcode' [-Wswitch] case OP_PUSH + 31: ^ --- list.o --- --- execute.o --- execute.c:2846:20: warning: result of comparison of constant 256 with expression of type 'Byte' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare] if (a->bi_func_id == FUNC_NOT_FOUND) { ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ --- list.o --- clang -g -O -c list.c --- functions.o --- functions.c:293:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] && strcmp(bf_table[f_id].name, "eval") != 0) { ^ functions.c:293:9: note: include the header or explicitly provide a declaration for 'strcmp' 1 warning generated. --- log.o --- clang -g -O -c log.c --- list.o --- list.c:240:7: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ list.c:249:7: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_LIST: ^ ./structures.h:71:20: note: expanded from macro 'TYPE_LIST' #define TYPE_LIST (_TYPE_LIST | TYPE_COMPLEX_FLAG) ^ list.c:246:7: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_FLOAT: ^ ./structures.h:70:21: note: expanded from macro 'TYPE_FLOAT' #define TYPE_FLOAT (_TYPE_FLOAT | TYPE_COMPLEX_FLAG) ^ list.c:289:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ list.c:307:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_LIST: ^ ./structures.h:71:20: note: expanded from macro 'TYPE_LIST' #define TYPE_LIST (_TYPE_LIST | TYPE_COMPLEX_FLAG) ^ list.c:286:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_FLOAT: ^ ./structures.h:70:21: note: expanded from macro 'TYPE_FLOAT' #define TYPE_FLOAT (_TYPE_FLOAT | TYPE_COMPLEX_FLAG) ^ list.c:417:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ list.c:413:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_LIST: ^ ./structures.h:71:20: note: expanded from macro 'TYPE_LIST' #define TYPE_LIST (_TYPE_LIST | TYPE_COMPLEX_FLAG) ^ list.c:1060:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ list.c:1063:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_LIST: ^ ./structures.h:71:20: note: expanded from macro 'TYPE_LIST' #define TYPE_LIST (_TYPE_LIST | TYPE_COMPLEX_FLAG) ^ --- malloc.o --- clang -g -O -c malloc.c --- list.o --- 10 warnings generated. --- match.o --- clang -g -O -c match.c --- md5.o --- clang -g -O -c md5.c --- name_lookup.o --- clang -g -O -c name_lookup.c --- numbers.o --- clang -g -O -c numbers.c --- objects.o --- --- numbers.o --- numbers.c:101:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ numbers.c:118:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_LIST: ^ ./structures.h:71:20: note: expanded from macro 'TYPE_LIST' #define TYPE_LIST (_TYPE_LIST | TYPE_COMPLEX_FLAG) ^ numbers.c:113:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_FLOAT: ^ ./structures.h:70:21: note: expanded from macro 'TYPE_FLOAT' #define TYPE_FLOAT (_TYPE_FLOAT | TYPE_COMPLEX_FLAG) ^ numbers.c:133:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ numbers.c:146:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_LIST: ^ ./structures.h:71:20: note: expanded from macro 'TYPE_LIST' #define TYPE_LIST (_TYPE_LIST | TYPE_COMPLEX_FLAG) ^ numbers.c:143:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_FLOAT: ^ ./structures.h:70:21: note: expanded from macro 'TYPE_FLOAT' #define TYPE_FLOAT (_TYPE_FLOAT | TYPE_COMPLEX_FLAG) ^ --- objects.o --- clang -g -O -c objects.c --- numbers.o --- numbers.c:367:7: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_FLOAT: ^ ./structures.h:70:21: note: expanded from macro 'TYPE_FLOAT' #define TYPE_FLOAT (_TYPE_FLOAT | TYPE_COMPLEX_FLAG) ^ --- execute.o --- 64 warnings generated. --- parse_cmd.o --- clang -g -O -c parse_cmd.c --- numbers.o --- 7 warnings generated. --- pattern.o --- clang -g -O -c pattern.c --- program.o --- --- property.o --- --- program.o --- clang -g -O -c program.c --- property.o --- clang -g -O -c property.c --- program.o --- program.c:81:11: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] count += strlen(p->var_names[i]) + 1; ^ program.c:81:11: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. --- quota.o --- --- ref_count.o --- --- quota.o --- clang -g -O -c quota.c --- ref_count.o --- clang -g -O -c ref_count.c --- regexpr.o --- clang -g -O -c regexpr.c --- server.o --- --- storage.o --- --- server.o --- clang -g -O -c server.c --- storage.o --- clang -g -O -c storage.c --- regexpr.o --- regexpr.c:467:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ regexpr.c:483:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ regexpr.c:493:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ regexpr.c:506:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ regexpr.c:1381:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- storage.o --- storage.c:111:24: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] r = (char *) mymalloc(strlen(s) + 1, M_STRING); ^ storage.c:111:24: note: include the header or explicitly provide a declaration for 'strlen' storage.c:112:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(r, s); ^ storage.c:112:2: note: include the header or explicitly provide a declaration for 'strcpy' 2 warnings generated. --- streams.o --- clang -g -O -c streams.c --- regexpr.o --- 5 warnings generated. --- str_intern.o --- clang -g -O -c str_intern.c --- sym_table.o --- --- tasks.o --- --- sym_table.o --- clang -g -O -c sym_table.c --- tasks.o --- clang -g -O -c tasks.c --- str_intern.o --- str_intern.c:159:18: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (!strcmp(s, p->s)) { ^ str_intern.c:159:18: note: include the header or explicitly provide a declaration for 'strcmp' str_intern.c:244:31: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] intern_bytes_saved += strlen(s); ^ str_intern.c:244:31: note: include the header or explicitly provide a declaration for 'strlen' 2 warnings generated. --- timers.o --- clang -g -O -c timers.c --- tasks.o --- tasks.c:1689:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ --- unparse.o --- clang -g -O -c unparse.c --- utils.o --- clang -g -O -c utils.c --- verbs.o --- clang -g -O -c verbs.c --- tasks.o --- 1 warning generated. --- version.o --- clang -g -O -c version.c --- utils.o --- utils.c:252:7: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ utils.c:257:7: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_LIST: ^ ./structures.h:71:20: note: expanded from macro 'TYPE_LIST' #define TYPE_LIST (_TYPE_LIST | TYPE_COMPLEX_FLAG) ^ utils.c:369:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_STR: ^ ./structures.h:69:19: note: expanded from macro 'TYPE_STR' #define TYPE_STR (_TYPE_STR | TYPE_COMPLEX_FLAG) ^ utils.c:375:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_LIST: ^ ./structures.h:71:20: note: expanded from macro 'TYPE_LIST' #define TYPE_LIST (_TYPE_LIST | TYPE_COMPLEX_FLAG) ^ utils.c:372:10: warning: case value not in enumerated type 'var_type' [-Wswitch] case TYPE_FLOAT: ^ ./structures.h:70:21: note: expanded from macro 'TYPE_FLOAT' #define TYPE_FLOAT (_TYPE_FLOAT | TYPE_COMPLEX_FLAG) ^ 5 warnings generated. --- net_single.o --- --- net_multi.o --- --- net_single.o --- touch net_single.o --- net_multi.o --- touch net_multi.o --- net_mp_selct.o --- touch net_mp_selct.o --- net_mp_poll.o --- --- net_bsd_tcp.o --- --- net_mp_poll.o --- touch net_mp_poll.o --- net_bsd_lcl.o --- --- net_bsd_tcp.o --- touch net_bsd_tcp.o --- net_bsd_lcl.o --- touch net_bsd_lcl.o --- net_sysv_tcp.o --- --- net_sysv_lcl.o --- --- network.o --- --- net_sysv_tcp.o --- touch net_sysv_tcp.o --- net_sysv_lcl.o --- touch net_sysv_lcl.o --- network.o --- clang -g -O -c network.c --- net_mplex.o --- --- keywords.o --- --- net_mplex.o --- clang -g -O -c net_mplex.c --- keywords.o --- clang -g -O -c keywords.c --- net_proto.o --- clang -g -O -c net_proto.c --- network.o --- In file included from network.c:23: ./net_multi.c:674:19: warning: implicit conversion from 'int' to 'char' changes value from 252 to -4 [-Wconstant-conversion] telnet_cmd[1] = TN_WONT; ~ ^~~~~~~ ./net_multi.c:664:17: note: expanded from macro 'TN_WONT' #define TN_WONT 252 ^~~ ./net_multi.c:676:19: warning: implicit conversion from 'int' to 'char' changes value from 251 to -5 [-Wconstant-conversion] telnet_cmd[1] = TN_WILL; ~ ^~~~~~~ ./net_multi.c:663:17: note: expanded from macro 'TN_WILL' #define TN_WILL 251 ^~~ 2 warnings generated. --- net_proto.o --- In file included from net_proto.c:22: ./net_bsd_tcp.c:120:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(s, (struct sockaddr *) &address, &length) < 0) { ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ In file included from net_proto.c:22: ./net_bsd_tcp.c:157:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] fd = accept(listener_fd, (struct sockaddr *) &address, &addr_length); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ 2 warnings generated. --- moo --- clang -g -O ast.o code_gen.o db_file.o db_io.o db_objects.o db_properties.o db_verbs.o decompile.o disassemble.o eval_env.o eval_vm.o exceptions.o execute.o extensions.o functions.o keywords.o list.o log.o malloc.o match.o md5.o name_lookup.o network.o net_mplex.o net_proto.o numbers.o objects.o parse_cmd.o pattern.o program.o property.o quota.o ref_count.o regexpr.o server.o storage.o streams.o str_intern.o sym_table.o tasks.o timers.o unparse.o utils.o verbs.o version.o parser.o -lm -o moo duplicate symbol '_tolower' in: db_io.o list.o duplicate symbol '_toupper' in: db_io.o list.o duplicate symbol '_tolower' in: db_io.o keywords.o duplicate symbol '_toupper' in: db_io.o keywords.o duplicate symbol '_tolower' in: db_io.o parse_cmd.o duplicate symbol '_toupper' in: db_io.o parse_cmd.o duplicate symbol '_tolower' in: db_io.o pattern.o duplicate symbol '_toupper' in: db_io.o pattern.o duplicate symbol '_tolower' in: db_io.o unparse.o duplicate symbol '_toupper' in: db_io.o unparse.o duplicate symbol '_tolower' in: db_io.o utils.o duplicate symbol '_toupper' in: db_io.o utils.o duplicate symbol '_tolower' in: db_io.o parser.o duplicate symbol '_toupper' in: db_io.o parser.o duplicate symbol '_tolower' in: db_io.o network.o duplicate symbol '_toupper' in: db_io.o network.o ld: 16 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [moo] Error code 1 bmake: stopped in /Users/pbulk/build/net/lambdamoo/work/MOO-1.8.1 1 error bmake: stopped in /Users/pbulk/build/net/lambdamoo/work/MOO-1.8.1 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/lambdamoo *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/lambdamoo