Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua: update to 5.4.6 #1065

Merged
merged 1 commit into from
Jul 8, 2023
Merged

lua: update to 5.4.6 #1065

merged 1 commit into from
Jul 8, 2023

Conversation

neheb
Copy link
Collaborator

@neheb neheb commented Jul 4, 2023

No description provided.

@neheb
Copy link
Collaborator Author

neheb commented Jul 5, 2023

2023-07-05T00:01:25.6116410Z Undefined symbols for architecture x86_64:
2023-07-05T00:01:25.6116730Z   "lua_pcallk(lua_State*, int, int, int, long, int (*)(lua_State*, int, long))", referenced from:
2023-07-05T00:01:25.6117060Z       lua_callvalue(FileData*, char const*, char const*) in lua.cc.o
2023-07-05T00:01:25.6117660Z      (found _lua_pcallk in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6118320Z   "lua_settop(lua_State*, int)", referenced from:
2023-07-05T00:01:25.6118610Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6119080Z      (found _lua_settop in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6119430Z   "lua_pushnil(lua_State*)", referenced from:
2023-07-05T00:01:25.6119680Z       lua_exif_get_datum(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6120150Z      (found _lua_pushnil in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6120510Z   "lua_getfield(lua_State*, int, char const*)", referenced from:
2023-07-05T00:01:25.6120800Z       lua_callvalue(FileData*, char const*, char const*) in lua.cc.o
2023-07-05T00:01:25.6121080Z       lua_image_get_exif(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6121560Z      (found _lua_getfield in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6121890Z   "lua_settable(lua_State*, int)", referenced from:
2023-07-05T00:01:25.6122130Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6122580Z      (found _lua_settable in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6122930Z   "lua_typename(lua_State*, int)", referenced from:
2023-07-05T00:01:25.6123200Z       luaL_typerror(lua_State*, int, char const*) in lua.cc.o
2023-07-05T00:01:25.6123470Z       lua_image_get_path(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6123720Z       lua_image_get_name(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6123970Z       lua_image_get_extension(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6124230Z       lua_image_get_date(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6124480Z       lua_image_get_size(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6124720Z       lua_image_get_exif(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6124920Z       ...
2023-07-05T00:01:25.6125370Z      (found _lua_typename in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6125730Z   "luaL_argerror(lua_State*, int, char const*)", referenced from:
2023-07-05T00:01:25.6126020Z       luaL_typerror(lua_State*, int, char const*) in lua.cc.o
2023-07-05T00:01:25.6126280Z       lua_image_get_path(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6126540Z       lua_image_get_name(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6126790Z       lua_image_get_extension(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6127050Z       lua_image_get_date(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6127300Z       lua_image_get_size(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6127530Z       lua_image_get_exif(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6127730Z       ...
2023-07-05T00:01:25.6128180Z      (found _luaL_argerror in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6128490Z   "luaL_newstate()", referenced from:
2023-07-05T00:01:25.6128720Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6129170Z      (found _luaL_newstate in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6129500Z   "luaL_openlibs(lua_State*)", referenced from:
2023-07-05T00:01:25.6129740Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6130570Z      (found _luaL_openlibs in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6130930Z   "luaL_setfuncs(lua_State*, luaL_Reg const*, int)", referenced from:
2023-07-05T00:01:25.6131180Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6131630Z      (found _luaL_setfuncs in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6131960Z   "lua_pushvalue(lua_State*, int)", referenced from:
2023-07-05T00:01:25.6132200Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6132640Z      (found _lua_pushvalue in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6132980Z   "lua_setglobal(lua_State*, char const*)", referenced from:
2023-07-05T00:01:25.6143590Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6143900Z       lua_callvalue(FileData*, char const*, char const*) in lua.cc.o
2023-07-05T00:01:25.6144530Z      (found _lua_setglobal in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6144900Z   "lua_tolstring(lua_State*, int, unsigned long*)", referenced from:
2023-07-05T00:01:25.6145210Z       lua_callvalue(FileData*, char const*, char const*) in lua.cc.o
2023-07-05T00:01:25.6145710Z      (found _lua_tolstring in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6146050Z   "luaL_checktype(lua_State*, int, int)", referenced from:
2023-07-05T00:01:25.6146320Z       lua_image_get_path(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6146580Z       lua_image_get_name(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6146840Z       lua_image_get_extension(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6147100Z       lua_image_get_date(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6147350Z       lua_image_get_size(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6147600Z       lua_image_get_exif(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6147840Z       lua_image_get_marks(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6148060Z       ...
2023-07-05T00:01:25.6148510Z      (found _luaL_checktype in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6148880Z   "luaL_loadfilex(lua_State*, char const*, char const*)", referenced from:
2023-07-05T00:01:25.6149200Z       lua_callvalue(FileData*, char const*, char const*) in lua.cc.o
2023-07-05T00:01:25.6149700Z      (found _luaL_loadfilex in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6150060Z   "lua_pushnumber(lua_State*, double)", referenced from:
2023-07-05T00:01:25.6150320Z       lua_image_get_date(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6150560Z       lua_image_get_size(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6150820Z       lua_image_get_marks(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6151070Z       lua_exif_get_datum(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6151550Z      (found _lua_pushnumber in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6151910Z   "lua_pushstring(lua_State*, char const*)", referenced from:
2023-07-05T00:01:25.6152150Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6152390Z       lua_image_get_path(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6152630Z       lua_image_get_name(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6152890Z       lua_image_get_extension(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6153150Z       lua_exif_get_datum(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6153630Z      (found _lua_pushstring in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6153990Z   "luaL_checkudata(lua_State*, int, char const*)", referenced from:
2023-07-05T00:01:25.6154270Z       lua_image_get_path(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6154530Z       lua_image_get_name(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6155010Z       lua_image_get_extension(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6155650Z       lua_image_get_date(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6155890Z       lua_image_get_size(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6156130Z       lua_image_get_exif(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6156390Z       lua_image_get_marks(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6156590Z       ...
2023-07-05T00:01:25.6157070Z      (found _luaL_checkudata in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6157430Z   "luaL_loadstring(lua_State*, char const*)", referenced from:
2023-07-05T00:01:25.6157740Z       lua_callvalue(FileData*, char const*, char const*) in lua.cc.o
2023-07-05T00:01:25.6158230Z      (found _luaL_loadstring in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6158870Z   "lua_createtable(lua_State*, int, int)", referenced from:
2023-07-05T00:01:25.6159170Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6159420Z       lua_callvalue(FileData*, char const*, char const*) in lua.cc.o
2023-07-05T00:01:25.6159950Z      (found _lua_createtable in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6160320Z   "lua_pushfstring(lua_State*, char const*, ...)", referenced from:
2023-07-05T00:01:25.6160620Z       luaL_typerror(lua_State*, int, char const*) in lua.cc.o
2023-07-05T00:01:25.6160890Z       lua_image_get_path(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6161140Z       lua_image_get_name(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6161400Z       lua_image_get_extension(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6161650Z       lua_image_get_date(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6161900Z       lua_image_get_size(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6162160Z       lua_image_get_exif(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6162360Z       ...
2023-07-05T00:01:25.6162810Z      (found _lua_pushfstring in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6163170Z   "lua_setmetatable(lua_State*, int)", referenced from:
2023-07-05T00:01:25.6163450Z       lua_callvalue(FileData*, char const*, char const*) in lua.cc.o
2023-07-05T00:01:25.6163730Z       lua_image_get_exif(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6164220Z      (found _lua_setmetatable in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6164590Z   "luaL_checklstring(lua_State*, int, unsigned long*)", referenced from:
2023-07-05T00:01:25.6164870Z       lua_exif_get_datum(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6165360Z      (found _luaL_checklstring in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6165720Z   "luaL_newmetatable(lua_State*, char const*)", referenced from:
2023-07-05T00:01:25.6165970Z       lua_init() in lua.cc.o
2023-07-05T00:01:25.6166440Z      (found _luaL_newmetatable in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6166830Z   "lua_newuserdatauv(lua_State*, unsigned long, int)", referenced from:
2023-07-05T00:01:25.6167140Z       lua_callvalue(FileData*, char const*, char const*) in lua.cc.o
2023-07-05T00:01:25.6167410Z       lua_image_get_exif(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6167900Z      (found _lua_newuserdatauv in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")
2023-07-05T00:01:25.6168240Z   "lua_type(lua_State*, int)", referenced from:
2023-07-05T00:01:25.6168510Z       luaL_typerror(lua_State*, int, char const*) in lua.cc.o
2023-07-05T00:01:25.6168780Z       lua_image_get_path(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6169030Z       lua_image_get_name(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6169290Z       lua_image_get_extension(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6169550Z       lua_image_get_date(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6169920Z       lua_image_get_size(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6170180Z       lua_image_get_exif(lua_State*) in lua.cc.o
2023-07-05T00:01:25.6170730Z       ...
2023-07-05T00:01:25.6171180Z      (found _lua_type in subprojects/lua-5.4.4/liblua.5.4.dylib, declaration possibly missing extern "C")

Needs work

@neheb neheb force-pushed the ll branch 3 times, most recently from 10994a3 to 4296890 Compare July 7, 2023 14:56
@neheb
Copy link
Collaborator Author

neheb commented Jul 7, 2023

Eh no actually the issue was the project including lua.h instead of lua.hpp (extern C).

@neheb neheb force-pushed the ll branch 2 times, most recently from 2438fc4 to 28e1000 Compare July 7, 2023 16:35
Signed-off-by: Rosen Penev <rosenp@gmail.com>
@neheb neheb merged commit 27f70f3 into mesonbuild:master Jul 8, 2023
7 checks passed
@neheb neheb deleted the ll branch July 8, 2023 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant