[Pkg-kde-extras] Bug#1117104: qcoro: Build-Depends on dbus-x11 (dbus-launch) and relies on X11 autolaunching
Simon McVittie
smcv at debian.org
Fri Oct 3 01:39:22 BST 2025
Source: qcoro
Version: 0.12.0-2
Severity: normal
User: dbus at packages.debian.org
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
More information about the pkg-kde-extras
mailing list