Public bug reported:

core::dbus::testing::Fixture requires dbus-daemon to be available but
libdbus-cpp-dev does not depend on it. When trying to run a test under
CI without dbus-daemon the following exception is thrown:

C++ exception with description "Session: Could not read address of bus
instance." thrown in the test fixture's constructor.

either
A) libdbus-cpp-dev must depend on package dbus as the Fixture needs it
or 
B) the Fixture should check that dbus-daemon is available and print error 
message stating that no such command to make it obvious that the package using 
the Fixture needs to pull it it explicitly. Maybe it would be good idea to 
print the exact error coming from the system when Fixture tries to execute the 
command. That would clearly state "dbus-daemon: command not found"

** Affects: dbus-cpp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to dbus-cpp in Ubuntu.
https://bugs.launchpad.net/bugs/1272191

Title:
  libdbus-cpp-dev does not depend on dbus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus-cpp/+bug/1272191/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to