From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E0197138334 for ; Wed, 24 Jul 2019 11:32:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1149E077F; Wed, 24 Jul 2019 11:32:33 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99767E077F for ; Wed, 24 Jul 2019 11:32:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BBFE9348675 for ; Wed, 24 Jul 2019 11:32:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93C604D3 for ; Wed, 24 Jul 2019 11:32:28 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1563967765.b7b95f71ddff77ab067caba16374081b4949f8d0.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/akonadi/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/akonadi/akonadi-19.07.80.ebuild kde-apps/akonadi/akonadi-19.08.49.9999.ebuild kde-apps/akonadi/akonadi-9999.ebuild X-VCS-Directories: kde-apps/akonadi/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: b7b95f71ddff77ab067caba16374081b4949f8d0 X-VCS-Branch: master Date: Wed, 24 Jul 2019 11:32:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 38c8f198-f88e-4e71-8804-c00947dc42bd X-Archives-Hash: dd60e4a05413d5ce3062e9d05c8d8dd1 commit: b7b95f71ddff77ab067caba16374081b4949f8d0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Jul 23 18:49:27 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jul 24 11:29:25 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=b7b95f71 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 gentoo.org> kde-apps/akonadi/akonadi-19.07.80.ebuild | 22 ++++++++++++++++++++++ kde-apps/akonadi/akonadi-19.08.49.9999.ebuild | 22 ++++++++++++++++++++++ kde-apps/akonadi/akonadi-9999.ebuild | 22 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/kde-apps/akonadi/akonadi-19.07.80.ebuild b/kde-apps/akonadi/akonadi-19.07.80.ebuild index f8fd5fa4cf..18abc722e0 100644 --- a/kde-apps/akonadi/akonadi-19.07.80.ebuild +++ b/kde-apps/akonadi/akonadi-19.07.80.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." diff --git a/kde-apps/akonadi/akonadi-19.08.49.9999.ebuild b/kde-apps/akonadi/akonadi-19.08.49.9999.ebuild index 9070a6e386..deb486dea5 100644 --- a/kde-apps/akonadi/akonadi-19.08.49.9999.ebuild +++ b/kde-apps/akonadi/akonadi-19.08.49.9999.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." diff --git a/kde-apps/akonadi/akonadi-9999.ebuild b/kde-apps/akonadi/akonadi-9999.ebuild index 9070a6e386..deb486dea5 100644 --- a/kde-apps/akonadi/akonadi-9999.ebuild +++ b/kde-apps/akonadi/akonadi-9999.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."