summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-07-23 20:49:27 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-07-23 20:55:05 +0200
commitea3a25e7a92db18125aba2cc1e6e7323ed9dd550 (patch)
tree1deccbf31e5758f21f933bcaa5bf03a2102e6206 /kde-apps
parentgnome-base/gvfs: security bump to 1.38.3 (diff)
downloadgentoo-ea3a25e7a92db18125aba2cc1e6e7323ed9dd550.tar.gz
gentoo-ea3a25e7a92db18125aba2cc1e6e7323ed9dd550.tar.bz2
gentoo-ea3a25e7a92db18125aba2cc1e6e7323ed9dd550.zip
kde-apps/akonadi: Warn users about the trouble with USE mysql
External DBs can't be fixed automatically, and >=mariadb-10.4 still can't be upgraded automatically, at least add warnings that hopefully will be read. Bug: https://bugs.gentoo.org/688746 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/akonadi/akonadi-19.04.3.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/kde-apps/akonadi/akonadi-19.04.3.ebuild b/kde-apps/akonadi/akonadi-19.04.3.ebuild
index f8fd5fa4cf77..18abc722e094 100644
--- a/kde-apps/akonadi/akonadi-19.04.3.ebuild
+++ b/kde-apps/akonadi/akonadi-19.04.3.ebuild
@@ -70,6 +70,28 @@ pkg_setup() {
use postgres && DRIVER="QPSQL"
use mysql && DRIVER="QMYSQL"
+ if use mysql; then
+ ewarn "If using an Akonadi external QMYSQL DB without lower_case_table_names=1,"
+ ewarn "${CATEGORY}/${PN}-19.04.3 and later may fail to start. Running without"
+ ewarn "that option was never supported but not enforced by the setup GUI."
+ ewarn
+ ewarn "Manual steps are required to fix it, see also:"
+ ewarn " https://bugs.kde.org/show_bug.cgi?id=409753 (comment #4)"
+ ewarn
+ fi
+
+ if use mysql && has_version ">=dev-db/mariadb-10.4"; then
+ ewarn "If an existing Akonadi QMYSQL database is being upgraded using"
+ ewarn ">=dev-db/mariadb-10.4 and KMail stops fetching and sending mail,"
+ ewarn "check ~/.local/share/akonadi/akonadiserver.error for errors like:"
+ ewarn " \"Cannot add or update a child row: a foreign key constraint fails\""
+ ewarn
+ ewarn "Manual steps are required to fix it, see also:"
+ ewarn " https://bugs.gentoo.org/688746 (see Whiteboard)"
+ ewarn " https://bugs.kde.org/show_bug.cgi?id=409224"
+ ewarn
+ fi
+
if use sqlite || has_version "<${CATEGORY}/${P}[sqlite]"; then
ewarn "We strongly recommend you change your Akonadi database backend to either MySQL"
ewarn "or PostgreSQL in your user configuration."