You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to install a package, which has a build dependency, luarocks-build-treesitter-parser, which depends on LuaFileSystem.
For some reason, it seems to be looking for a lua 5.4 header, even though it's configured to install with lua 5.1;
see this log line: Build error: Lua header lua.h found at D:/a/rocks-binaries-dev/rocks-binaries-dev/.lua/include does not match Lua version 5.4.
The text was updated successfully, but these errors were encountered:
This is because the LuaRocks binary itself is built with Lua 5.4, so the build dependency refers to the version LuaRocks itself is running in, not the Lua version that LuaRocks is targeting.
So, to clarify, I do not consider this to be a bug per se. But I do realize this makes the CI setup awkward, especially on Windows where multiversion packages are not common. I don't have an immediate suggestion on how to best deal with this... this is worth thinking about.
Please fill out the following:
Platform:
LuaRocks version:
Configuration file:
LuaRocks output from when the issue occurred:
https://gist.github.com/mrcjkb/ce8dfe66b4eff37092ca5bd396b193f9
(includes both verbose and non-verbose output)
see this log line:
Build error: Lua header lua.h found at D:/a/rocks-binaries-dev/rocks-binaries-dev/.lua/include does not match Lua version 5.4.
The text was updated successfully, but these errors were encountered: