[bundled libraries fix] The 'rapidjson' library has to be bundled.
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'
This commit is contained in:
parent
ff51e1d0f5
commit
15b46299cf
@ -166,7 +166,6 @@ BuildRequires: perl-generators
|
||||
BuildRequires: rpcgen
|
||||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: protobuf-lite-devel
|
||||
BuildRequires: rapidjson-devel
|
||||
BuildRequires: zlib
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: multilib-rpm-config
|
||||
@ -222,6 +221,12 @@ Requires: %{pkgname}-common = %{sameevr}
|
||||
|
||||
Provides: bundled(boost) = %{boost_bundled_version}
|
||||
|
||||
# 'rapidjson' library must be bundled
|
||||
# The rapidjson upstream made the last release in 2016, even though it has an active development till today (2024, ~750 commits since)
|
||||
# The MySQL upstream forked the project from a specific commit and added custom patches. See "extra/RAPIDJSON-README" for details.
|
||||
# In the MySQL 8.0.34, the MySQL upsstream made the 'rapidjson' library to be bundled by default.
|
||||
Provides: bundled(rapidjson)
|
||||
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb}
|
||||
# Explicitly disallow installation of mysql + mariadb-server
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-server}
|
||||
|
Loading…
Reference in New Issue
Block a user