From owner-freebsd-ports@FreeBSD.ORG Thu Oct 27 15:25:34 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BF0D106564A for ; Thu, 27 Oct 2011 15:25:34 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id C0CA18FC14 for ; Thu, 27 Oct 2011 15:25:33 +0000 (UTC) Received: by qyg14 with SMTP id 14so3883599qyg.13 for ; Thu, 27 Oct 2011 08:25:32 -0700 (PDT) Received: by 10.229.101.28 with SMTP id a28mr4134150qco.231.1319727747374; Thu, 27 Oct 2011 08:02:27 -0700 (PDT) Received: from wawanesa.iciti.ca (CPE0080c8f208a5-CM001371173cf8.cpe.net.cable.rogers.com. [99.246.61.82]) by mx.google.com with ESMTPS id l20sm8455120qal.21.2011.10.27.08.02.24 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Oct 2011 08:02:25 -0700 (PDT) Message-ID: <4EA9727E.3030208@bellanet.org> Date: Thu, 27 Oct 2011 11:02:22 -0400 From: Graham Todd User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111002 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org X-Enigmail-Version: undefined Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: chromium 15 not building with heimdal 1.4.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2011 15:25:34 -0000 (I will file a PR as well so this is not lost) This is the first time I have seen this error. I always have a local heimdal port (1.4) or a more up to date local build from source (e.g. 1.5.1) installed, and have regularly built chromium without any problems, so I'm thinking this must be a new issue. Upstream support for GSSAPI on Linux and BSD (OS/X) is only about a year old - which would equate to the older releases that were in ports until recently. Manually editing WRKDIR/net/http/http_auth_gssapi_posix.h (included from line 5 of net/http/http_auth_gssapi_posix.cc) so that it grabs BASE heimdal from /usr/include/gssapi/gssapi.h allows the port to build, but I'm not sure this is the best solution. The BASE version of heimdal is quite old and there are a number of ports that depend on the security/heimdal port (which is at version 1.4) so it would be best if www/chromium built properly against these newer versions. cheers, **** The latest chromium port (15.*) won't build with a locally installed heimdal, failing with these errors (clang): ++++ /usr/local/include/gssapi/gssapi.h:351:30: note: instantiated from: #define GSS_C_NT_ANONYMOUS (&__gss_c_nt_anonymous_oid_desc) net/http/http_auth_gssapi_posix.cc:58:9: error: redefinition of '__gss_c_nt_user_name_oid_desc' with a different type gss_OID GSS_C_NT_USER_NAME = &GSS_C_NT_USER_NAME_VAL; ^ In file included from net/http/http_auth_gssapi_posix.cc:5: In file included from ./net/http/http_auth_gssapi_posix.h:9: In file included from /usr/local/include/gssapi.h:39: /usr/local/include/gssapi/gssapi.h:276:30: note: instantiated from: #define GSS_C_NT_USER_NAME (&__gss_c_nt_user_name_oid_desc) ^ /usr/local/include/gssapi/gssapi.h:275:41: note: previous definition is here extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_c_nt_user_name_oid_desc; ^ net/http/http_auth_gssapi_posix.cc:59:9: error: redefinition of '__gss_c_nt_machine_uid_name_oid_desc' with a different type gss_OID GSS_C_NT_MACHINE_UID_NAME = &GSS_C_NT_MACHINE_UID_NAME_VAL; ^ In file included from net/http/http_auth_gssapi_posix.cc:5: In file included from ./net/http/http_auth_gssapi_posix.h:9: In file included from /usr/local/include/gssapi.h:39: /usr/local/include/gssapi/gssapi.h:290:37: note: instantiated from: #define GSS_C_NT_MACHINE_UID_NAME (&__gss_c_nt_machine_uid_name_oid_desc) ^ /usr/local/include/gssapi/gssapi.h:289:41: note: previous definition is here extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_c_nt_machine_uid_name_oid_desc; ^ net/http/http_auth_gssapi_posix.cc:60:9: error: redefinition of '__gss_c_nt_string_uid_name_oid_desc' with a different type gss_OID GSS_C_NT_STRING_UID_NAME = &GSS_C_NT_STRING_UID_NAME_VAL; ^ In file included from net/http/http_auth_gssapi_posix.cc:5: In file included from ./net/http/http_auth_gssapi_posix.h:9: In file included from /usr/local/include/gssapi.h:39: /usr/local/include/gssapi/gssapi.h:304:36: note: instantiated from: #define GSS_C_NT_STRING_UID_NAME (&__gss_c_nt_string_uid_name_oid_desc) ^ /usr/local/include/gssapi/gssapi.h:303:41: note: previous definition is here '__gss_c_nt_hostbased_service_x_oid_desc' with a different type gss_OID GSS_C_NT_HOSTBASED_SERVICE_X = &GSS_C_NT_HOSTBASED_SERVICE_X_VAL; ^ In file included from net/http/http_auth_gssapi_posix.cc:5: In file included from ./net/http/http_auth_gssapi_posix.h:9: In file included from /usr/local/include/gssapi.h:39: /usr/local/include/gssapi/gssapi.h:324:40: note: instantiated from: #define GSS_C_NT_HOSTBASED_SERVICE_X (&__gss_c_nt_hostbased_service_x_oid_desc) ^ /usr/local/include/gssapi/gssapi.h:323:41: note: previous definition is here extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_c_nt_hostbased_service_x_oid_desc; ^ net/http/http_auth_gssapi_posix.cc:62:9: error: redefinition of '__gss_c_nt_hostbased_service_oid_desc' with a different type gss_OID GSS_C_NT_HOSTBASED_SERVICE = &GSS_C_NT_HOSTBASED_SERVICE_VAL; ^ In file included from net/http/http_auth_gssapi_posix.cc:5: In file included from ./net/http/http_auth_gssapi_posix.h:9: In file included from /usr/local/include/gssapi.h:39: /usr/local/include/gssapi/gssapi.h:338:38: note: instantiated from: #define GSS_C_NT_HOSTBASED_SERVICE (&__gss_c_nt_hostbased_service_oid_desc) ^ /usr/local/include/gssapi/gssapi.h:337:41: note: previous definition is here extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_c_nt_hostbased_service_oid_desc; ^ net/http/http_auth_gssapi_posix.cc:63:9: error: redefinition of '__gss_c_nt_anonymous_oid_desc' with a different type gss_OID GSS_C_NT_ANONYMOUS = &GSS_C_NT_ANONYMOUS_VAL; ^ In file included from net/http/http_auth_gssapi_posix.cc:5: In file included from ./net/http/http_auth_gssapi_posix.h:9: In file included from /usr/local/include/gssapi.h:39: /usr/local/include/gssapi/gssapi.h:351:30: note: instantiated from: #define GSS_C_NT_ANONYMOUS (&__gss_c_nt_anonymous_oid_desc) ^ /usr/local/include/gssapi/gssapi.h:350:41: note: previous definition is here extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_c_nt_anonymous_oid_desc; ^ net/http/http_auth_gssapi_posix.cc:64:9: error: redefinition of '__gss_c_nt_export_name_oid_desc' with a different type gss_OID GSS_C_NT_EXPORT_NAME = &GSS_C_NT_EXPORT_NAME_VAL; ^ In file included from net/http/http_auth_gssapi_posix.cc:5: In file included from ./net/http/http_auth_gssapi_posix.h:9: In file included from /usr/local/include/gssapi.h:39: /usr/local/include/gssapi/gssapi.h:364:32: note: instantiated from: #define GSS_C_NT_EXPORT_NAME (&__gss_c_nt_export_name_oid_desc) ^ /usr/local/include/gssapi/gssapi.h:363:41: note: previous definition is here extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_c_nt_export_name_oid_desc; ^ 1 warning and 7 errors generated. gmake: *** [out/Release/obj.target/net/net/http/http_auth_gssapi_posix.o] Error 1 gmake: *** Waiting for unfinished jobs.... 1 warning generated. *** Error code 1 Stop in /usr/ports/www/chromium. *** Error code 1 Stop in /usr/ports/www/chromium. I think this is a new issue since previous ports