[Pkg-nginx-maintainers] Bug#1008787: NGINX FTBFS: Lua dependencies missing

Thomas Ward teward at ubuntu.com
Fri Apr 1 16:49:29 BST 2022


source: nginx
found: 1.18.0-8
severity: serious

The builds for mips64el and s390x are failing to build and thus failing 
to allow 1.18.0-8 to migrate.
Both error with luajit not found errors.


cc -c -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -g -O2 
-ffile-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:2683: objs/addon/src/ngx_http_lua_script.o] 
Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from 
/<<PKGBUILDDIR>>/debian/modules/http-lua/src/ngx_http_lua_log.h:12,
                  from 
/<<PKGBUILDDIR>>/debian/modules/http-lua/src/ngx_http_lua_log.c:14:
/<<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>
       |          ^~~~~~~~~~


This needs fixed ASAP or it's going to end up with NGINX removed from 
testing because the 'fixed' versions don't build.  This is why it hasn't 
migrated yet.


Thomas



More information about the Pkg-nginx-maintainers mailing list