<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div dir="auto">I apoligize I was thinking Lua deps not PCRE.</div>
<div dir="auto"><br>
</div>
<div dir="auto">However, I did more digging. OpenResty has been on NGINX cofe version 1.21.4 for the longest time. They do not have PCRE2 support in their system. As this is an OpenResty-originating module the 4th requirement as stated in the linked GitHub
issue is not met.</div>
<div dir="auto"><br>
</div>
<div dir="auto">I would not be so sure that "next update" will have a fix if OpenResty core does not support PRCE2 (1.21.5 nginx introduced PCRE2 core requirement/build fixes, OpenResty never inccuded that). The reason PCRE3 is still used here in the Lua module
is the custom workaround of mixing PCRE2 nginx and PCRE3 Lua which use different build flags at compile time with the linking options.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Therefore, we need to not make assumptions and watch this closely. If there is not movement in a reasonable time period, then we may have to drop this module from Debian due to PCRE3 being obsolete.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Note also GH issue https://github.com/openresty/lua-nginx-module/issues/1984 which has been asking for PCRE2 support for *years* now with no movement - this seems to be related and explains the 1.21.4 nginx lock on the OpenResty fork as one
hurdle (a major one).</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thomas</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div id="composer_signature" dir="auto">
<div dir="auto" style="font-size:12px; color:#575757">Sent from my Galaxy</div>
</div>
<div dir="auto"><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-------- Original message --------</div>
<div>From: Jérémy Lal <kapouer@melix.org> </div>
<div>Date: 8/29/23 05:16 (GMT-05:00) </div>
<div>To: Thomas Ward <teward@ubuntu.com>, 1050186@bugs.debian.org </div>
<div>Cc: Bastian Germann <bage@debian.org> </div>
<div>Subject: Re: [Pkg-nginx-maintainers] Bug#1050186: Bug#1050186: libnginx-mod-http-lua: depends on obsolete pcre3 library
</div>
<div><br>
</div>
<div>
<div dir="ltr">
<div>Le lun. 21 août 2023 à 19:09, Thomas Ward <<a href="mailto:teward@thomas-ward.net">teward@thomas-ward.net</a>> a écrit :<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Bastian:<br>
<br>
As I understand the module, for over a year now the latest Lua module <br>
from OpenResty requires LuaJIT to actually compile. See <br>
<a href="https://salsa.debian.org/nginx-team/libnginx-mod-http-lua/-/blob/main/debian/control#L8" rel="noreferrer" target="_blank">https://salsa.debian.org/nginx-team/libnginx-mod-http-lua/-/blob/main/debian/control#L8</a>
<br>
where this is in the build deps. </blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<br>
I have not tested removing the PCRE3 build dependency here, but because <br>
OpenResty has refused to change the Lua library to be any Lua support <br>
other than 5.1, it requires LuaJIT in order to provide 'continued <br>
support' for Lua 5.1 bytecode.<br>
</blockquote>
<div><br>
</div>
<div>These comments have no relation with this bug report.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
It is my understanding that the pcre2/pcre3 dependency may not be <br>
needed, but I have not deep dived into the Lua packaging recently. I'm <br>
running a test build from the tagged data in Salsa locally to see if it <br>
builds without the pcre2/pcre3 devel libraries in build-deps.<br>
</blockquote>
<br>
pcre3 is *needed* by libnginx-mod-http-lua, which doesn't support pcre2 yet.</div>
<div class="gmail_quote">However someone involved worked on it a few days ago:</div>
<div class="gmail_quote"><a href="https://github.com/openresty/lua-nginx-module/pull/2221">https://github.com/openresty/lua-nginx-module/pull/2221</a></div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">so hopefully the situation will resolve itself in next update.</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">Jérémy</div>
</div>
</div>
</body>
</html>