From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 17 01:50:13 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4944106567C for ; Thu, 17 May 2012 01:50:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C8E18FC12 for ; Thu, 17 May 2012 01:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4H1o2fa055782 for ; Thu, 17 May 2012 01:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4H1o2R9055781; Thu, 17 May 2012 01:50:02 GMT (envelope-from gnats) Resent-Date: Thu, 17 May 2012 01:50:02 GMT Resent-Message-Id: <201205170150.q4H1o2R9055781@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Don Lewis Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D468B106566B; Thu, 17 May 2012 01:42:55 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id A0A7C8FC08; Thu, 17 May 2012 01:42:55 +0000 (UTC) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id q4H1gtF6095034; Wed, 16 May 2012 18:42:55 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from mousie.catspoiler.org (localhost.catspoiler.org [127.0.0.1]) by mousie.catspoiler.org (8.14.5/8.14.5) with ESMTP id q4H1gs2F074825; Wed, 16 May 2012 18:42:54 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: (from dl@localhost) by mousie.catspoiler.org (8.14.5/8.14.5/Submit) id q4H1gs22074824; Wed, 16 May 2012 18:42:54 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201205170142.q4H1gs22074824@mousie.catspoiler.org> Date: Wed, 16 May 2012 18:42:54 -0700 (PDT) From: Don Lewis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gnome@FreeBSD.org Subject: ports/167989: databases/evolution-data-server build fails on FreeBSD 10 with new Heimdal X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Don Lewis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 01:50:13 -0000 >Number: 167989 >Category: ports >Synopsis: databases/evolution-data-server build fails on FreeBSD 10 with new Heimdal >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 17 01:50:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Don Lewis >Release: FreeBSD 10.0-CURRENT i386 >Organization: FreeBSD project >Environment: System: FreeBSD scratch.catspoiler.org 10.0-CURRENT FreeBSD 10.0-CURRENT #6: Tue May 15 14:19:58 PDT 2012 dl@scratch.catspoiler.org:/usr/obj/usr/src/sys/GENERIC SMB i386 >Description: The databases/evolution-data-server port fails to build on FreeBSD 10 since Heimdel was upgraded to 1.5.1. CC libcamel_provider_1_2_la-camel-sasl-gssapi.lo In file included from camel-sasl-gssapi.c:51: /usr/include/gssapi.h:3:2: warning: #warning "this file includes which is deprecated, use 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[4]: *** [libcamel_provider_1_2_la-camel-sasl-gssapi.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/camel' The problem is that , 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 includes , 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: #include #include #include though com_err.h is still being installed directly under /usr/include in FreeBSD 10. It appears that this relies on defining size_t. >How-To-Repeat: Attempt to build the port on a recent version of FreeBSD 10. >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 and just force it to be included. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/evolution-data-server/Makefile,v retrieving revision 1.84 diff -u -u -r1.84 Makefile --- Makefile 23 Sep 2011 22:21:32 -0000 1.84 +++ Makefile 17 May 2012 01:14:45 -0000 @@ -38,7 +38,8 @@ CONFIGURE_ARGS= --enable-static \ --enable-gnome-keyring=yes \ --with-openldap=yes \ - --with-libdb=${LOCALBASE} + --with-libdb=${LOCALBASE} \ + -C CPPFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} --- /dev/null 2012-05-16 18:35:04.000000000 -0700 +++ files/patch-config.cache 2012-05-16 18:14:18.000000000 -0700 @@ -0,0 +1,4 @@ +--- /dev/null 2012-05-16 18:11:00.000000000 -0700 ++++ config.cache 2012-05-16 18:13:49.000000000 -0700 +@@ -0,0 +1 @@ ++ac_cv_header_com_err_h=yes >Release-Note: >Audit-Trail: >Unformatted: