After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703450 - Telepathy backend gir fails to link
Telepathy backend gir fails to link
Status: RESOLVED FIXED
Product: folks
Classification: Platform
Component: Telepathy backend
git master
Other Linux
: Normal normal
: Unset
Assigned To: folks-maint
folks-maint
Depends on:
Blocks:
 
 
Reported: 2013-07-02 09:51 UTC by Emilio Pozuelo Monfort
Modified: 2013-07-02 16:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
telepathy: link the gir against libfolks (1.12 KB, patch)
2013-07-02 09:52 UTC, Emilio Pozuelo Monfort
none Details | Review

Description Emilio Pozuelo Monfort 2013-07-02 09:51:20 UTC
Building folks from git I got:

  CCLD     libfolks-telepathy.la
  GISCAN FolksTelepathy-0.6.gir
./.libs/libfolks-telepathy.so: undefined reference to `folks_presence_details_set_client_types'
./.libs/libfolks-telepathy.so: undefined reference to `folks_presence_details_get_client_types'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash', '../../../libtool', '--mode=link', '--tag=CC', '--silent', 'colorgcc', '-o', '/home/emilio/src/gnome/folks/backends/telepathy/lib/tmp-introspectFn1RSw/FolksTelepathy-0.6', '-export-dynamic', '-g', '-O2', '-gdwarf-2', '-Wall', '-L/opt/gnome3.8/lib64', '-L/opt/gnome3.8/lib64', '/home/emilio/src/gnome/folks/backends/telepathy/lib/tmp-introspectFn1RSw/FolksTelepathy-0.6.o', '-L.', 'libfolks-telepathy.la', '-Wl,--export-dynamic', '-pthread', '-L/opt/gnome3.8/lib64', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lglib-2.0']' returned non-zero exit status 1
make[4]: *** [FolksTelepathy-0.6.gir] Error 1
Comment 1 Emilio Pozuelo Monfort 2013-07-02 09:52:03 UTC
Created attachment 248209 [details] [review]
telepathy: link the gir against libfolks
Comment 2 Travis Reitter 2013-07-02 16:35:50 UTC
Thanks! I've generalized this to include the other support libraries. I didn't hit this bug or the same bug with those backends, but they should have the same requirement here.

commit 754c4c17d10d6b5dc07412f6f6749fb3b44944fc
Author: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Date:   Tue Jul 2 11:50:41 2013 +0200

    Link the support library GIRs against libfolks
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=703450

 NEWS                                  | 1 +
 backends/eds/lib/Makefile.am          | 5 ++++-
 backends/libsocialweb/lib/Makefile.am | 5 ++++-
 backends/telepathy/lib/Makefile.am    | 4 +++-
 backends/tracker/lib/Makefile.am      | 5 ++++-
 5 files changed, 16 insertions(+), 4 deletions(-)