Hi, I am trying to compile vala-0.10 on mac 10.6 (snow leopard).
valac itself compiles and seems work fine, but 'make test' is failing: 1) One of the failures is "xargs no such argument -r" comes from tests/testrunner.sh line if $VALAC $VALAFLAGS -o test$EXEEXT $(echo $PACKAGES | xargs -n 1 -r echo -n " --pkg") main.vala &>log; then Indeed, according to http://unixhelp.ed.ac.uk/CGI/man-cgi?xargs argument "-r" is a GNU extension and FreeBSD/Mac does not have it. If we just remove this option most of the tests are green, except... 2) Except 6 dbus tests that fail with following message: ** CRITICAL **: file /Users/anatol/sources/vala/tests/_test/main.c: line 20160: uncaught error: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id: Failed to open file '/var/lib/dbus/machine-id': No such file or directory (g-file-error-quark, 4) aborting... dbus.async.server.check: line 4: 98103 Trace/BPT trap ./test /dbus/async/server kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] /dbus/signals/server: FAIL Failed to start message bus: launchd's environment variable DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty, but should contain a socket path. EOF in dbus-launch reading address from bus daemon I am not sure where it comes from, but there is no such file /var/lib/dbus/machine-id on my computer, I have /opt/local/var/lib/dbus/machine-id though. $ sudo ls -l /opt/local/var/lib/dbus/machine-id -rw-r--r-- 2 root admin 33 Sep 18 07:03 /opt/local/var/lib/dbus/machine-id
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
