FreeBSD patch
Benedikt Meurer
benny@xfce.org
Sat, 14 Feb 2004 12:55:17 +0100
anthony taranto wrote:
>
> i applied this, compiled, ran make check, got the following error:
>
> ...
> ./bus-test: Running message dispatch test
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Failed to write data to pipe!
> Acquiring service
> Error Message did not receive a replyFailed to write data to pipe!
> check_no_messages_foreach:605 received message interface
> "org.freedesktop.DBus"
> member "ServiceDeleted" error name "(unset)" on 0x80bd980, expecting no
> messages
> Messages were left over after verifying existent activation results
> File "dispatch.c" line 2053 process 98475 should not have been reached:
> test fai
> led
> FAIL: bus-test
> ===================
> 1 of 1 tests failed
> ===================
Not sure, but this looks similar to the problem I had: Clients always reported
EPIPE, caused by the server side closing the connection, because the server
side expected to receive creds w/o having asked for it (the #ifdef's we're
broken in case of a system w/o LOCAL_CREDS but w/ HAVE_CMSGCRED).
I have not been able to get the tests running. Besides some other problems,
the test/glib/Makefile.am does not seem to work w/ automake-1.8, though the
file looks ok to me. Heres what automake tells me:
cd ../.. && /bin/sh /usr/home/bmeurer/src/xfce4/3rdparty/dbus/dbus/missing
--run automake-1.8 --gnu test/glib/Makefile
test/glib/Makefile.am:20: unused variable: `test_thread_server_SOURCES'
test/glib/Makefile.am:37: unused variable: `test_dbus_glib_SOURCES'
test/glib/Makefile.am:40: unused variable: `test_dbus_glib_LDADD'
test/glib/Makefile.am:45: unused variable: `test_service_glib_LDADD'
test/glib/Makefile.am:24: unused variable: `test_thread_server_LDADD'
test/glib/Makefile.am:42: unused variable: `test_service_glib_SOURCES'
test/glib/Makefile.am:26: unused variable: `test_thread_client_SOURCES'
test/glib/Makefile.am:30: unused variable: `test_thread_client_LDADD'
cd ../.. && /bin/sh ./config.status test/glib/Makefile depfiles
The Makefile contains the following lines after the automake run:
THREAD_APPS = test-thread-server test-thread-client test-profile
test_thread_server_SOURCES = \
test-thread-server.c \
test-thread.h
test_thread_server_LDADD = $(DBUS_GLIB_THREADS_LIBS)
$(top_builddir)/glib/libdbus-glib-1.la
test_thread_client_SOURCES = \
test-thread-client.c \
test-thread.h
... and so on. All rules are broken, except for the test-profile target which
is ok.
Any ideas?
Autotools versions:
automake (GNU automake) 1.8.2
autoconf (GNU Autoconf) 2.59
ltmain.sh (GNU libtool) 1.5 (1.1220.2.1 2003/04/14 22:48:00)
> -anthony
regards,
Benedikt
--
XFce -- small, stable, fast -- http://www.xfce.org/