Build and test failures with Qt 5.6 and Qt 5.3

David Faure faure at kde.org
Sat Nov 7 10:59:48 UTC 2015


On Friday 06 November 2015 17:21:33 Jan Kundrát wrote:
> Hi folks,
> please take a look at the CI status matrix at [1]. TL;DR: There are build 
> failures with Qt 5.3, plenty of test failures, and some test failures 
> specific to the still unreleased Qt 5.6.
> 
> Oh, and a cmake 3.4-git regression that I'm not going to bother you with. 
> Reported, known, downgraded for now.
> 
> This testing is more or less a side effect of kio's and plasma-workspace 
> presence in Gerrit. If you like this CI coverage, if you appreciate the 
> range of covered compilers and Qt5 versions, or if you would like it to 
> extend the coverage to all of KF5 and/or plasma or some other apps, please 
> let me know.

Having this for all of KF5 would definitely be useful.

Clearly it spots additional issues compared to jenkins, the more CIs we have
the better for quality ;)

However I admit that I keep forgetting to take a look at http://ci-logs.kde.flaska.net/matrix.html
in addition to jenkins, so your email is very useful.

> A quick summary (please click the "console" link in the matrix overview to 
> see full log):
> 
> - [5.3] kactivities: won't build due to QQuickWidget::setClearColor which 
> is 5.4+ only.

Ivan, can this be worked around?

> - [5.3] kcoreaddons: QDebug::noquote

Fixed.

> - [5.3] kwidgetsaddons: QTimer::singleShot and the new slot syntax

Fixed.

> - [5.3] plasma-workspace: QString::splitRef

You mean plasma-framework.
Nick, can you ifdef this depending on the Qt version?

> - [5.6] karchive: wrong number of items in the archive

I just committed more debug output in case of failure, to find out more.
The result is staggering, null bytes everywhere.

> - [5.6] kconfig: error which I don't understand

Possibly also related to null bytes, let's dig more after fixing karchive.

> - [5.6] kcoreaddons: different number formatting

This test sets a C locale. Could it be that on your system, the C locale
doesn't include having the comma as thousands-separator?
Or maybe the system's locale still interfers, i.e. KFormat format(QLocale::c());
isn't enough to -really- use the C locale?

> - kio, in all versions: test failures in KNewFileMenuTest::test(text file 
> with jpeg extension)

Also a mimetype problem. kcoreaddons' kde5.xml adds "*.doc" as a pattern
for text/plain, but surely it doesn't mean for it to become the main extension.
Can you the value of QMimeDatabase().mimeTypeForName("text/plain").preferredSuffix()
on your system? Here's it's "txt", I suspect it's "doc" on your system. Not sure why yet
though, but let's first check that.

> - kservice, in all versions: test failure

It appears that your system doesn't know that opendocument inherits application/zip.
Do you have this line in /usr/share/mime/subclasses ?
application/vnd.oasis.opendocument.text application/zip

> - [5.6] kwindowsystem: KWindowInfoX11Test fails tests

Martin, can you take a look at
http://ci-logs.kde.flaska.net/0c/0c4039dc8d4c3fa9eed18a4f5604a90648fe3e84/rebuilddep/rebuilddep-kf5-qt56-gcc-el7/d8b3c13/shell_output.log
?

> - plasma-framework, all versions: wrong dialog dimensions/offsets

Same as what we can currently see in Jenkins, so that one is more expected
than all of the others...

> [1] http://ci-logs.kde.flaska.net/matrix.html 

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list