On Sat, 29 Aug 2026, Olly Betts wrote:

On Sun, Aug 30, 2026 at 03:45:24AM +0530, Gajendra Nath Soren wrote:
Please update the bundled pcre2 to the latest upstream version.

I'd argue we should be using the system pcre2 instead.  The upstream
build system seems to support this (I think upstream bundle all these
libraries for platforms which don't have them easily available as
packages rather than because they are patching them).

Looks like the default upstream configure behaviour is to probe for a
system library and fall back to the bundled copy, so my guess is we
aren't deliberately using the bundled copy but rather just missing a
build-dependency.  It would probably be a good idea to use
--with-pcre2=sys so it fails if the system copy is not found so missing
build-dependencies are an error.

Probably the same for other bundled libraries.

I've not touched the wxWidgets packaging for ages though, so Scott
should probably have a say here.

In fact, we already do use the system pcre2 (you can check the build logs and also notice that libwxbase3.2-1t64 depends on libpcre2-32-0). So, this is not really a bug since we're not using the bundled copy of pcre2.

Since we're already excluding other bundled libraries in d/copyright, we can probably add pcre to this during our next upstream upload so it's clearer that the bundled copy isn't being used.

Regards,
Scott

Reply via email to