tests fail when building with fakeroot

Bug #1246842 reported by Alistair Buxton on 2013-10-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libdbusmenu (Ubuntu)
Undecided
Unassigned

Bug Description

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

The json test does not eventually die like the others, instead it just hangs forever (over 2.5 hours now.) The log files contains:

DBus daemon: unix:abstract=/tmp/dbus-Irf6GdrlbB,guid=fc747bdf7ec70802e385b3625272912d
Server: Started with PID: 27081

** (process:27081): ERROR **: Unable to get name 'org.dbusmenu.test' on DBus
Server: Exited with status 133

description: updated
tags: added: ftbds
tags: added: ftbfs
removed: ftbds
summary: - libdbusmenu fails to build from source because of test failures
+ tests fail when building with fakeroot
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers