[pkg-lua-devel] Bug#1142093: luarocks: Luarocks fails to make lua5.5 variables LUA_INCDIR and LUA_INCDIR_OK

Christian Clauss cclauss at me.com
Wed Jul 15 08:55:34 BST 2026


```bash

apt-get update -q -q --yes
apt-get install -q -q --yes lua5.4 liblua5.4-dev lua5.5 liblua5.5-dev luarocks
lua -v # Lua 5.1.5 # even though we just installed 5.4 and 5.5, I think luarocks v3.13 fixes this.
luarocks --version # /usr/bin/luarocks 3.8.0 # Not current >= 3.13.0 with valuable lua5.5 fixes.
luarocks --lua-version=5.4 config | grep INC # --> "/usr/include/lua5.4", true
luarocks --lua-version=5.5 config | grep INC # --> Nothing!!

# Let's manually set lua5.5's LUA_INCDIR and LUA_INCDIR_OK to be similar to lua5.4's...
mkdir -p $HOME/.luarocks # required before setting luarocks config variables.
luarocks --lua-version=5.5 config variables.LUA_INCDIR /usr/include/lua5.5
luarocks --lua-version=5.5 config variables.LUA_INCDIR_OK true
luarocks --lua-version=5.5 config | grep INC # --> "/usr/include/lua5.5", true

```


On Wed, 15 Jul 2026 07:34:53 +0000 Christian Clauss <cclauss at me.com> wrote:
> Package: luarocks
> Version: 3.11.1+dfsg-2
> Severity: normal
> X-Debbugs-Cc: cclauss at me.com
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation?
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>    * What was the outcome of this action?
>    * What outcome did you expect instead?
> 
> *** End of the template - remove these template lines ***
> 
> 
> -- System Information:
> Debian Release: forky/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: arm64 (aarch64)
> 
> Kernel: Linux 6.12.76-linuxkit (SMP w/8 CPU threads)
> Kernel taint flags: TAINT_OOT_MODULE
> Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: unable to detect
> 
> Versions of packages luarocks depends on:
> ii  liblua5.1-0-dev [liblua5.1-dev]  5.1.5-12
> ii  lua-any                          36
> ii  lua5.1                           5.1.5-12
> ii  unzip                            6.0-29+b1
> ii  wget                             1.25.0-2+b1
> ii  zip                              3.0-15+b1
> 
> Versions of packages luarocks recommends:
> ii  lua-sec  1.3.2-4
> 
> luarocks suggests no packages.
> 
> -- no debconf information
> 
>


More information about the pkg-lua-devel mailing list