[Pkg-nginx-maintainers] Bug#941917: nginx: FTBFS on several architectures: luajit.h: No such file or directory

Niko Tyni ntyni at debian.org
Mon Oct 7 16:16:48 BST 2019


Source: nginx
Version: 1.16.1-1
Severity: serious
Tags: ftbfs
Control: block 935737 with -1

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
 
-- 
Niko Tyni   ntyni at debian.org



More information about the Pkg-nginx-maintainers mailing list