Hi Matthew,

I analysed the problem in:

https://github.com/PhilipHazel/pcre2/issues/56

Seems like there’s BC ABI/API-incompatible change that isn’t expressed in the 
symbols.

I guess bumping the version in the symbols file like this should do the trick:

diff --git a/debian/libpcre2-8-0.symbols b/debian/libpcre2-8-0.symbols
index 9e3dd2f..e242fa3 100644
--- a/debian/libpcre2-8-0.symbols
+++ b/debian/libpcre2-8-0.symbols
@@ -46,7 +46,7 @@ libpcre2-8.so.0 libpcre2-8-0 #MINVER#
  pcre2_set_bsr_8@Base 10.22
  pcre2_set_callout_8@Base 10.22
  pcre2_set_character_tables_8@Base 10.22
- pcre2_set_compile_extra_options_8@Base 10.32
+ pcre2_set_compile_extra_options_8@Base 10.38
  pcre2_set_compile_recursion_guard_8@Base 10.22
  pcre2_set_depth_limit_8@Base 10.32
  pcre2_set_glob_escape_8@Base 10.32

Ondrej
--
Ondřej Surý (He/Him)
ond...@sury.org

> On 15. 11. 2021, at 16:01, Matthew Vernon <matt...@debian.org> wrote:
> 
> Hi,
> 
> On 15/11/2021 14:34, Ondřej Surý wrote:
> 
>> This appears when built with 10.39, but the runtime version is less than 
>> that. My guess is that this needs manual debian/libpcre2-8.shlibs override. 
>> (Or just mangle the symbols file, so it always generates correct versioned 
>> dependency.)
> 
> I've had a look at the Changelog from 10.36 (previous packaged version), and 
> there's nothing obvious there.
> 
> Is it possible to work out what is happening lower down the stack to cause 
> this error message? I don't feel I have something I can even refer to 
> upstream yet...
> 
> Thanks,
> 
> Matthew

Reply via email to