Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679472 - dev-util/kdevelop-5.2.4 with Qt-5.12.1 - crash due to missing Qt_5_PRIVATE_API in dev-qt/qtxmlpatterns
Summary: dev-util/kdevelop-5.2.4 with Qt-5.12.1 - crash due to missing Qt_5_PRIVATE_AP...
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: 2019-03-05 00:41 UTC by Tomasz Golinski
Modified: 2019-03-16 19:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Golinski 2019-03-05 00:41:39 UTC
Kdevelop crashes several seconds after starting with the message:

kdevelop: relocation error: /usr/lib64/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so: symbol _ZN3QV46Object12insertMemberEPNS_6StringEPKNS_8PropertyENS_18PropertyAttributesE version Qt_5_PRIVATE_API not defined in file libQt5Qml.so.5 with link time reference

It seems the problem was caused by an incorrect build order of dev-qt/qt-* packages. Rebuilding dev-qt/qtxmlpatterns fixed the issue for me. The file libQt5Qml.so.5 belongs to dev-qt/qtdeclarative and my build log shows that indeed it was updated after dev-qt/qtxmlpatterns.
Comment 1 Larry the Git Cow gentoo-dev 2019-03-11 00:36:29 UTC
The bug has been closed via the following commit(s):

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

commit 359fc371b09aa331917b8f5af3b0019bed1252e0
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-03-11 00:35:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-03-11 00:35:13 +0000

    dev-qt/qtxmlpatterns: Add missing DEPEND on dev-qt/qtdeclarative
    
    Closes: https://bugs.gentoo.org/679472
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.1-r1.ebuild | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2019-03-16 19:09:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=ba913b0657975caee82dbd63487c5fc65c470817

commit ba913b0657975caee82dbd63487c5fc65c470817
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-03-11 00:35:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-03-16 19:08:31 +0000

    dev-qt/qtxmlpatterns: Add USE qml
    
    xmllistmodel was moved from qtdeclarative.
    
    Bug: https://bugs.gentoo.org/679472
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtxmlpatterns/metadata.xml                   |  3 +++
 dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild | 19 ++++++++++++++-----
 dev-qt/qtxmlpatterns/qtxmlpatterns-5.13.9999.ebuild | 17 +++++++++++++----
 dev-qt/qtxmlpatterns/qtxmlpatterns-5.9999.ebuild    | 19 ++++++++++++++-----
 4 files changed, 44 insertions(+), 14 deletions(-)