FS#45043 - [lua-sql-mysql] broken: mysql.so: undefined symbol: luaL_optint

Attached to Project: Community Packages
Opened by Marcin Pikulski (Garagoth) - Thursday, 21 May 2015, 13:54 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 21 May 2015, 15:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Anatol Pomozov (anatolik)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Package lua-sql-mysql uses luaL_optint that was deprecated in Lua 5.3 and is not available when Lua 5.3 is compiled without LUA_COMPAT_5_2 defined.
It should use now (int)luaL_optinteger, any attempt to use library results in:

error loading module 'luasql.mysql' from file '/usr/lib/lua/5.3/luasql/mysql.so':
/usr/lib/lua/5.3/luasql/mysql.so: undefined symbol: luaL_optint

Additional info:
* package version(s)
- lua-sql-mysql: 2.3.0-3
- lua: 5.3.0-2
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Thursday, 21 May 2015, 15:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  lua-sql-mysql-2.3.0-4
Comment by Anatol Pomozov (anatolik) - Thursday, 21 May 2015, 15:27 GMT
Thanks for report. Should be fixed now.

Loading...