Created attachment 642330 [details] emerge --info qtnetwork kio kirigami kxmlgui (after installing the fixed versions) == SYMPTOMS == After I updated dev-qt/qtnetwork to 5.15.0 on my system (which is not yet stabilized), the subsequent rebuilds of kde-frameworks/kio-5.67.0-r1, kde-frameworks/kxmlgui-5.67.0 and kde-frameworks/kirigami-5.67.1-r1 failed. == ANALYSIS == The reason is that the source code of these three packages use a Qt version switch in several places, e. g.: #if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0)) if (reply->error() != QNetworkReply::NoError) { #else if (reply->networkError() != QNetworkReply::NoError) { #endif …or: #if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0)) const auto socketError = socket->error(); #else const auto socketError = socket->socketError(); #endif So the authors assume that prior to Qt 5.15.0 the methods are called error() and error() while in Qt 5.15.0 and later they are called networkError() and socketError(). But this assumption is wrong, as can be seen in the API documentation of Qt 5.15: • The class QAbstractSocket keeps using error() instead of socketError(): https://doc.qt.io/qt-5/qabstractsocket.html (compare with the Qt 5.14 doc: https://doc.qt.io/qt-5.14/qabstractsocket.html) • The class QNetworkReply keeps using error() instead of networkError(): https://doc.qt.io/qt-5/qnetworkreply.html (compare with the Qt 5.14 doc: https://doc.qt.io/qt-5.14/qnetworkreply.html) == FIX == I created patch files for the affected source code files that remove the Qt version switch for said method calls, and added them in the ebuild files accordingly. This enabled me to successfully build the three packages.
Created attachment 642332 [details] Build log of kio-5.67.0-r1
Created attachment 642334 [details] Build log of kirigami-5.67.1-r1
Created attachment 642348 [details] Build log of kxmlgui-5.67.0
Created attachment 642350 [details, diff] Patch file for kio-5.67.0-r1
Created attachment 642352 [details] Modified ebuild for kio-5.67.0-r1 that includes the patch file
Created attachment 642354 [details, diff] Patch file for kirigami-5.67.1-r1
Created attachment 642356 [details] Modified ebuild for kirigami-5.67.1-r1 that includes the patch file
Created attachment 642358 [details, diff] Patch file for kxmlgui-5.67.0
Created attachment 642360 [details] Modified ebuild for kxmlgui-5.67.0 that includes the patch file
Please update your mixed arch/~arch system to KDE Frameworks 5.70.
There won't be any more changes to 5.67. Please just update to 5.70.
You can use our autogenerated files for that: https://gitweb.gentoo.org/proj/kde.git/tree/Documentation/package.accept_keywords/kde-frameworks-5.70.keywords
Thank you, 5.70 builds fine. The only thing I had to do on top of that upgrade was to update kde-apps/konsole from stable 19.12.3-r1 to unstable 20.04.1 (or 20.04.1-r2 as of today) because it wouldn’t compile with the 5.70 components anymore.
konsole-19.12.3 and potentially other stable kde-apps/* packages is also a victim of Qt 5.15.0, not related to the KDE Frameworks upgrade.
Stabilisation was initiated in bug 724346.