[Bug 240274] www/nginx: Unable to start when built with LUA support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 2 11:59:18 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240274

            Bug ID: 240274
           Summary: www/nginx: Unable to start when built with LUA support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum at FreeBSD.org
          Reporter: thomas at gibfest.dk
          Assignee: joneum at FreeBSD.org
             Flags: maintainer-feedback?(joneum at FreeBSD.org)

For a while now I have been getting this warning whenever I start nginx when it
is build with the LUA option:


[tykling at mail ~]$ sudo service nginx start
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Starting nginx.
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many
optimizations will be disabled and performance will be compromised (see
https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better,
consider using the OpenResty releases from
https://openresty.org/en/download.html)
[tykling at mail ~]$ 


The maintainer is aware of this warning, I reported it back in February by
email.

Recently (since ports r508962 I think) I am still getting the warning but nginx
now refuses to start:

[tykling at staging3 ~]$ sudo service nginx start
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Starting nginx.
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many
optimizations will be disabled and performance will be compromised (see
https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better,
consider using the OpenResty releases from
https://openresty.org/en/download.html)
nginx: [error] lua_load_resty_core failed to load the resty.core module from
https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty
release from https://openresty.org/en/download.html (rc: 2, reason: module
'resty.core' not found:
        no field package.preload['resty.core']
        no file './resty/core.lua'
        no file '/usr/local/share/luajit-2.0.5/resty/core.lua'
        no file '/usr/local/share/lua/5.1/resty/core.lua'
        no file '/usr/local/share/lua/5.1/resty/core/init.lua'
        no file './resty/core.so'
        no file '/usr/local/lib/lua/5.1/resty/core.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './resty.so'
        no file '/usr/local/lib/lua/5.1/resty.so'
        no file '/usr/local/lib/lua/5.1/loadall.so')
[tykling at staging3 ~]$ 


This is preventing me from upgrading nginx to solve the recent vulnerabilities
https://vuxml.freebsd.org/freebsd/87679fcb-be60-11e9-9051-4c72b94353b5.html

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list