Hi!

I am the upstream maintainer of https://github.com/mvidner/ruby-dbus and
I've found this bug by accident (via a Twitter search)

The suggested fix works when I run the tests locally:
https://github.com/mvidner/ruby-dbus/compare/master...mvidner:use-dbus-run-session?expand=1

But not so in build environments.

>    Unlike dbus-launch, dbus-run-session is better-designed for the use
>    case of wrapping a regression test, and does not have an X11
dependency;
>    distributions are expected to ship it in the same package as
>    dbus-daemon.

Unfortunately that seems not to be the case. Travis on Ubuntu Trusty fails:
https://travis-ci.org/mvidner/ruby-dbus/builds/159596244
and also openSUSE-42.1 is still packaging dbus-run-session in the X11
subpackage:
$ rpm -qf /usr/bin/dbus-run-session
dbus-1-x11-1.8.16-7.1.x86_64

I think I will need to find a way to install dbus-run-session in the Travis
environment, and get the openSUSE package fixed.

Reply via email to