Public bug reported:

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.

The following debian bug report describes the problem
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996788

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,
Zander

** Affects: nginx (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Please enable luajit for arm64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1948699/+subscriptions


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

Reply via email to