** Description changed:

  https://salsa.debian.org/lua-
  team/luarocks/-/commit/9ab9c270214b12c39d18961a34dc51c6f509765d#note_780536
  
- Would you be willing to upgrade to [`luarocks
- v3.13.0`](https://github.com/luarocks/luarocks/releases) to fix issues
- related to lua5.5?  Luarocks fails to make lua5.5 variables `LUA_INCDIR`
- and `LUA_INCDIR_OK`.
+ Luarocks fails to make lua5.5 variables `LUA_INCDIR` and
+ `LUA_INCDIR_OK`.
  
  Steps to reproduce:
  % `docker run -it ubuntu:26.04`
  ```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
  ```
  
https://discourse.ubuntu.com/t/apt-install-luarocks-could-be-updated-to-support-lua5-5/85151
  
  Perhaps related to 
https://bugs.launchpad.net/ubuntu/+source/lua5.5/+bug/2160598
  * Edit: These bugs are NOT related.  See below.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: liblua5.5-dev 5.5.0-3
  Uname: Linux 6.12.76-linuxkit aarch64
  ApportVersion: 2.34.0-0ubuntu2
  Architecture: arm64
  CasperMD5CheckResult: unknown
  CloudBuildName: ubuntu-oci:minimized
  CloudSerial: 20260627
  Date: Tue Jul 14 11:25:21 2026
  ProcEnviron:
   PATH=(custom, no user)
   TERM=xterm
  SourcePackage: lua5.5
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160601

Title:
  Luarocks fails to make lua5.5 variables LUA_INCDIR and LUA_INCDIR_OK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lua5.5/+bug/2160601/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to