Created attachment 53349 [details] [review] Introspect libtelepathy-glib itself, not the libtool archive. With the git master version (and --enable-introspection), I hit this build error: g-ir-scanner: link: /bin/bash ../libtool --mode=link --tag=CC gcc -o /home/treitter/collabora/telepathy-glib/telepathy-glib/tmp-introspecthRN79o/TelepathyGLib-0.12 -export-dynamic -L. libtelepathy-glib.la -pthread -L/opt/gnome/lib64 -lgthread-2.0 -lgio-2.0 -lgmodule-2.0 -ldbus-glib-1 -ldbus-1 -lpthread -lrt -lgobject-2.0 -lglib-2.0 /home/treitter/collabora/telepathy-glib/telepathy-glib/tmp-introspecthRN79o/TelepathyGLib-0.12.o libtool: link: cannot find the library `libtelepathy-glib.la' or unhandled argument `libtelepathy-glib.la' linking of temporary binary failed: Command '['/bin/bash', '../libtool', '--mode=link', '--tag=CC', 'gcc', '-o', '/home/treitter/collabora/telepathy-glib/telepathy-glib/tmp-introspecthRN79o/TelepathyGLib-0.12', '-export-dynamic', '-L.', 'libtelepathy-glib.la', '-pthread', '-L/opt/gnome/lib64', '-lgthread-2.0', '-lgio-2.0', '-lgmodule-2.0', '-ldbus-glib-1', '-ldbus-1', '-lpthread', '-lrt', '-lgobject-2.0', '-lglib-2.0', '/home/treitter/collabora/telepathy-glib/telepathy-glib/tmp-introspecthRN79o/TelepathyGLib-0.12.o']' returned non-zero exit status 1 make[3]: *** [TelepathyGLib-0.12.gir] Error 1
Linking with libtool ought to link via a .la successfully: is there perhaps a missing dependency so introspection is attempted before libtelepathy-glib.la has been created? Or if the .la is really the problem, are you sure you mean telepathy-glib and not -ltelepathy-glib in LIBS? (The problem with using -ltelepathy-glib while in-tree is that depending on the library search path, you could end up trying to link to an installed libtelepathy-glib.so from /usr/lib or /opt/gnome/lib64 or wherever - the -L. as first search path entry should fix that, but still...)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/78.
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.