Packaging for Void Linux: Tests failure
I am packaging KDE PIM addons for the Void Linux distribution. The program itself works correctly, I am using it now. However the tests are failing and it would be preferable that they run in CI. It seems that QT_QPA_PLATFORM=offscreen
is enough to make QT happy but some tests also complains about DBus missing.
Example output:
Start 156: akonadi-sqlite-gravatarupdatewidgettest
156/163 Test #156: akonadi-sqlite-gravatarupdatewidgettest ............................***Failed 0.06 sec
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-louis'
org.kde.pim.akonaditest: Started akonadi daemon with pid: 30309
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/aktestrunner-30307/tmp/runtime-louis'
kf.crash: Could not find drkonqi in search paths: ("/usr/bin", "/usr/lib/qt5/libexec", "/usr/lib64/libexec")
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/aktestrunner-30307/tmp/runtime-louis'
org.kde.pim.akonadicontrol: Session bus not found. Is DBus running?
org.kde.pim.akonaditest: Akonadi server process was terminated externally!
org.kde.pim.akonaditest: Test finished with exist code 1
Please have a look at the issue: https://github.com/void-linux/void-packages/pull/30798