Test failures with kdelibs4support

Hartmut Goebel h.goebel at crazy-compilers.com
Tue Apr 18 16:20:14 UTC 2017


Hi,

I try building kdelibs4support 5.32.0 for GNU Guix
<https://www.gnu.org/software/guix/>. GNU Guix builds all software
within a container, which does not have any network interface nor any
service running except if explicitly started.

kdelibs4support builds fine, but some tests are failing. Any hints what
could cause this or how to debug it? Where can I find the CI logs for
this package to compare the results?


1) KStandarddirsTest::testFindResource
------------------------------------------------------------------------

FAIL! : KStandarddirsTest::testFindResource() '!data.isEmpty()' returned
FALSE. ()
Loc:
[/tmp/guix-build-kdelibs4support-5.32.0.drv-0/kdelibs4support-5.32.0/autotests/kstandarddirstest.cpp(160)]

stracing showed that the requested config dir does not exist:

stat("/tmp/guix-build-kdelibs4support-5.32.0.drv-0/build/.kde-unit-test/xdg/config/foorc",
0x7ffc0658bf30) = -1 ENOENT (No such file or directory)


2) KMimeTypeTest::testMimeTypeTraderForTextPlain (and others)
-----------------------------------------------------------------------------

QWARN  : KMimeTypeTest::testMimeTypeTraderForTextPlain()
KMimeTypeTrader: mimeType "text/plain" not found
FAIL!  : KMimeTypeTest::testMimeTypeTraderForTextPlain()
'offerListHasService(offers, "faketextpart.desktop")' returned FALSE. ()
   Loc:
[/tmp/guix-build-kdelibs4support-5.32.0.drv-0/kdelibs4support-5.32.0/autotests/kmimetypetest.cpp(669)]

I could not find the cause for this one: ksycoca is reading the
.desktop-files generated by the test-suite, but the tests fail. Adding
"shared-mime-info" to the container did not help.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel at crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |




More information about the Kde-frameworks-devel mailing list