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
The current build process of the lua module is pretty brittle. It still works on Ubuntu 20.10 but not on modern Fedora 33 (possibly 34 as well) - for details see this conversation on the mailing list.
To add some context, originally we used to build Lua and LuaRocks from sources that had its own disadvantages - long build time and a new version of GCC would eventually require us to upgrade the lua makefiles and would be a massive effort. So my patch changed the build process to mostly use lua from host. But this came with its own problems which Fedora 33 started exhibiting. In essence new Fedora comes with Lua 5.3 and 5.4 (or the latter) and our lua module makefile can only deal with 5.2 and 5.3. Somehow forcing to use 5.3 of Fedora does not seem to work.
The extra problem is that our lua module (through cli) pulls other lua libraries like lua-socket which are also tied to a specific lua version. On top of that the lua source files in cli may simply break with a newer version of lua as some of it API changes (or maybe the lua libraries change).
So I think we have two options:
Somehow fix the current building from the host and make it use 5.3 on Fedora. Will future versions of Fedora and Ubuntu provide version 5.3? For how long? Currently, the setup.py simply installs lua for Fedora so who knows what we get?
Another option, which we use for other modules, is to download an old package from some distro that keeps ancient versions around (e.g., Fedora), open that, and use the executable from there.
The problem with this approach is that eventually it will stop working (if it didn't already...) because of #821...
The current build process of the
lua
module is pretty brittle. It still works on Ubuntu 20.10 but not on modern Fedora 33 (possibly 34 as well) - for details see this conversation on the mailing list.To add some context, originally we used to build Lua and LuaRocks from sources that had its own disadvantages - long build time and a new version of GCC would eventually require us to upgrade the lua makefiles and would be a massive effort. So my patch changed the build process to mostly use lua from host. But this came with its own problems which Fedora 33 started exhibiting. In essence new Fedora comes with Lua 5.3 and 5.4 (or the latter) and our lua module makefile can only deal with 5.2 and 5.3. Somehow forcing to use 5.3 of Fedora does not seem to work.
The extra problem is that our lua module (through cli) pulls other lua libraries like
lua-socket
which are also tied to a specific lua version. On top of that the lua source files in cli may simply break with a newer version of lua as some of it API changes (or maybe the lua libraries change).So I think we have two options:
setup.py
simply installslua
for Fedora so who knows what we get?The text was updated successfully, but these errors were encountered: