Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639140 - kde-apps/akonadi-17.08.3[sqlite]: crash after update from qt-5.9.2 to qt-5.9.3
Summary: kde-apps/akonadi-17.08.3[sqlite]: crash after update from qt-5.9.2 to qt-5.9.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-29 07:15 UTC by Marco Genasci
Modified: 2020-01-31 18:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.33 KB, text/plain)
2017-11-29 07:15 UTC, Marco Genasci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Genasci 2017-11-29 07:15:13 UTC
In my stable system with kde-plasma/*, kde-frameworks/*, kde-apps/* and dev-qt/* in package.accept_keywords after update of qt-5.9.3 akonadi crash all the time in a loop.
With a simple rebuild of akonadi the problem will be solved.
This happend in my two system with similar configurations.



Reproducible: Always
Comment 1 Marco Genasci 2017-11-29 07:15:36 UTC
Created attachment 507052 [details]
emerge-info.txt
Comment 2 Andreas Sturmlechner gentoo-dev 2017-12-02 08:51:13 UTC
I'm not sure what we can do here, may have been caused by an unfortunate order of toolchain/frameworks/Qt/deps as I personally haven't seen such crashes.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-12-02 08:52:18 UTC
Did you upgrade from Qt-5.7.1 or Qt-5.9.2?
Comment 4 Marco Genasci 2017-12-02 10:06:02 UTC
(In reply to Andreas Sturmlechner from comment #3)
> Did you upgrade from Qt-5.7.1 or Qt-5.9.2?

No, I updated from 5.9.2 to 5.9.3
Comment 5 Andreas Sturmlechner gentoo-dev 2017-12-02 13:24:44 UTC
Which akonadi backend did you choose?
Comment 6 Marco Genasci 2017-12-02 15:43:22 UTC
(In reply to Andreas Sturmlechner from comment #5)
> Which akonadi backend did you choose?

sqlite3 is my backend
Comment 7 Andreas Sturmlechner gentoo-dev 2017-12-02 15:49:47 UTC
Which is probably the explanation. akonadi ships with a forked sqlite driver that uses private Qt API and may break at any Qt upgrade.

There is no obvious fix except to keep that in mind. I don't know what else to do than stable masking sqlite (or trying to, once again), a backend that is half-broken anyway.
Comment 8 Marco Genasci 2018-02-04 11:51:05 UTC
Same problem when update from 5.9.3 to 5.9.4
Comment 9 Andreas Sturmlechner gentoo-dev 2018-02-04 23:39:32 UTC
@qt, I don't suppose we can get something like SLOT="5/${PN}" for qtsql?
Comment 10 Andreas Sturmlechner gentoo-dev 2018-02-08 23:14:49 UTC
(In reply to Andreas Sturmlechner from comment #9)
> @qt, I don't suppose we can get something like SLOT="5/${PN}" for qtsql?
*PV of course...
Comment 11 alexandrl 2018-02-15 17:33:39 UTC
Same problem when update from 5.10.0 to 5.10.1
Reinstall akonadi solves the problem.
Comment 12 Davide Pesavento (RETIRED) gentoo-dev 2018-02-15 17:55:14 UTC
(In reply to Andreas Sturmlechner from comment #9)
> @qt, I don't suppose we can get something like SLOT="5/${PV}" for qtsql?
Technically, that wouldn't be incorrect, since the private API/ABI can break at any time, including patch releases. It could result in unnecessary rebuilds, but as long as reverse deps use ":=" only where it's really necessary, I don't see a big problem.
We can adopt the new subslot starting with 5.10.x.
@kensington, any concerns?
Comment 13 Davide Pesavento (RETIRED) gentoo-dev 2018-02-15 17:56:31 UTC
And I would do the same for all qt modules, not just qtsql.
Comment 14 Michael Palimaka (kensington) gentoo-dev 2018-02-16 11:53:25 UTC
(In reply to Davide Pesavento from comment #13)
> And I would do the same for all qt modules, not just qtsql.

If we do this for all modules, we will definitely introduce unnecessary rebuilds because there's revdeps currently using the 5.x subslot to handle stuff like #if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
Comment 15 Andreas Sturmlechner gentoo-dev 2018-05-13 16:16:13 UTC
I would only do this for QtSql, so far it is the only confirmed regular cause of issues (for akonadi[sqlite] at least).
Comment 16 Larry the Git Cow gentoo-dev 2018-07-12 10:38:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db775da0c9c6b9b1cd336680772d71730ed1032d

commit db775da0c9c6b9b1cd336680772d71730ed1032d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-07-06 20:51:30 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-12 09:59:31 +0000

    kde-apps/akonadi: Rebuild on dev-qt/qtsql[mysql] version bump
    
    Closes: https://bugs.gentoo.org/639140
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 kde-apps/akonadi/akonadi-18.04.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad4b44faa018a11241f9661e803d0962ee10c398

commit ad4b44faa018a11241f9661e803d0962ee10c398
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-07-06 20:45:54 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-12 09:59:30 +0000

    dev-qt/qtsql: Use full version subslot
    
    Bug: https://bugs.gentoo.org/639140
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-qt/qtsql/qtsql-5.11.1-r1.ebuild | 58 ++++++++++++++++++++++++++++++++++
 dev-qt/qtsql/qtsql-5.9.6-r1.ebuild  | 63 +++++++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)