libdbus-cpp-dev does not depend on dbus

Bug #1272191 reported by Antti Kaijanmäki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus-cpp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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"

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dbus-cpp - 2.0.0+14.04.20140310-0ubuntu1

---------------
dbus-cpp (2.0.0+14.04.20140310-0ubuntu1) trusty; urgency=medium

  [ Pete Woods ]
  * Change the way signals register match rules -> ABI version bump
  * Mark symbols that only appear when built under Jenkins as optional.

  [ Ubuntu daily release ]
  * debian/*symbols: auto-update new symbols to released version
  * New rebuild forced

  [ thomas-voss ]
  * Make sure that signals call about_to_be_destroyed. Make
    core::dbus::Signal report that it is about to be destructed. Add a
    thread-safe lifetime constrained object cache & accompanying tests.
  * Add dbus as runtime dependency for libdbus-cpp-dev. (LP: #1272191)
  * Don't exit on dbus connection close.
  * Remove local versions of cross-process-sync and fork-and-run.
  * Switch to release build type for production builds.
  * Small adjustments to the symbols file.
  * Try to create symbols files for each architecture, not caring for
    too much redundancy. It's really hard to maintain those otherwise.
  * Add a test for racyness and provide an alternative to _and_block.

  [ Antti Kaijanmäki ]
  * Fix stack corruption in core::dbus::Message::pop_boolean().
  * Fix Signal::emit().
  * Fix deadlock in MessageRouter.

  [ Łukasz 'sil2100' Zemczak ]
  * Try to create symbols files for each architecture, not caring for
    too much redundancy. It's really hard to maintain those otherwise.
 -- Ubuntu daily release <email address hidden> Mon, 10 Mar 2014 09:20:09 +0000

Changed in dbus-cpp (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.