Source: kf6-knotifications
Version: 6.18.0-1
Severity: normal
User: d...@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 the way kf6-kconfig does it:

override_dh_auto_test:
        xvfb-run -a dbus-run-session dh_auto_test

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

Reply via email to