[pkg-lua-devel] Bug#1100786: luarocks requires header files to install pure-lua packages

Zash zash at zash.se
Tue Mar 18 17:38:49 GMT 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



More information about the pkg-lua-devel mailing list