diff options
| author | Petr Vaněk <arkamar@gentoo.org> | 2025-02-14 18:15:42 +0100 |
|---|---|---|
| committer | Petr Vaněk <arkamar@gentoo.org> | 2025-02-15 22:27:27 +0100 |
| commit | 506b9c0380f5a89acd33d68aa388c5e4f6c16638 (patch) | |
| tree | 9087f95afe4ab73e91c54493a30f2137b2b56898 /dev-db/mariadb/mariadb-10.11.10.ebuild | |
| parent | 2ec6af082c31763a886f37235425846a288e17f4 (diff) | |
| download | gentoo-506b9c0380f5a89acd33d68aa388c5e4f6c16638.tar.gz gentoo-506b9c0380f5a89acd33d68aa388c5e4f6c16638.tar.bz2 gentoo-506b9c0380f5a89acd33d68aa388c5e4f6c16638.zip | |
dev-db/mariadb: fix USE=columnstore with >=dev-libs/boost-1.85
Boost 1.85 dropped some deprecated code from filesystem module, which is
still used in MariaDB columnstore. However, older Boost versions are no
longer available in ::gentoo, which effectively makes the MariaDB
unbuildable if USE=columnstore is set.
This fix applies a patch with port to Boost 1.85 to all available
mariadb-10* ebuilds. The patch was submitted to upstream [1]. It was
also necessary to apply C++17 fix, which was backported from commit [2].
MariaDB currently installs bundled libthrift.so with USE=columnstore,
which collides with dev-libs/thrift. This problem is solved with a
conditional weak blocker for now.
[1] https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/3407
[2] https://github.com/mariadb-corporation/mariadb-columnstore-engine/commit/1973168e03d90d8c6da590df2f31982dd400ea0b
Bug: https://bugs.gentoo.org/861770
Bug: https://bugs.gentoo.org/932735
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'dev-db/mariadb/mariadb-10.11.10.ebuild')
| -rw-r--r-- | dev-db/mariadb/mariadb-10.11.10.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-db/mariadb/mariadb-10.11.10.ebuild b/dev-db/mariadb/mariadb-10.11.10.ebuild index e6a6d95ff35f..f5faf1ebd85e 100644 --- a/dev-db/mariadb/mariadb-10.11.10.ebuild +++ b/dev-db/mariadb/mariadb-10.11.10.ebuild @@ -14,6 +14,7 @@ HOMEPAGE="https://mariadb.org/" SRC_URI=" mirror://mariadb/${P}/source/${P}.tar.gz https://dev.gentoo.org/~arkamar/distfiles/${P}-patches-01.tar.xz + https://dev.gentoo.org/~arkamar/distfiles/${PN}-10.6-columnstore-with-boost-1.85.patch.xz " # Shorten the path because the socket path length must be shorter than 107 chars # and we will run a mysql server during test phase @@ -123,7 +124,10 @@ RDEPEND="${COMMON_DEPEND} !dev-db/mariadb:11.4 selinux? ( sec-policy/selinux-mysql ) server? ( - columnstore? ( dev-db/mariadb-connector-c ) + columnstore? ( + dev-db/mariadb-connector-c + !dev-libs/thrift + ) extraengine? ( jdbc? ( >=virtual/jre-1.8 ) ) galera? ( sys-apps/iproute2 @@ -220,6 +224,7 @@ src_prepare() { eapply "${WORKDIR}"/mariadb-patches eapply "${FILESDIR}"/${PN}-10.6.11-gssapi.patch eapply "${FILESDIR}"/${PN}-10.6.12-gcc-13.patch + eapply "${WORKDIR}"/${PN}-10.6-columnstore-with-boost-1.85.patch eapply_user |
