Hi!

This particular issue is caused by luarocks trying to extract Lua
version from lua.h in /usr/include/lua5.5 and checking if it is indeed
5.5. This fails because Lua 5.5 changes the way its version is defined
in lua.h:

Lua 5.4:

#define LUA_VERSION_NUM 504

Lua 5.5:

#define LUA_VERSION_NUM  (LUA_VERSION_MAJOR_N * 100 + LUA_VERSION_MINOR_N)

There are two commits upstream to support Lua 5.5:

https://github.com/luarocks/luarocks/commit/291fc8a34fc186b011c9d6b09a80bf179cae6f62
https://github.com/luarocks/luarocks/commit/ee8194313e61c9d0d7b8a0d52d22b026a06282bb

I guess they can be applied to the luarocks in Debian (probably with
some modifications) until 3.13 can be packaged.

Cheers!
-- 
Sergei Golovan

Reply via email to