=> 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 lambdamoo-1.8.1nb2 /bin/mv /opt/work/net/lambdamoo/work/MOO-1.8.1/restart.sh /opt/work/net/lambdamoo/work/MOO-1.8.1/restart.sh.in /opt/pkg/bin/nbsed /opt/work/net/lambdamoo/work/MOO-1.8.1/restart.sh "s|__PREFIX__|/opt/pkg|g" --- net_mp_fake.o --- --- parser.o --- --- ast.o --- --- code_gen.o --- --- db_file.o --- --- db_io.o --- --- db_objects.o --- --- db_properties.o --- --- net_mp_fake.o --- touch net_mp_fake.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 --- db_file.o --- clang -g -O -c db_file.c --- db_io.o --- clang -g -O -c db_io.c --- db_objects.o --- clang -g -O -c db_objects.c --- db_verbs.o --- --- db_properties.o --- clang -g -O -c db_properties.c --- db_verbs.o --- clang -g -O -c db_verbs.c --- 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_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_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' --- 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 --- parser.o --- clang -g -O -c -o parser.o y.tab.c --- db_io.o --- 1 warning generated. --- decompile.o --- --- 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) ^ --- disassemble.o --- --- decompile.o --- clang -g -O -c decompile.c --- disassemble.o --- clang -g -O -c disassemble.c --- db_objects.o --- 1 warning generated. --- eval_env.o --- clang -g -O -c eval_env.c --- eval_vm.o --- --- 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 --- 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, \ ^ --- db_verbs.o --- 1 warning generated. --- exceptions.o --- clang -g -O -c exceptions.c --- db_file.o --- 1 warning generated. --- execute.o --- clang -g -O -c execute.c --- extensions.o --- clang -g -O -c extensions.c --- functions.o --- --- list.o --- --- functions.o --- clang -g -O -c functions.c --- list.o --- clang -g -O -c list.c --- log.o --- --- 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) ^ --- log.o --- clang -g -O -c log.c --- execute.o --- 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: ^ 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) { ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ --- disassemble.o --- 1 warning generated. --- 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' --- malloc.o --- clang -g -O -c malloc.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) ^ --- match.o --- --- functions.o --- 1 warning 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 --- parser.o --- 1 warning generated. --- numbers.o --- --- parser.o --- rm -f y.tab.c --- numbers.o --- clang -g -O -c numbers.c --- objects.o --- clang -g -O -c objects.c --- parse_cmd.o --- clang -g -O -c parse_cmd.c --- 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) ^ 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) ^ --- decompile.o --- 1 warning generated. --- pattern.o --- clang -g -O -c pattern.c --- program.o --- clang -g -O -c program.c --- property.o --- clang -g -O -c property.c --- quota.o --- --- list.o --- 10 warnings generated. --- quota.o --- clang -g -O -c quota.c --- ref_count.o --- clang -g -O -c ref_count.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' --- regexpr.o --- clang -g -O -c regexpr.c --- program.o --- 1 warning generated. --- server.o --- clang -g -O -c server.c --- storage.o --- clang -g -O -c storage.c --- streams.o --- --- str_intern.o --- --- streams.o --- clang -g -O -c streams.c --- str_intern.o --- clang -g -O -c str_intern.c --- numbers.o --- 7 warnings generated. --- 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 ^ --- sym_table.o --- clang -g -O -c sym_table.c --- 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' --- regexpr.o --- regexpr.c:1381:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- tasks.o --- clang -g -O -c tasks.c --- storage.o --- 2 warnings generated. --- timers.o --- clang -g -O -c timers.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' --- unparse.o --- --- str_intern.o --- 2 warnings generated. --- unparse.o --- clang -g -O -c unparse.c --- utils.o --- clang -g -O -c utils.c --- verbs.o --- --- tasks.o --- tasks.c:1689:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ --- verbs.o --- clang -g -O -c verbs.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) ^ --- version.o --- clang -g -O -c version.c --- net_single.o --- --- net_multi.o --- --- net_single.o --- touch net_single.o --- net_multi.o --- touch net_multi.o --- net_mp_selct.o --- --- net_mp_poll.o --- --- net_mp_selct.o --- touch net_mp_selct.o --- net_mp_poll.o --- touch net_mp_poll.o --- net_bsd_tcp.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 --- --- utils.o --- 5 warnings generated. --- net_sysv_tcp.o --- touch net_sysv_tcp.o --- net_sysv_lcl.o --- --- y.tab.h --- --- net_sysv_lcl.o --- touch net_sysv_lcl.o --- network.o --- --- y.tab.h --- touch y.tab.h --- network.o --- clang -g -O -c network.c --- net_mplex.o --- --- net_proto.o --- --- net_mplex.o --- clang -g -O -c net_mplex.c --- net_proto.o --- clang -g -O -c net_proto.c --- regexpr.o --- 5 warnings generated. --- keywords.o --- clang -g -O -c keywords.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 ^~~ --- 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) { ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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); ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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. --- network.o --- 2 warnings generated. --- tasks.o --- 1 warning generated. --- execute.o --- 64 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 keywords.o duplicate symbol '_toupper' in: db_io.o keywords.o 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 network.o duplicate symbol '_toupper' in: db_io.o network.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 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 /opt/work/net/lambdamoo/work/MOO-1.8.1 1 error bmake: stopped in /opt/work/net/lambdamoo/work/MOO-1.8.1 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/lambdamoo *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/lambdamoo