tests fail when building with fakeroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libdbusmenu (Ubuntu) |
New
|
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/
PASS: test-glib-
FAIL: test-glib-events
FAIL: test-glib-
FAIL: test-glib-layout
FAIL: test-glib-
FAIL: test-glib-proxy
PASS: test-glib-
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=
Client: Started with PID: 27013
Server: Started with PID: 27014
(process:27013): LIBDBUSMENU-
** (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=
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 |