[Bug 66330] fix FTBS ... missing dbus-glib-1 in configure.ac

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 28 09:21:58 PDT 2013


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

--- Comment #1 from Matej Cepl <mcepl at redhat.com> ---
Created attachment 81648
  --> https://bugs.freedesktop.org/attachment.cgi?id=81648&action=edit
suggested patch

The fixed error was 

make[3]: Entering directory
`/home/matej/archiv/knihovna/repos/telepathy-doc/docs/examples/glib_mc5_dbus_tube_handler'
  CC       example-handler.o
example-handler.c: In function ‘example_handler_handle_channels’:
example-handler.c:179:3: warning: ‘tp_connection_new’ is deprecated (declared
at /usr/include/telepathy-1.0/telepathy-glib/connection.h:144): Use
'tp_simple_client_factory_ensure_connection' instead
[-Wdeprecated-declarations]
   TpConnection *conn = tp_connection_new (bus, NULL, connection, &error);
   ^
example-handler.c:211:7: warning: ‘tp_channel_new_from_properties’ is
deprecated (declared at
/usr/include/telepathy-1.0/telepathy-glib/channel.h:87): Use
'tp_simple_client_factory_ensure_channel' instead [-Wdeprecated-declarations]
       TpChannel *chan = tp_channel_new_from_properties (conn, path, map,
       ^
example-handler.c:217:7: warning: ‘tp_channel_call_when_ready’ is deprecated
(declared at /usr/include/telepathy-1.0/telepathy-glib/channel.h:100): Use
'tp_proxy_prepare_async' instead [-Wdeprecated-declarations]
       tp_channel_call_when_ready (chan, tube_channel_ready, self);
       ^
  CC       example.o
example.c: In function ‘main’:
example.c:22:3: warning: ‘g_type_init’ is deprecated (declared at
/usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
   g_type_init ();
   ^
example.c:27:3: warning: ‘tp_get_bus’ is deprecated (declared at
/usr/include/telepathy-1.0/telepathy-glib/dbus.h:139)
[-Wdeprecated-declarations]
   DBusGConnection *dbus = tp_get_bus ();
   ^
  CCLD     example
/usr/bin/ld: example-handler.o: undefined reference to symbol
'dbus_g_method_return'
/usr/bin/ld: note: 'dbus_g_method_return' is defined in DSO
/lib64/libdbus-glib-1.so.2 so try adding it to the linker command line
/lib64/libdbus-glib-1.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [example] Error 1

-- 
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