The attached patch gets past the compilation problems, but the test suite still fails:
TEST: test-vala... (pid=6684) /Unit/ResultsSynchronizer: OK /Unit/IO/AsyncDesktopFile: OK /Unit/IO/AsyncOpenFromDataDirs: OK /Unit/Utils/AsyncOnce: OK /Unit/Utils/AsyncMutex: OK /Unit/AppInfoManager/Allocation: OK /Unit/AppInfoManager/ClearEmpty: OK /Unit/AppInfoManager/SyncLookupMissing: OK /Unit/AppInfoManager/AsyncLookupMissing: OK /Unit/AppInfoManager/SyncLookupOk: OK /Unit/AppInfoManager/AsyncLookupOk: OK /Unit/Launcher/EmptyEntry: (test-vala:6684): libunity-CRITICAL **: unity-launcher.vala:154: Unable to connect to session bus: Could not connect: Connection refused FAIL GTester: last random seed: R02Se7d86e8456c1108c7728e8e5ac335f5b /bin/bash: line 1: 6683 Terminated G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) gtester --verbose test-vala test-scope test-blacklist-crash test-extras Makefile:1020: recipe for target 'test-nonrecursive' failed make[6]: *** [test-nonrecursive] Error 143 make[6]: Leaving directory '/«BUILDDIR»/libunity-7.1.4+14.10.20140808/test/vala' make[5]: *** [test-headless] Error 2 Makefile:1069: recipe for target 'test-headless' failed make[5]: Leaving directory '/«BUILDDIR»/libunity-7.1.4+14.10.20140808/test/vala' make[4]: *** [check-am] Error 2 Makefile:880: recipe for target 'check-am' failed make[4]: Leaving directory '/«BUILDDIR»/libunity-7.1.4+14.10.20140808/test/vala' make[3]: *** [check] Error 2 Makefile:883: recipe for target 'check' failed make[3]: Leaving directory '/«BUILDDIR»/libunity-7.1.4+14.10.20140808/test/vala' make[2]: *** [check-recursive] Error 1 Makefile:452: recipe for target 'check-recursive' failed make[2]: Leaving directory '/«BUILDDIR»/libunity-7.1.4+14.10.20140808/test' make[1]: *** [check-recursive] Error 1 Makefile:570: recipe for target 'check-recursive' failed make[1]: Leaving directory '/«BUILDDIR»/libunity-7.1.4+14.10.20140808' dh_auto_test: make -j1 check returned exit code 2 make: *** [build] Error 2 debian/rules:10: recipe for target 'build' failed dpkg-buildpackage: error: debian/rules build gave error exit status 2
The attached patch gets past the compilation problems, but the test suite still fails:
TEST: test-vala... (pid=6684) ResultsSynchron izer: OK IO/AsyncDesktop File: OK IO/AsyncOpenFro mDataDirs: OK Utils/AsyncOnce : OK Utils/AsyncMute x: OK AppInfoManager/ Allocation: OK AppInfoManager/ ClearEmpty: OK AppInfoManager/ SyncLookupMissi ng: OK AppInfoManager/ AsyncLookupMiss ing: OK AppInfoManager/ SyncLookupOk: OK AppInfoManager/ AsyncLookupOk: OK Launcher/ EmptyEntry: vala:154: Unable to connect to session bus: Could not connect: Connection refused 1108c7728e8e5ac 335f5b PERTURB_ =$((${RANDOM: -256} % 256)) gtester --verbose test-vala test-scope test-blacklist- crash test-extras /libunity- 7.1.4+14. 10.20140808/ test/vala' /libunity- 7.1.4+14. 10.20140808/ test/vala' /libunity- 7.1.4+14. 10.20140808/ test/vala' /libunity- 7.1.4+14. 10.20140808/ test/vala' /libunity- 7.1.4+14. 10.20140808/ test' /libunity- 7.1.4+14. 10.20140808'
/Unit/
/Unit/
/Unit/
/Unit/
/Unit/
/Unit/
/Unit/
/Unit/
/Unit/
/Unit/
/Unit/
/Unit/
(test-vala:6684): libunity-CRITICAL **: unity-launcher.
FAIL
GTester: last random seed: R02Se7d86e8456c
/bin/bash: line 1: 6683 Terminated G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_
Makefile:1020: recipe for target 'test-nonrecursive' failed
make[6]: *** [test-nonrecursive] Error 143
make[6]: Leaving directory '/«BUILDDIR»
make[5]: *** [test-headless] Error 2
Makefile:1069: recipe for target 'test-headless' failed
make[5]: Leaving directory '/«BUILDDIR»
make[4]: *** [check-am] Error 2
Makefile:880: recipe for target 'check-am' failed
make[4]: Leaving directory '/«BUILDDIR»
make[3]: *** [check] Error 2
Makefile:883: recipe for target 'check' failed
make[3]: Leaving directory '/«BUILDDIR»
make[2]: *** [check-recursive] Error 1
Makefile:452: recipe for target 'check-recursive' failed
make[2]: Leaving directory '/«BUILDDIR»
make[1]: *** [check-recursive] Error 1
Makefile:570: recipe for target 'check-recursive' failed
make[1]: Leaving directory '/«BUILDDIR»
dh_auto_test: make -j1 check returned exit code 2
make: *** [build] Error 2
debian/rules:10: recipe for target 'build' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2