Subject: bug#70100: kdelibs4support build failure

From: Nathan Dehnel <[email-masked]>
Date: Sun, 31 Mar 2024 03:25:08 -0500

guix f5558ee

starting phase `check-post-install'
D-Bus library appears to be incorrectly set up: see the manual page
for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbu
s/machine-id": No such file or directory; Failed to open
"/etc/machine-id": No such file or directory)
Test project /tmp/guix-build-kdelibs4support-5.114.0.drv-0/build
     Start  1: globalcleanuptest
1/38 Test  #1: globalcleanuptest ........................   Passed    0.05 sec
     Start  2: kaccelgentest
2/38 Test  #2: kaccelgentest ............................   Passed    0.02 sec
     Start  3: kcalendartest
3/38 Test  #3: kcalendartest ............................   Passed    0.39 sec
     Start  4: kcmdlineargs_unittest
4/38 Test  #4: kcmdlineargs_unittest ....................   Passed    0.03 sec
     Start  5: kdatetimetest
5/38 Test  #5: kdatetimetest ............................   Passed    1.99 sec
     Start  6: klocaletimeformattest
6/38 Test  #6: klocaletimeformattest ....................   Passed    0.04 sec
     Start  7: ktimezonestest
7/38 Test  #7: ktimezonestest ...........................   Passed    2.20 sec
     Start  8: k4timezonewidget_unittest
8/38 Test  #8: k4timezonewidget_unittest ................   Passed    0.04 sec
     Start  9: kdebugtest
9/38 Test  #9: kdebugtest ...............................   Passed    0.03 sec
     Start 10: kbuttongrouptest
10/38 Test #10: kbuttongrouptest .........................   Passed    0.38 sec
     Start 11: kdialog_unittest
11/38 Test #11: kdialog_unittest .........................   Passed    0.24 sec
     Start 12: kfadewidgeteffecttest
12/38 Test #12: kfadewidgeteffecttest ....................   Passed    0.04 sec
     Start 13: kconfigafterkglobaltest1
13/38 Test #13: kconfigafterkglobaltest1 .................   Passed    0.04 sec
     Start 14: kconfigafterkglobaltest2
14/38 Test #14: kconfigafterkglobaltest2 .................   Passed    0.03 sec
     Start 15: kdebug_unittest
15/38 Test #15: kdebug_unittest ..........................   Passed    0.12 sec
     Start 16: kdebug_qcoreapptest
16/38 Test #16: kdebug_qcoreapptest ......................   Passed    0.04 sec
     Start 17: kmd5benchmark
17/38 Test #17: kmd5benchmark ............................   Passed    7.10 sec
     Start 18: ktabwidget_unittest
18/38 Test #18: ktabwidget_unittest ......................   Passed    0.04 sec
     Start 19: ktempdirtest
19/38 Test #19: ktempdirtest .............................   Passed    0.04 sec
     Start 20: ktemporaryfiletest
20/38 Test #20: ktemporaryfiletest .......................   Passed    0.04 sec
     Start 21: kuniqueapptest
21/38 Test #21: kuniqueapptest ...........................   Passed    0.43 sec
     Start 22: kurlmimetest
22/38 Test #22: kurlmimetest .............................   Passed    0.04 sec
     Start 23: klibloadertest
23/38 Test #23: klibloadertest ...........................   Passed    0.04 sec
     Start 24: ksavefiletest
24/38 Test #24: ksavefiletest ............................   Passed    0.03 sec
     Start 25: kconfigcompattest
25/38 Test #25: kconfigcompattest ........................   Passed    0.03 sec
     Start 26: kglobalstatictest
26/38 Test #26: kglobalstatictest ........................   Passed    0.02 sec
     Start 27: kmimetypetest
27/38 Test #27: kmimetypetest ............................***Failed    1.21 sec
kf.coreaddons.kaboutdata: Could not initialize the equivalent
properties of Q*Application: no instance (yet) existing.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to
'/tmp/guix-build-kdelibs4support-5.114.0.drv-0/runtime-nixbld'
********* Start testing of KMimeTypeTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10
(x86_64-little_endian-lp64 shared (dynamic) release build; by GCC
11.3.0), unknown unkno
wn
kbuildsycoca5 running...
PASS   : KMimeTypeTest::initTestCase()
FAIL!  : KMimeTypeTest::testByName() Compared values are not the same
  Actual   (s0->comment())                        : "Empty document"
  Expected (QString::fromLatin1("empty document")): "empty document"
  Loc: [/tmp/guix-build-kdelibs4support-5.114.0.drv-0/kdelibs4support-5.114.0/autotests/kmimetypetest.cpp(182)]
PASS   : KMimeTypeTest::testIcons()
PASS   : KMimeTypeTest::testFindByUrl()
PASS   : KMimeTypeTest::testFindByPathUsingFileName(text)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(case-insensitive search)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(case-insensitive
match on a non-lowercase glob)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(case-sensitive
uppercase match)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(case-sensitive
lowercase match)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(case-sensitive
long-extension match)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(case-sensitive-only match)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(case-sensitive-only match)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(desktop file)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(old kdelnk file is
x-desktop too)
FAIL!  : KMimeTypeTest::testFindByPathUsingFileName(double-extension
file) Compared values are not the same
  Actual   (mime->name())    : "application/x-bzip2-compressed-tar"
  Expected (expectedMimeType): "application/x-bzip-compressed-tar"
  Loc: [/tmp/guix-build-kdelibs4support-5.114.0.drv-0/kdelibs4support-5.114.0/autotests/kmimetypetest.cpp(284)]
FAIL!  : KMimeTypeTest::testFindByPathUsingFileName(single-extension
file) Compared values are not the same
  Actual   (mime->name())    : "application/x-bzip2"
  Expected (expectedMimeType): "application/x-bzip"
  Loc: [/tmp/guix-build-kdelibs4support-5.114.0.drv-0/kdelibs4support-5.114.0/autotests/kmimetypetest.cpp(284)]
PASS   : KMimeTypeTest::testFindByPathUsingFileName(.doc should assume msword)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(glob that uses [] syntax, 1)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(glob that uses [] syntax, 2)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(glob that ends
with *, no extension)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(glob that ends
with *, extension)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(glob that ends
with *, also matches *.txt. Higher weight wins.)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(glob that ends
with *, also matches *.nfo. Higher weight wins.)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(glob that ends
with *, also matches *.pdf. *.pdf has higher weight)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(directory)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(doesn't exist, no extension)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(doesn't exist but
has known extension)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(png image)
PASS   : KMimeTypeTest::testFindByPathUsingFileName(executable)
PASS   : KMimeTypeTest::testAdditionalGlobs(one star, match)
PASS   : KMimeTypeTest::testAdditionalGlobs(README*, match)
PASS   : KMimeTypeTest::testAdditionalGlobs(README.*, match)
PASS   : KMimeTypeTest::testAdditionalGlobs(README.*, no match)
PASS   : KMimeTypeTest::testAdditionalGlobs(two stars, match)
PASS   : KMimeTypeTest::testAdditionalGlobs(two stars, no match)
PASS   : KMimeTypeTest::testFindByPathWithContent()
PASS   : KMimeTypeTest::testFindByNameAndContent()
PASS   : KMimeTypeTest::testFindByContent(simple text)
PASS   : KMimeTypeTest::testFindByContent(html: <html>)
PASS   : KMimeTypeTest::testFindByContent(html: comment+<html>)
PASS   : KMimeTypeTest::testFindByContent(html: <script>)
PASS   : KMimeTypeTest::testFindByContent(pdf)
PASS   : KMimeTypeTest::testFindByContent(no mimetype known)
PASS   : KMimeTypeTest::testFindByContent(msword)
PASS   : KMimeTypeTest::testFindByFileContent()
PASS   : KMimeTypeTest::testAllMimeTypes()
PASS   : KMimeTypeTest::testAlias()
PASS   : KMimeTypeTest::testMimeTypeParent()
PASS   : KMimeTypeTest::testMimeTypeInheritancePerformance()
RESULT : KMimeTypeTest::testMimeTypeInheritancePerformance():
    0.055 msecs per iteration (total: 57, iterations: 1024)
PASS   : KMimeTypeTest::testMimeTypeTraderForTextPlain()
PASS   : KMimeTypeTest::testMimeTypeTraderForDerivedMimeType()
PASS   : KMimeTypeTest::testMimeTypeTraderForAlias()
QDEBUG : KMimeTypeTest::testPreferredService()
"/tmp/guix-build-kdelibs4support-5.114.0.drv-0/build/.kde-unit-test/xdg/local/applications
/fake_textplain_application.desktop"
PASS   : KMimeTypeTest::testPreferredService()
PASS   : KMimeTypeTest::testHasServiceType1()
PASS   : KMimeTypeTest::testHasServiceType2()
PASS   : KMimeTypeTest::testPatterns(mimetype with a single pattern)
PASS   : KMimeTypeTest::testPatterns(mimetype with multiple patterns)
PASS   : KMimeTypeTest::testPatterns(mimetype with many patterns)
PASS   : KMimeTypeTest::testPatterns(oasis text mimetype)
PASS   : KMimeTypeTest::testPatterns(oasis presentation mimetype)
PASS   : KMimeTypeTest::testPatterns(mimetype with multiple patterns)
PASS   : KMimeTypeTest::testPatterns(mimetype with uncommon pattern)
PASS   : KMimeTypeTest::testPatterns(mimetype with no patterns)
PASS   : KMimeTypeTest::testExtractKnownExtension(simple extension)
PASS   : KMimeTypeTest::testExtractKnownExtension(filename has two
extensions, last one matches)
PASS   : KMimeTypeTest::testExtractKnownExtension(filename has two
extensions, pattern for both exist)
PASS   : KMimeTypeTest::testExtractKnownExtension(bz2 alone works too)
PASS   : KMimeTypeTest::testSortByComment()
RESULT : KMimeTypeTest::testSortByComment():
    224 msecs per iteration (total: 224, iterations: 1)
PASS   : KMimeTypeTest::testFromThread()
QDEBUG : KMimeTypeTest::testThreads()
"/tmp/guix-build-kdelibs4support-5.114.0.drv-0/build/.kde-unit-test/xdg/local/applications/fake_tex
tplain_application.desktop"
PASS   : KMimeTypeTest::testThreads()
PASS   : KMimeTypeTest::testProperties()
PASS   : KMimeTypeTest::testIsNull()
PASS   : KMimeTypeTest::cleanupTestCase()
Totals: 70 passed, 3 failed, 0 skipped, 0 blacklisted, 1180ms
********* Finished testing of KMimeTypeTest *********

     Start 28: kmimetype_nomimetypes
28/38 Test #28: kmimetype_nomimetypes ....................   Passed    0.08 sec
     Start 29: kasciitest
29/38 Test #29: kasciitest ...............................   Passed    0.02 sec
     Start 30: kglobaltest
30/38 Test #30: kglobaltest ..............................   Passed    0.05 sec
     Start 31: klockfiletest
31/38 Test #31: klockfiletest ............................   Passed    4.63 sec
     Start 32: kurltest
32/38 Test #32: kurltest .................................   Passed    0.04 sec
     Start 33: kfilemetainfotest
33/38 Test #33: kfilemetainfotest ........................   Passed    0.04 sec
     Start 34: kglobalsettingstest
34/38 Test #34: kglobalsettingstest ......................   Passed    0.15 sec
     Start 35: ksharedptrtest
35/38 Test #35: ksharedptrtest ...........................   Passed    0.04 sec
     Start 36: naturalcomparetest
36/38 Test #36: naturalcomparetest .......................   Passed    0.04 sec
     Start 37: kdelibs4support-klocaletest
37/38 Test #37: kdelibs4support-klocaletest ..............   Passed    0.05 sec
     Start 38: kdelibs4support-kdatetimeformattertest
38/38 Test #38: kdelibs4support-kdatetimeformattertest ...   Passed    0.04 sec

97% tests passed, 1 tests failed out of 38

Total Test time (real) =  19.88 sec

The following tests FAILED:
        27 - kmimetypetest (Failed)
Errors while running CTest
error: in phase 'check-post-install': uncaught exception:
%exception #<&invoke-error program: "dbus-launch" arguments: ("ctest"
"-E" "kstandarddirstest") exit-status: 8 term-signal: #f stop-signa
l: #f>
phase `check-post-install' failed after 19.9 seconds
command "dbus-launch" "ctest" "-E" "kstandarddirstest" failed with status 8
builder for `/gnu/store/kqhdrw67vf5d3wssmha3i0biwkl2djah-kdelibs4support-5.114.0.drv'
failed with exit code 1
build of /gnu/store/kqhdrw67vf5d3wssmha3i0biwkl2djah-kdelibs4support-5.114.0.drv
failed
View build log at
'/var/log/guix/drvs/kq/hdrw67vf5d3wssmha3i0biwkl2djah-kdelibs4support-5.114.0.drv.gz'.
guix build: error: build of
`/gnu/store/kqhdrw67vf5d3wssmha3i0biwkl2djah-kdelibs4support-5.114.0.drv'
failed