[Pkg-nginx-maintainers] Bug#996788: libnginx-mod-http-lua: Please enable luajit for arm64

Noah Meyerhans noahm at debian.org
Mon Oct 18 18:50:41 BST 2021


Package: libnginx-mod-http-lua
Severity: wishlist
Tags: patch

Currently libnginx-mod-http-lua declares architecture-specific build-deps to
choose either liblua5.1 or libluajit-5.1.  For the arm64 architecture,
liblua5.1 is used even though luajit is availabile on this architecture.

I've locally built nginx with the following change to debian/control and
performed basic testing of the resulting packages:

diff --git a/debian/control b/debian/control
index fe24d3e..3415fd8 100644
--- a/debian/control
+++ b/debian/control
@@ -10,8 +10,8 @@ Build-Depends: debhelper-compat (= 13),
                libgd-dev,
                libgeoip-dev,
                libhiredis-dev,
-               liblua5.1-0-dev [!i386 !amd64 !kfreebsd-i386 !armel !armhf !powerpc !powerpcspe !mips !mipsel],
-               libluajit-5.1-dev [i386 amd64 kfreebsd-i386 armel armhf powerpc powerpcspe mips mipsel],
+               liblua5.1-0-dev [!i386 !amd64 !kfreebsd-i386 !arm64 !armel !armhf !powerpc !powerpcspe !mips !mipsel],
+               libluajit-5.1-dev [i386 amd64 kfreebsd-i386 arm64 armel armhf powerpc powerpcspe mips mipsel],
                libmaxminddb-dev,
                libmhash-dev,
                libpam0g-dev,

Please enable libluajit for the arm64 builds of libnginx-mod-http-lua.  Let me
know if you have concerns about this request or would like to see further
evidence of testing.

Thanks
noah



More information about the Pkg-nginx-maintainers mailing list