Comment 0 for bug 1246842

Revision history for this message
Alistair Buxton (a-j-buxton) wrote : libdbusmenu fails to build from source because of test failures

To reproduce:

sudo apt-get build-dep libdbusmenu
apt-get source libdbusmenu
cd libdbusmenu*
fakeroot dpkg-buildpackage

Result: nearly all of the tests fail to run properly:

make[5]: Entering directory `/home/al/Source/test/libdbusmenu-12.10.3+13.10.20130913/builddir/gtk2/tests'
PASS: test-glib-objects-test
FAIL: test-glib-events
FAIL: test-glib-events-nogroup
FAIL: test-glib-layout
FAIL: test-glib-properties
FAIL: test-glib-proxy
PASS: test-glib-simple-items
FAIL: test-glib-submenu

Each test hangs for about 10 minutes before failing.

All of the error logs are the same:

DBus daemon: unix:abstract=/tmp/dbus-AwSfBXRDlN,guid=c42d750fb322fd07af809069527290f0
Client: Started with PID: 27013
Server: Started with PID: 27014

(process:27013): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Error sending credentials: Error sending message: Operation not permitted

** (process:27014): ERROR **: Unable to get name 'org.dbusmenu.test' on DBus
Server: Exited with status 133
Client: ** (process:27013): DEBUG: Death timer. Oops. Got to: 0
Client: ** (process:27013): DEBUG: Quiting as we're a failure
Client: Exited with status 256
Client: Shutting down
Server: Shutting down
DBus daemon: Shutdown