• Bug#1100786: luarocks requires header files to install pure-lua package

    From Zash@21:1/5 to All on Tue Mar 18 19:00:01 2025
    Package: luarocks
    Version: 3.8.0+dfsg1-1
    Severity: normal
    Tags: upstream

    Dear Maintainer,

    Please consider upgrading the luarocks package to version v3.10.0 or
    later and relaxing the dependency on the lua5.x-dev packages.

    Prior to this version, when attempting to install a "rock" (package) for
    a particular Lua version without having the corresponding dev package
    it fails with a message like:

    $ luarocks install --lua-version=5.4 example.rock
    Error: Failed finding Lua header files. You may need to install them
    or configure LUA_INCDIR.

    This happens even if the rock does not require those header files, i.e.
    when it consists of only Lua files.

    Upstream report: https://github.com/luarocks/luarocks/issues/1275

    This affects Prosody, see https://issues.prosody.im/1707

    --
    Thanks,
    Kim "Zash" Alvefur
    Prosody developer

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)