FS#61358 - [pcre][mariadb] MariaDB can't be built with pcre
Attached to Project:
Arch Linux
Opened by RoundCube (RoundCube) - Friday, 11 January 2019, 21:21 GMT
Last edited by Christian Hesse (eworm) - Thursday, 15 June 2023, 11:26 GMT
Opened by RoundCube (RoundCube) - Friday, 11 January 2019, 21:21 GMT
Last edited by Christian Hesse (eworm) - Thursday, 15 June 2023, 11:26 GMT
|
Details
I am currently investigating how to best build MariaDB 10.3
for Arch.
It turned out that pcre has an bug, due to which MariaDB can't use it. It's currently worked around in the MariaDB package by using a bundled pcre version which has been patched. The upstream report is here, they agreed it's a bug, but they don't work anymore on the pcre1 version (the 8.x series) At the end is the patch, with which one can successfully build MariaDB. https://bugs.exim.org/show_bug.cgi?id=2173 We could apply the patch to the pcre package, or continuing to work around it by shipping MariaDB with the bundled pcre. Additional info: * pcre 8.42 |
This task depends upon
Closed by Christian Hesse (eworm)
Thursday, 15 June 2023, 11:26 GMT
Reason for closing: Implemented
Additional comments about closing: in git
Thursday, 15 June 2023, 11:26 GMT
Reason for closing: Implemented
Additional comments about closing: in git
[1] https://jira.mariadb.org/browse/MDEV-14024
The original issue in and itself is fixed due to upstream switching to pcre2 as one can see from the link loqs provided.
Reason for the system dep:
Arch tends to stay away from bundled deps and use system deps
Reason against:
There may be open bugs for pcre2 where mariadb ships locally a patched source and as this is a rather critical piece of software it may be safer.
Dunno where I would my vote if I had a voice. But as this is some longstanding open bug report which (in my opinion) could easily be closed I decided to write some words.