[Bug 277145] www/nginx: Nginx 1.24.0 startup issue following lua-resty-core v0.1.28 upgrade

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Feb 2024 17:27:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277145

            Bug ID: 277145
           Summary: www/nginx: Nginx 1.24.0 startup issue following
                    lua-resty-core v0.1.28 upgrade
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: chris@cretaforce.gr
             Flags: maintainer-feedback?(joneum@FreeBSD.org)
          Assignee: joneum@FreeBSD.org

After updating the lua-resty-core library to version 0.1.28, I encountered a
critical startup issue with Nginx version 1.24.0. The error message indicates a
failure to load the 'resty.core' module, as outlined below:

nginx: [alert] failed to load the 'resty.core' module
(https://github.com/openresty/lua-resty-core); ensure you are using an
OpenResty release from https://openresty.org/en/download.html (reason:
/usr/local/share/lua/5.1/resty/core/base.lua:24: ngx_http_lua_module 0.10.26
required) in /usr/local/etc/nginx/nginx.conf:1044

The error suggests that the current version of the ngx_http_lua_module
(v0.10.25) is incompatible with the latest lua-resty-core update, which
requires ngx_http_lua_module version 0.10.26.

To address this compatibility issue I recommend updating the Nginx port's
Makefile.extmod to use the compatible version of the ngx_http_lua_module.

Current Configuration Line:

openresty:lua-nginx-module:v0.10.25:lua

Suggested Change:

openresty:lua-nginx-module:v0.10.26:lua

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