So, it seems that this problem leads to a deeper problem, one with a fix, and one that leaves the s390x support at an impasse.

Firstly, mips64el has libluajit available.  We can fix the mips64el builds by adding libluajit-5.1-dev as an explicit dependency for mips64el.

However, we can NO LONGER use lua-nginx on any Debian release that has no libluajit because Upstream has changed dependencies. As such, we cannot package the Lua module for s390x, which makes this package still unsuitable for s390x as a result of nginx-extras depending on the Lua module.  Per upstream on that module:

> Since version |v0.10.16| of this module, the standard Lua interpreter (also known as "PUC-Rio Lua") is not supported anymore. [1]

This means that s390x support for NGINX will need to be dropped, or the Lua module will need to be dropped, or the Lua module will need *downgraded* to v0.10.15 which was the last version of the module to support liblua as a dependency.

If it is chosen to drop s390x support in nginx here, then the liblua dependency can be dropped entirely from build depends.  If it is chosen to downgrade the module to v0.10.15 then liblua will still work and the build dependencies will not need changed.

(Note that downstream in Ubuntu, the Lua module was dropped because of the problem with it later now requiring resty-core as a dependency, which the Ubuntu Server Team downstream no longer wishes to include just to get Lua working, and is pushing people who need Lua module to just use Open Resty.)



Thomas

[1]: https://github.com/openresty/lua-nginx-module#description

Reply via email to