[Pkg-nginx-maintainers] Bug#941917: nginx: FTBFS on several architectures: luajit.h: No such file or directory
Christos Trochalakis
ctrochalakis at debian.org
Sun Oct 13 08:57:05 BST 2019
On Mon, Oct 07, 2019 at 06:16:48PM +0300, Niko Tyni wrote:
>This package failed to build from source on arm64, mips64el, ppc64el
>and s390x, but earlier versions built there successfully in the past.
>
>This is preventing 1.16.1-1 testing migration and is a blocker for
>the ongoing Perl 5.30 transition.
>
>See https://buildd.debian.org/status/package.php?p=nginx&suite=unstable
>
>From the arm64 log:
>
> cc -c -fPIC -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DNDK_SET_VAR -I src/core -I src/event -I src/event/modules -I src/os/unix -I src/http/modules/perl -I /<<PKGBUILDDIR>>/debian/modules/http-ndk/objs -I objs/addon/ndk -I /<<PKGBUILDDIR>>/debian/modules/http-ndk/src -I /<<PKGBUILDDIR>>/debian/modules/http-ndk/objs -I objs/addon/ndk -I /<<PKGBUILDDIR>>/debian/modules/nchan/src -I /<<PKGBUILDDIR>>/debian/modules/http-lua/src/api -I /usr/include/lua5.1 -I /<<PKGBUILDDIR>>/debian/modules/rtmp -I /usr/include/libxml2 -I objs -I src/http -I src/http/modules -I src/http/v2 -I /<<PKGBUILDDIR>>/debian/modules/http-ndk/src -I src/mail -I src/stream \
> -o objs/addon/src/ngx_http_lua_log.o \
> /<<PKGBUILDDIR>>/debian/modules/http-lua/src/ngx_http_lua_log.c
> In file included from /<<PKGBUILDDIR>>/debian/modules/http-lua/src/ngx_http_lua_script.h:11,
> from /<<PKGBUILDDIR>>/debian/modules/http-lua/src/ngx_http_lua_script.c:13:
> /<<PKGBUILDDIR>>/debian/modules/http-lua/src/ngx_http_lua_common.h:20:10: fatal error: luajit.h: No such file or directory
> 20 | #include <luajit.h>
> | ^~~~~~~~~~
> compilation terminated.
> make[3]: *** [objs/Makefile:2443: objs/addon/src/ngx_http_lua_script.o] Error 1
>
Sorry for the long delay. I uploaded 1.16.1-2 yesterday which downgrades
http-lua to v0.0.13, the last working version, to unblock the perl
transition.
Copying from the http-lua's README (master, not yet released v0.0.16):
https://github.com/openresty/lua-nginx-module
> Since version v0.10.16 of this module, the standard Lua interpreter
> (also known as "PUC-Rio Lua") is not supported anymore.
So I am working on a patch that skips building the module for non luajit
archs.
More information about the Pkg-nginx-maintainers
mailing list