Source: qcoro
Version: 0.12.0-2
Severity: normal
User: [email protected]
Usertags: dbus-launch dbus-launch-for-tests
This package build-depends on dbus-x11, and seems to be relying on X11
autolaunching to get a D-Bus session bus for its build-time tests: it
does not seem to explicitly invoke dbus-launch or dbus-run-session.
D-Bus X11 autolaunching is a poorly-understood legacy code path which
should be avoided where possible. Instead, please build-depend on
dbus-daemon and invoke a temporary D-Bus session bus explicitly, more
like this (untested):
override_dh_auto_test:
dbus-run-session -- xvfb-run -a dh_auto_test --no-parallel
sleep 2 # we need to wait for the Xserver to shutdown
dbus-run-session -- xvfb-run -a dh_auto_test --no-parallel
--builddirectory=build-Qt6
This only requires a B-D on dbus-daemon <!nocheck>, which is a smaller
dependency than dbus-x11 and contains more robust code.
Thanks,
smcv
_______________________________________________
pkg-kde-extras mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-kde-extras