When you try to use system version of the library, following error emerges:
| -- Performing Test HAVE_RAPIDJSON_WITH_STD_REGEX
| -- Performing Test HAVE_RAPIDJSON_WITH_STD_REGEX - Failed
| CMake Error at cmake/rapidjson.cmake:114 (MESSAGE):
| System rapidjson lacks some fixes required for support of regular
| expressions. See extra/RAPIDJSON-README for details.
| Call Stack (most recent call first):
| CMakeLists.txt:1952 (MYSQL_CHECK_RAPIDJSON)
| -- Configuring incomplete, errors occurred!
I specifically chose not to specify version in the bundled(rapidjson),
to avoid confusion that it's the same version as of the system variant of the library from package 'rapidjson'
Both are set to 'bundled' by default !
We really want to avoid bundling zlib.
On top of that, there is currently a problem with the bundled zlib, which results in a linker error during compilation.
We want to un-bundle rapidjson too, but:
| -- Performing Test HAVE_RAPIDJSON_WITH_STD_REGEX
| -- Performing Test HAVE_RAPIDJSON_WITH_STD_REGEX - Failed
| CMake Error at cmake/rapidjson.cmake:114 (MESSAGE):
| System rapidjson lacks some fixes required for support of regular
| expressions. See extra/RAPIDJSON-README for details.
| Call Stack (most recent call first):
| CMakeLists.txt:1952 (MYSQL_CHECK_RAPIDJSON)
| -- Configuring incomplete, errors occurred!
needs further investigation.
Installation path macros are not allowed in file dependencies.
Starting with F40, these break flatpak builds entirely because
dnf5 only recognizes file deps in /etc, /usr/bin, and /usr/sbin,
not /app/etc. At this point, mariadb-connector-c-config is the
sole provider of my.cnf.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies
--
Based on commit 45b40b2 in rpms/mariadb10.11 authored by Yaakov Selkowitz on Apr 8 2024
45b40b2e9c
When building the package as alternative (non default) version
for a distro, we should not have provides that are virtual and
without version. Otherwise, packages that depend on these
virtual provides (like build requires of perl-DBD-MySQL),
could install the non-default version by accident.
The sub-package 'mariadb-common' contains XML files with character sets
The sub-package 'mariadb-errmsg' contains 'errmsg.sys' files with error messages for various laguages
Enabled more testsuite parallelization
I've tested that the builders will not deplete resources for this value
New bug discovered: #2165809
"Testsuite suite 'query_rewrite_plugins' fails on Fedora 38 and later"