Package: vala Version: 0.7.2 Severity: normal One of the tests fail at build-time. This is because there is a missing build dependency on dbus-x11. I've built it with this specified as a build-dependency and the test no longer fails.
This is the error from your build log:
script: line 2: dbus-launch: command not found
client.vala:8.13-8.47: warning: unhandled error `DBus.Error'
var conn = DBus.Bus.get (DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 1 warning(s)
server.vala:28.13-28.47: warning: unhandled error `DBus.Error'
var conn = DBus.Bus.get (DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:32.29-32.75: warning: unhandled error `GLib.Error'
uint request_name_result = bus.request_name ("org.example.Test", (uint)
0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:40.3-40.100: warning: unhandled error `GLib.SpawnError'
Process.spawn_async (null, { "client" }, null,
SpawnFlags.DO_NOT_REAP_CHILD, null, out client_pid);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:3.5-3.23: warning: method `Test.test_int' never used
public int test_int (int i, out int j) {
^^^^^^^^^^^^^^^^^^^
server.vala:9.5-9.29: warning: method `Test.test_string' never used
public string test_string (string s, out string t) {
^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 5 warning(s)
process 14807: D-Bus library appears to be incorrectly set up; failed to read
machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or
directory
See the manual page for dbus-uuidgen to correct this issue.
** CRITICAL **: file server.c: line 301: uncaught error: Failed to execute
dbus-launch to autolaunch D-Bus session
aborting...
script: line 8: 14807 Aborted ./server
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill
-l [sigspec]
FAIL: dbus/basic-types.test
make[4]: *** [check-TESTS] Error 1============================
1 of 27 tests failed
signature.asc
Description: This is a digitally signed message part

