[DRE-maint] Bug#836296: ruby-dbus: could use dbus-run-session instead of reinventing it

Martin Vidner martin at vidner.net
Tue Sep 13 13:54:25 UTC 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160913/b9736d3e/attachment.html>


More information about the Pkg-ruby-extras-maintainers mailing list