[Bug 39183] dbus/account-channel-request test fails consistently on Ubuntu/oneiric

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 14 15:41:02 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39183

--- Comment #3 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-07-14 06:41:01 PDT ---
libtool: link: gcc -std=gnu99 -Wall -Wextra -Wdeclaration-after-statement
-Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare
-Wnested-externs -Wpointer-arith -Wformat-security -Winit-self
-Wno-missing-field-initializers -Wno-unused-parameter -g -O2
-Wl,-Bsymbolic-functions -Wl,-O1 -o .libs/test-account-channel-request
account-channel-request.o -pthread -pthread 
../../tests/lib/.libs/libtp-glib-tests.a
/build/buildd/telepathy-glib-0.15.4/telepathy-glib/.libs/libtelepathy-glib.so
../../telepathy-glib/.libs/libtelepathy-glib-internal.a -ldbus-glib-1 -ldbus-1
-lpthread /usr/lib/x86_64-linux-gnu/libgio-2.0.so
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so
/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so
/usr/lib/x86_64-linux-gnu/libgthread-2.0.so -lrt
/usr/lib/x86_64-linux-gnu/libglib-2.0.so -pthread

Notice that account-channel-request is being linked against the shared
libtelepathy-glib.la, and also the static libtelepathy-glib-internal.la with
the same contents. So yes, you really do have two TpDBusDaemon types, with
different addresses - kaboom.

If it's possible to avoid having any tests that link both
libtelepathy-glib-internal.la (to access _tp symbols) and libtp-glib-tests.la
(to access miscellaneous test goo), that would be a good solution.

If not, then libtp-glib-tests.la will have to become an incomplete library,
which requires anything linking libtp-glib-tests.la to also link either
libtelepathy-glib-internal.la or libtelepathy-glib.la. This makes me a bit sad, 

This might be an Ubuntu-specific problem because Ubuntu's build environment
seems to be using -Wl,-Bsymbolic-functions by default?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list