The `#define` version number has been fixed on pre-release Ubuntu 26.10 
Stonking Stingray and on Debian Experimental but has NOT yet been fixed on 
pre-release Debian Forky.

In ALL cases, this `LUA_INCDIR` bug is NOT fixed.  To me, this is proof 
positive that the `#define` version number bug is NOT causing this bug.

Proof: 
https://github.com/cclauss/itinerant-tester/actions/runs/30392852529/job/90388510036

On Tue, 28 Jul 2026 14:58:08 +0300 Sergei Golovan <[email protected]> wrote:
> 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