FS#44999 - [lua-socket] modules do not load and fail with stacktrace

Attached to Project: Community Packages
Opened by Anonymous Submitter - Sunday, 17 May 2015, 22:25 GMT
Last edited by Anatol Pomozov (anatolik) - Monday, 18 May 2015, 16:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Anatol Pomozov (anatolik)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

lua-socket modules do not load and fail with stacktrace. All programs/scripts using the package do not work.

Additional info:
* package version(s): lua-socket 3.0rc1-6, lua 5.3.0-2

Steps to reproduce:

- Consider the below Lua script:

local http = require 'socket.http'

- Run the script
- The script fails with the following error:

lua: error loading module 'socket.core' from file '/usr/lib/lua/5.3/socket/core.so':
/usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_checkint
stack traceback:
[C]: in ?
[C]: in function 'require'
/usr/share/lua/5.3/socket.lua:12: in main chunk
[C]: in function 'require'
/usr/share/lua/5.3/socket/http.lua:10: in main chunk
[C]: in
x.lua:1: in main chunk
[C]: in ?
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Monday, 18 May 2015, 16:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  lua-socket-3.0rc1-7
Comment by Anatol Pomozov (anatolik) - Monday, 18 May 2015, 03:06 GMT
Fixed in lua-socket-3.0rc1-7. Let us know if you see any other issues with this package?
Comment by Anonymous Submitter - Monday, 18 May 2015, 16:27 GMT
Thanks, the reported issue is fixed.

I have software that uses socket.url, mime, and ltn12 - all of this works without any other issues.

Loading...