dbus package installs debug dbus-daemon binary
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
D-Bus |
Won't Fix
|
Medium
|
|||
dbus (Ubuntu) |
Fix Released
|
Medium
|
Barry Warsaw |
Bug Description
The dbus-daemon binary installed to /bin from the dbus package appears to be the debug version with all of the DBUS_BUILD_TESTS sections enabled. (Probably likewise for the other binaries, but I only noticed dbus-daemon because of https:/
Looking at, for instance, https:/
Making install in bus
make[3]: Entering directory `/build/
make[4]: Entering directory `/build/
test -z "//bin" || /bin/mkdir -p "/build/
test -z "//bin" || /bin/mkdir -p "/build/
test -z "/usr/lib/dbus-1.0" || /bin/mkdir -p "/build/
/bin/bash ../libtool --mode=install /usr/bin/install -c dbus-daemon '/build/
/bin/bash ../libtool --mode=install /usr/bin/install -c dbus-daemon-
libtool: install: /usr/bin/install -c dbus-daemon /build/
and then later overwrites it with the debug binary:
Making install-exec in bus
make[3]: Entering directory `/build/
test -z "//bin" || /bin/mkdir -p "/build/
test -z "//bin" || /bin/mkdir -p "/build/
/bin/bash ../libtool --mode=install /usr/bin/install -c dbus-daemon '/build/
libtool: install: /usr/bin/install -c dbus-daemon /build/
test -z "/usr/lib/
/bin/bash ../libtool --mode=install /usr/bin/install -c dbus-daemon-
I think this can be fixed by moving --exec-prefix=/ in debian/rules from the common_
Rebuilding with this change (although I also added the binary install target to debian/
Related branches
description: | updated |
Changed in dbus (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Barry Warsaw (barry) |
milestone: | none → precise-alpha-2 |
Changed in dbus: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in dbus: | |
status: | Confirmed → Won't Fix |
Using current git head on Ubuntu 11.10 and Python 2.7, none of test-client.py actually passes when you do a 'make check'. They all produce errors like this:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= _.TestDBusBindi ngs) ------- ------- ------- ------- ------- ------- ------- ------- ------- barry/projects/ ubuntu/ pydbus/ upstream/ test/test- client. py", line 73, in setUp remote_ object = self.bus. get_object( NAME, OBJECT) barry/projects/ ubuntu/ pydbus/ upstream/ dbus/bus. py", line 244, in get_object name_owner_ changes= follow_ name_owner_ changes) barry/projects/ ubuntu/ pydbus/ upstream/ dbus/proxies. py", line 246, in __init__ _named_ service = conn.activate_ name_owner( bus_name) barry/projects/ ubuntu/ pydbus/ upstream/ dbus/bus. py", line 183, in activate_name_owner start_service_ by_name( bus_name) barry/projects/ ubuntu/ pydbus/ upstream/ dbus/bus. py", line 281, in start_service_ by_name barry/projects/ ubuntu/ pydbus/ upstream/ dbus/connection .py", line 630, in call_blocking .DBus.Error. Spawn.ChildSign aled: Process /bin/bash received signal 6
ERROR: testAsyncCalls (__main_
-------
Traceback (most recent call last):
File "/home/
self.
File "/home/
follow_
File "/home/
self.
File "/home/
self.
File "/home/
'su', (bus_name, flags)))
File "/home/
message, timeout)
DBusException: org.freedesktop
I'm still investigating, but I wonder if 'make check' succeeds for you, or whether it's even supposed to!