Compiling gnome-extra/evolution-data-server-2.32.1 fails to build and gives the following error message: undefined reference to `camel_sasl_gssapi_get_type' (attaching details) Reproducible: Always Steps to Reproduce:
Created attachment 256730 [details] build log
Created attachment 256731 [details] cave info evolution-data-server
*** This bug has been marked as a duplicate of bug 298560 ***
I don't think this issue is a duplicate of bug 298560. In fact, it's a known bug of evolution-data-server when building without kerberos support and a fix has already been commited upstream: http://git.gnome.org/browse/evolution-data-server/commit/?id=f6a1d8754a83fe147ef89cc29dcff4cf8c19ce0c
Reporters, please try to build it with USE="-doc", if it succeeds, it is bug 298560
Did you read the comment that come with the commit I just linked ? I quote: "Apparently when building without Kerberos support the entire contents of camel-sasl-gssapi.c is omitted, which breaks generating API docs because camel-scan.c expects a camel_sasl_gssapi_get_type() regardless." So yes, this bug happens when generating API docs, but not because of gtk-doc (bug 298560). It's because of buggy C code in camel/camel-sasl-gssapi.c. In fact, I had no problem building gnome-extra/evolution-data-server-2.32.1 including the docs before I dropped the kerberos USE flag and applying the commited patch fixed this issue.
Jonathan is right, gnome-extra/evolution-data-server-2.32.1:0::gentoo builds with USE="doc kerberos" and USE="-doc -kerberos", but not with USE="doc -kerberos" (which was my setup when I filed this report).
It will be fixed in the next minor version bump, but in the mean time, here is the patch...
Created attachment 257418 [details, diff] gnome-extra/evolution-data-server/files/evolution-data-server-2.32.1_register-camelsaslgssapi-without-kerberos.patch
Thanks for find the patch, we will need to carry it since upstream only committed it to "master" and not 2.32 branch.
(In reply to comment #6) > In fact, I had no problem building gnome-extra/evolution-data-server-2.32.1 > including the docs before I dropped the kerberos USE flag and applying the > commited patch fixed this issue. > Well, looks surprising to me how could you apply that patch that cannot be applied :-/
Created attachment 258575 [details, diff] 1.patch This is a try to backport it, but compilation fails :-(
https://bugzilla.gnome.org/show_bug.cgi?id=638455
Created attachment 258720 [details, diff] gnome-extra/evolution-data-server/files/evolution-data-server-2.32.1_register-camelsaslgssapi-without-kerberos.patch Oops, I forgot that sasl_gssapi_challenge was renamed sasl_gssapi_challenge_sync before submitting the patch. Here is a backported patch.
Works fine, thanks a lot :-D + 03 Jan 2011; Pacho Ramos <pacho@gentoo.org> + evolution-data-server-2.32.1-r1.ebuild, + +files/evolution-data-server-2.32.1-no-kerberos.patch: + Fix building without kerberos, bug #348260 by Stephan Friedrichs and + backported patch from Jonathan-Christofer Demay. +