=> 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 lua52-slnunicode-1.1apl1nb2 --- unicode.so --- gcc -I. -O2 -I/opt/pkg/include/lua-5.2 -shared -Wall -Os -fpic -o unicode.so slnunico.c slnunico.c:1342:2: warning: implicit declaration of function 'luaL_openlib' is invalid in C99 [-Wimplicit-function-declaration] luaL_register(L, SLN_UNICODENAME, ^ slnunico.c:110:31: note: expanded from macro 'luaL_register' #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) ^ 1 warning generated. Undefined symbols for architecture arm64: "_luaL_addlstring", referenced from: _str_format in slnunico-98307f.o _unic_gsub in slnunico-98307f.o _str_rep in slnunico-98307f.o _str_reverse in slnunico-98307f.o _writer in slnunico-98307f.o "_luaL_addvalue", referenced from: _str_format in slnunico-98307f.o _unic_gsub in slnunico-98307f.o "_luaL_argerror", referenced from: _unic_char in slnunico-98307f.o _unic_gsub in slnunico-98307f.o "_luaL_buffinit", referenced from: _unic_char in slnunico-98307f.o _str_dump in slnunico-98307f.o _str_format in slnunico-98307f.o _unic_gsub in slnunico-98307f.o _unic_lower in slnunico-98307f.o _str_rep in slnunico-98307f.o _str_reverse in slnunico-98307f.o ... "_luaL_checkinteger", referenced from: _unic_char in slnunico-98307f.o _str_rep in slnunico-98307f.o _unic_sub in slnunico-98307f.o "_luaL_checklstring", referenced from: _unic_byte in slnunico-98307f.o _str_format in slnunico-98307f.o _gmatch in slnunico-98307f.o _unic_gsub in slnunico-98307f.o _unic_len in slnunico-98307f.o _unic_lower in slnunico-98307f.o _str_rep in slnunico-98307f.o ... "_luaL_checknumber", referenced from: _str_format in slnunico-98307f.o "_luaL_checkstack", referenced from: _unic_byte in slnunico-98307f.o _push_captures in slnunico-98307f.o "_luaL_checktype", referenced from: _str_dump in slnunico-98307f.o "_luaL_error", referenced from: _str_dump in slnunico-98307f.o _str_format in slnunico-98307f.o _gfind_nodef in slnunico-98307f.o _unic_gsub in slnunico-98307f.o _match in slnunico-98307f.o _start_capture in slnunico-98307f.o _push_onecapture in slnunico-98307f.o ... "_luaL_openlib", referenced from: _luaopen_unicode in slnunico-98307f.o "_luaL_optinteger", referenced from: _unic_byte in slnunico-98307f.o _unic_gsub in slnunico-98307f.o _unic_sub in slnunico-98307f.o _unic_find_aux in slnunico-98307f.o "_luaL_prepbuffsize", referenced from: _unic_char in slnunico-98307f.o _str_format in slnunico-98307f.o _unic_gsub in slnunico-98307f.o _unic_lower in slnunico-98307f.o _str_reverse in slnunico-98307f.o _unic_upper in slnunico-98307f.o _utf8_enco in slnunico-98307f.o ... "_luaL_pushresult", referenced from: _unic_char in slnunico-98307f.o _str_dump in slnunico-98307f.o _str_format in slnunico-98307f.o _unic_gsub in slnunico-98307f.o _unic_lower in slnunico-98307f.o _str_rep in slnunico-98307f.o _str_reverse in slnunico-98307f.o ... "_luaL_setfuncs", referenced from: _luaopen_unicode in slnunico-98307f.o "_lua_callk", referenced from: _unic_gsub in slnunico-98307f.o "_lua_createtable", referenced from: _luaopen_unicode in slnunico-98307f.o "_lua_dump", referenced from: _str_dump in slnunico-98307f.o "_lua_getglobal", referenced from: _luaopen_unicode in slnunico-98307f.o "_lua_gettable", referenced from: _unic_gsub in slnunico-98307f.o "_lua_gettop", referenced from: _unic_char in slnunico-98307f.o "_lua_isstring", referenced from: _unic_gsub in slnunico-98307f.o "_lua_pushcclosure", referenced from: _gmatch in slnunico-98307f.o "_lua_pushinteger", referenced from: _luaopen_unicode in slnunico-98307f.o _unic_byte in slnunico-98307f.o _gmatch in slnunico-98307f.o _unic_gsub in slnunico-98307f.o _unic_len in slnunico-98307f.o _unic_find_aux in slnunico-98307f.o _push_onecapture in slnunico-98307f.o ... "_lua_pushlstring", referenced from: _unic_gsub in slnunico-98307f.o _unic_sub in slnunico-98307f.o _push_onecapture in slnunico-98307f.o "_lua_pushnil", referenced from: _unic_find_aux in slnunico-98307f.o "_lua_pushvalue", referenced from: _str_format in slnunico-98307f.o _unic_gsub in slnunico-98307f.o "_lua_replace", referenced from: _gmatch_aux in slnunico-98307f.o "_lua_setfield", referenced from: _luaopen_unicode in slnunico-98307f.o "_lua_settop", referenced from: _luaopen_unicode in slnunico-98307f.o _str_dump in slnunico-98307f.o _gmatch in slnunico-98307f.o _unic_gsub in slnunico-98307f.o "_lua_toboolean", referenced from: _unic_gsub in slnunico-98307f.o _unic_find_aux in slnunico-98307f.o "_lua_tointegerx", referenced from: _unic_byte in slnunico-98307f.o _unic_char in slnunico-98307f.o _unic_gsub in slnunico-98307f.o _unic_len in slnunico-98307f.o _unic_lower in slnunico-98307f.o _str_reverse in slnunico-98307f.o _unic_sub in slnunico-98307f.o ... "_lua_tolstring", referenced from: _unic_gsub in slnunico-98307f.o _gmatch_aux in slnunico-98307f.o "_lua_type", referenced from: _unic_gsub in slnunico-98307f.o "_lua_typename", referenced from: _unic_gsub in slnunico-98307f.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [unicode.so] Error code 1 bmake: stopped in /opt/work/textproc/lua-slnunicode/work/slnunicode-1.1apl1 1 error bmake: stopped in /opt/work/textproc/lua-slnunicode/work/slnunicode-1.1apl1 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/textproc/lua-slnunicode *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/textproc/lua-slnunicode