FreeBSD Bugzilla – Bug 167989
databases/evolution-data-server build fails on FreeBSD 10 with new Heimdal
Last modified: 2012-05-20 17:30:09 UTC
The databases/evolution-data-server port fails to build on FreeBSD 10 since
Heimdel was upgraded to 1.5.1.
In file included from camel-sasl-gssapi.c:51:
/usr/include/gssapi.h:3:2: warning: #warning "this file includes <gssapi.h> which is deprecated, use <gssapi/gssapi.h> instead"
camel-sasl-gssapi.c: In function 'gssapi_set_exception':
camel-sasl-gssapi.c:157: error: implicit declaration of function 'error_message'
camel-sasl-gssapi.c:157: warning: nested extern declaration of 'error_message'
camel-sasl-gssapi.c:157: warning: assignment makes pointer from integer without a cast
gmake: *** [libcamel_provider_1_2_la-camel-sasl-gssapi.lo] Error 1
gmake: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/camel'
The problem is that <com_err.h>, which declares error_message(), is not being
included. The reason for that problem is that the port's configure test
for this header is failing because <com_err.h> includes <com_right.h>, which
uses size_t in the function prototype for com_right_r(), but size_t has not
been declared because the compile test for this header doesn't include
The com_err(3) man page imported with the new Heimdel distribution says
that the proper list of includes is:
though com_err.h is still being installed directly under /usr/include in
FreeBSD 10. It appears that this relies on <stdio.h> defining size_t.
Fix: The configure script should probably be enhanced to handle the new Heimdel
version, but that is probably best handled upstream. The following patch
uses config.cache to bypass the test for <com_err.h> and just force it
to be included.
Attempt to build the port on a recent version of FreeBSD 10.
Over to maintainer (via the GNATS Auto Assign Tool)
mezz 2012-05-20 16:27:31 UTC
FreeBSD ports repository
Fix the build with Heimdal 1.5.x.
Reported by: truckman
Revision Changes Path
1.13 +23 -5 ports/databases/evolution-data-server/files/patch-configure
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"