control: tags -1 patch

grep LUALIB_API src/*.h  >> list
grep LUAMOD_API src/*.h >> list
grep LUA_API src/*.h -R >> list
cat list | awk '{ print $3 }' > list2
cat list2 |sort > list
and then I diffd the list with debian/version-script

I found then 5 missing symbols:
lua_closeslot
lua_closethread
luaL_addgsub
lua_setcstacklimit
lua_State


diff attached.

On Mon, 24 Apr 2023 20:25:51 +0200 =?UTF-8?Q?Jan_Dr=c3=b6gehoff?= 
<sentrycraft...@gmail.com> wrote:
Package: liblua5.4
Version: 5.4.4-3

liblua5.4.so.0.0.0 is not exporting symbols that are expected to be present in 
Lua 5.4.

Some examples:
- luaL_addgsub
- lua_closeslot
- lua_setcstacklimit
and likely many more

The header file from liblua5.4-dev still define those functions, leading to 
undefined references.
diff -Nru lua5.4-5.4.6/debian/version-script lua5.4-5.4.6/debian/version-script
--- lua5.4-5.4.6/debian/version-script  2023-06-14 14:52:06.000000000 +0200
+++ lua5.4-5.4.6/debian/version-script  2023-11-27 16:23:09.000000000 +0100
@@ -6,6 +6,8 @@
                lua_callk;
                lua_checkstack;
                lua_close;
+               lua_closeslot;
+               lua_closethread;
                lua_compare;
                lua_concat;
                lua_copy;
@@ -35,6 +37,7 @@
                lua_isstring;
                lua_isuserdata;
                lua_isyieldable;
+               luaL_addgsub;
                lua_len;
                lua_load;
                lua_newstate;
@@ -66,6 +69,7 @@
                lua_resume;
                lua_rotate;
                lua_setallocf;
+               lua_setcstacklimit;
                lua_setfield;
                lua_setglobal;
                lua_sethook;
@@ -77,6 +81,7 @@
                lua_settop;
                lua_setupvalue;
                lua_setwarnf;
+               lua_State;
                lua_status;
                lua_stringtonumber;
                lua_toboolean;

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to