Running make check for the glib bindings fails on non-linux platforms, because in test/core/peer-client.c it explicitly requests an abstract socket - conn = dbus_g_connection_open ("unix:abstract=/tmp/dbus-glib-peer.sock", &error);
I guess this is a deeper problem, when I change the socket path from abstract to a path, the tests still fail on platforms without abstract sockets (and on linux if I configure dbus with --disable-abstract-sockets). Is this simply a problem with the tests, or can we look forward to dbus-glib not working on non-linux systems?
dbus-glib doesn't require abstract sockets. If you change the path in both of the peer tests, it should work. If it doesn't, please attach a log.
Created attachment 11067 [details] gmake check output Is there a better log that I can attach, this does not seem to be verbose enough for any kind of diagnosis. Steps, on i686 red hat enterprise linux 3: configure and install dbus with --disable-abstract-sockets. configure dbus-glib-0.74 with --disable-abstract-sockets, and remove the abstract from the test cases. gmake && gmake check
commit a94e11973467e1b2cc43ba1e77b7413655b1dff7 Author: Colin Walters <walters@verbum.org> Date: Wed May 28 00:25:57 2008 -0400 Bug 11671: Don't use well known name in /tmp This as a side effect fixes the test suite on Solaris.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.