Bug#999693: php8.1: Regular expression functions warn "Compilation failed" and return null

2022-01-08 Thread Ondřej Surý
Control: severity -1 normal -- Ondřej Surý (He/Him) > On 4. 12. 2021, at 17:14, Matthew Vernon wrote: > > Hi, > >> On 22/11/2021 09:16, Ondřej Surý wrote: >> >> I analysed the problem in: >> https://github.com/PhilipHazel/pcre2/issues/56 > > Thanks! I've had a read of that, and AIUI it's

Bug#999693: php8.1: Regular expression functions warn "Compilation failed" and return null

2021-12-04 Thread Matthew Vernon
Hi, On 22/11/2021 09:16, Ondřej Surý wrote: I analysed the problem in: https://github.com/PhilipHazel/pcre2/issues/56 Thanks! I've had a read of that, and AIUI it's a behaviour change (matching that of perl) rather than an ABI change? I guess bumping the version in the symbols file

Bug#999693: php8.1: Regular expression functions warn "Compilation failed" and return null

2021-11-22 Thread Ondřej Surý
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

Bug#999693: php8.1: Regular expression functions warn "Compilation failed" and return null

2021-11-15 Thread Matthew Vernon
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

Bug#999693: php8.1: Regular expression functions warn "Compilation failed" and return null

2021-11-15 Thread Matthew Vernon
Hi, On 15/11/2021 14:03, Ondřej Surý wrote: It’s still a bug, but I think it might be a bug in pcre2. The other Matthew (in CC) might need to bump the shlibs on the shared lib to >= 10.39 I'm slightly confused - this appears to be an issue in a php function that went away after an upgrade?

Bug#999693: php8.1: Regular expression functions warn "Compilation failed" and return null

2021-11-15 Thread Ondřej Surý
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.) We can also as upstream, perhaps this is something that

Bug#999693: php8.1: Regular expression functions warn "Compilation failed" and return null

2021-11-15 Thread Ondřej Surý
It’s still a bug, but I think it might be a bug in pcre2. The other Matthew (in CC) might need to bump the shlibs on the shared lib to >= 10.39 -- Ondřej Surý (He/Him) > On 15. 11. 2021, at 14:54, Matthew Krauss wrote: > > After running apt upgrade, it works fine. I honestly thought I had

Bug#999693: php8.1: Regular expression functions warn "Compilation failed" and return null

2021-11-14 Thread Ondřej Surý
Hi, is your system fully upgraded? What’s libpcre2 version? Ondřej -- Ondřej Surý (He/Him) > On 15. 11. 2021, at 2:51, Matthew Krauss wrote: > > Package: php8.1-common > Version: 8.1.0~rc5-1 > Severity: grave > Justification: renders package unusable > X-Debbugs-Cc: