Bug#358303: FTBFS: undefined reference to 'gpgme_get_protocol_name'
Martin Michlmayr
tbm at cyrius.com
Wed Mar 22 04:09:56 UTC 2006
Package: balsa
Version: 2.3.8-2
Severity: serious
Your package fails to build in unstable. Steve Langasek has some
comment:
04:07 <vorlon> that looks like a missing -l argument on the linker
line, as if one of its build-deps *used* to depend on libgpgme
04:08 <vorlon> yeah, balsa has a build-dep on libgpgme11-dev, but this
looks like an upstream makefile bug
04:09 <vorlon> i.e., it accidentally work before because a library
that *was* being linked against also linked against libgpgme, so ld
did some magic
...
> cc -g -Wall -O2 -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wuninitialized -Wmissing-prototypes -Wreturn-type -Wdeclaration-after-statement -D_FORTIFY_SOURCE=2 -o balsa address-book-config.o ab-window.o balsa-app.o balsa-bonobo.o balsa-icons.o balsa-index.o balsa-mblist.o balsa-message.o balsa-mime-widget.o balsa-mime-widget-callbacks.o balsa-mime-widget-crypto.o balsa-mime-widget-image.o balsa-mime-widget-message.o balsa-mime-widget-multipart.o balsa-mime-widget-text.o filter-edit-callbacks.o filter-edit-dialog.o filter-export-callbacks.o filter-export-dialog.o filter-run-callbacks.o filter-run-dialog.o folder-conf.o information-dialog.o mailbox-conf.o mailbox-node.o main-window.o main.o message-window.o pref-manager.o print.o quote-color.o save-restore.o sendmsg-window.o store-address.o toolbar-factory.o toolbar-prefs.o Balsa-common.o Balsa-skels.o Balsa-stubs.o -pthread -Wl,--export-dynamic -pthread -Wl,--export-dynamic -g -Wall -O2 ../libinit_balsa/libinit_balsa.a ../libbalsa/libbalsa.a ../libbalsa/imap/libimap.a -L/usr/X11R6/lib /usr/lib/libgmime-2.0.so -lnsl /usr/lib/libgtkhtml-3.8.so /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libgnomeprintui-2-2.so /usr/lib/libglade-2.0.so /usr/lib/libbonoboui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so /usr/lib/libgnomeprint-2-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libxml2.so -lz /usr/lib/libsqlite3.so -L/usr/lib -lpcreposix -lpcre -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err /usr/lib/libgtkspell.so /usr/lib/libaspell.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so -lXrandr -lXi -lXinerama -lXext /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so -lfontconfig /usr/lib/libXcursor.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libXrender.so -lX11 /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lldap -llber -lresolv -lpthread /usr/lib/libesmtp.so -lcompface
> main.o: In function `main':/build/tbm/balsa-2.3.8/src/main.c:547: undefined reference to `gpgme_check_version'
> :/build/tbm/balsa-2.3.8/src/main.c:549: undefined reference to `gpgme_set_locale'
> :/build/tbm/balsa-2.3.8/src/main.c:550: undefined reference to `gpgme_set_locale'
> ../libbalsa/libbalsa.a(rfc3156.o): In function `libbalsa_gpgme_sig_stat_to_gchar':/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:1021: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:1021: undefined reference to `gpgme_strsource'
> ../libbalsa/libbalsa.a(rfc3156.o): In function `libbalsa_check_crypto_engine':/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:77: undefined reference to `gpgme_engine_check_version'
> :/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:81: undefined reference to `gpgme_get_engine_info'
> :/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:113: undefined reference to `gpgme_get_protocol_name'
> :/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:86: undefined reference to `gpgme_get_protocol_name'
> :/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:108: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:108: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:103: undefined reference to `gpgme_get_protocol_name'
> ../libbalsa/libbalsa.a(rfc3156.o): In function `select_key_from_list':/build/tbm/balsa-2.3.8/libbalsa/rfc3156.c:1388: undefined reference to `gpgme_get_protocol'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `g_mime_gpgme_context_new':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:755: undefined reference to `gpgme_new'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:775: undefined reference to `gpgme_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:757: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:757: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:783: undefined reference to `gpgme_set_protocol'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:783: undefined reference to `gpgme_set_protocol'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:766: undefined reference to `gpgme_release'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `g_mime_gpgme_context_class_init':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:145: undefined reference to `gpgme_engine_check_version'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:150: undefined reference to `gpgme_engine_check_version'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `g_mime_gpgme_hash_name':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:257: undefined reference to `gpgme_get_protocol'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `g_mime_gpgme_decrypt':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:684: undefined reference to `gpgme_get_protocol'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:692: undefined reference to `gpgme_set_passphrase_cb'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:698: undefined reference to `gpgme_data_new_from_cbs'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:707: undefined reference to `gpgme_data_new_from_cbs'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:718: undefined reference to `gpgme_op_decrypt_verify'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:729: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:730: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:695: undefined reference to `gpgme_set_passphrase_cb'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:689: undefined reference to `gpgme_set_passphrase_cb'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:702: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:702: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:710: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:710: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:726: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:722: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:722: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:725: undefined reference to `gpgme_data_release'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `release_keylist':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:1026: undefined reference to `gpgme_key_unref'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `get_key_from_name':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:858: undefined reference to `gpgme_op_keylist_start'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:867: undefined reference to `gpgme_op_keylist_next'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:891: undefined reference to `gpgme_op_keylist_end'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:913: undefined reference to `gpgme_key_ref'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:914: undefined reference to `gpgme_key_unref'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:883: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:883: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:886: undefined reference to `gpgme_op_keylist_end'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:887: undefined reference to `gpgme_key_unref'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:921: undefined reference to `gpgme_get_protocol'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:948: undefined reference to `gpgme_key_unref'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:861: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:861: undefined reference to `gpgme_strsource'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `gpgme_add_signer':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:977: undefined reference to `gpgme_signers_add'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:978: undefined reference to `gpgme_key_unref'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `g_mime_gpgme_context_finalize':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:176: undefined reference to `gpgme_release'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `g_mime_gpgme_encrypt':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:570: undefined reference to `gpgme_get_protocol'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:592: undefined reference to `gpgme_set_passphrase_cb'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:607: undefined reference to `gpgme_data_new_from_cbs'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:617: undefined reference to `gpgme_data_new_from_cbs'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:632: undefined reference to `gpgme_op_encrypt_sign'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:640: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:641: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:646: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:646: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:636: undefined reference to `gpgme_op_encrypt'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:604: undefined reference to `gpgme_set_armor'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:605: undefined reference to `gpgme_set_textmode'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:595: undefined reference to `gpgme_set_passphrase_cb'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:588: undefined reference to `gpgme_set_passphrase_cb'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:611: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:611: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:620: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:620: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:623: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:650: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:650: undefined reference to `gpgme_strsource'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `g_mime_gpgme_verify':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:479: undefined reference to `gpgme_get_protocol'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:482: undefined reference to `gpgme_data_new_from_cbs'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:493: undefined reference to `gpgme_data_new_from_cbs'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:505: undefined reference to `gpgme_op_verify'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:510: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:510: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:537: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:538: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:507: undefined reference to `gpgme_op_verify'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:485: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:485: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:496: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:496: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:499: undefined reference to `gpgme_data_release'
> ../libbalsa/libbalsa.a(gmime-gpgme-context.o): In function `g_mime_gpgme_sign':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:369: undefined reference to `gpgme_get_protocol'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:385: undefined reference to `gpgme_set_armor'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:393: undefined reference to `gpgme_set_passphrase_cb'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:399: undefined reference to `gpgme_data_new_from_cbs'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:408: undefined reference to `gpgme_data_new_from_cbs'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:417: undefined reference to `gpgme_op_sign'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:430: undefined reference to `gpgme_op_sign_result'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:433: undefined reference to `gpgme_hash_algo_name'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:443: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:444: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:438: undefined reference to `gpgme_hash_algo_name'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:396: undefined reference to `gpgme_set_passphrase_cb'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:390: undefined reference to `gpgme_set_passphrase_cb'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:403: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:403: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:411: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:411: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:425: undefined reference to `gpgme_data_release'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:421: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:421: undefined reference to `gpgme_strsource'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-context.c:424: undefined reference to `gpgme_data_release'
> ../libbalsa/libbalsa.a(gmime-gpgme-signature.o): In function `g_mime_gpgme_sigstat_new_from_gpgme_ctx':/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-signature.c:92: undefined reference to `gpgme_get_protocol'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-signature.c:95: undefined reference to `gpgme_op_verify_result'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-signature.c:105: undefined reference to `gpgme_get_key'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-signature.c:149: undefined reference to `gpgme_key_unref'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-signature.c:107: undefined reference to `gpgme_strerror'
> :/build/tbm/balsa-2.3.8/libbalsa/gmime-gpgme-signature.c:107: undefined reference to `gpgme_strsource'
> collect2: ld returned 1 exit status
> make[4]: *** [balsa] Error 1
> make[4]: Leaving directory `/build/tbm/balsa-2.3.8/src'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/build/tbm/balsa-2.3.8/src'
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-gnome-maintainers
mailing list