FS#77058 - [pcre] Namespace some functions
Attached to Project:
Arch Linux
Opened by Bruno Pagani (ArchangeGabriel) - Monday, 09 January 2023, 03:21 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:14 GMT
Opened by Bruno Pagani (ArchangeGabriel) - Monday, 09 January 2023, 03:21 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:14 GMT
|
Details
pcre does not exactly have ABI compatibility for some
functions. This leads to crashes when compiling with
`--as-needed` (e.g.
https://github.com/cyrusimap/cyrus-imapd/issues/2629).
Debian and Fedora have a patch around this: https://src.fedoraproject.org/rpms/pcre/blob/rawhide/f/pcre-8.42-Declare-POSIX-regex-function-names-as-macros-to-PCRE.patch Can we consider adding it to our pcre too? |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:14 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/pcre/issues/1
Saturday, 25 November 2023, 20:14 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/pcre/issues/1
(Note sieve/sieve.c may need to be removed to force it to be regenerated)
Test: subject_normalise ...FAILED
1. ./cunit/conversations.testc:1365 - CU_ASSERT_EQUAL(b.len=14,sizeof(_exp)-1=11)
2. ./cunit/conversations.testc:1365 - CU_ASSERT_STRING_EQUAL(b.s="re:nore:foobar",_exp="nore:foobar")
Hopefully upstream will resolve it.
If the namespacing patch is applied could the patch for CET support be applied at the same time?
FS#73355[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000034