From owner-freebsd-openoffice@FreeBSD.ORG Sat Aug 19 20:59:50 2006 Return-Path: X-Original-To: openoffice@freebsd.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D739F16A4DA for ; Sat, 19 Aug 2006 20:59:50 +0000 (UTC) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF1043D5C for ; Sat, 19 Aug 2006 20:59:50 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 062A7F1BF7; Sat, 19 Aug 2006 13:59:50 -0700 (PDT) X-Virus-Scanned: amavisd-new at mcneil.com Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8mJUoXEvSi8g; Sat, 19 Aug 2006 13:59:48 -0700 (PDT) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 49374F1BEB; Sat, 19 Aug 2006 13:59:48 -0700 (PDT) From: Sean McNeil To: Stephen Montgomery-Smith In-Reply-To: <44E77A34.3080606@math.missouri.edu> References: <1156012505.63467.0.camel@triton.mcneil.com> <44E77A34.3080606@math.missouri.edu> Content-Type: text/plain Date: Sat, 19 Aug 2006 13:59:48 -0700 Message-Id: <1156021188.1452.11.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: openoffice@freebsd.org Subject: Re: 2.0 fails to compile on amd64 X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2006 20:59:50 -0000 On Sat, 2006-08-19 at 15:53 -0500, Stephen Montgomery-Smith wrote: > Sean McNeil wrote: > > I get the following error: > > > > In file included from conditn.c:37: > > system.h:542: error: conflicting types for 'gethostbyname_r' > > /usr/include/netdb.h:228: error: previous declaration of > > 'gethostbyname_r' was here > > dmake: Error code 1, while making '../../unxfbsdx.pro/obj/conditn.obj' > > '---* tg_merge.mk *---' > > > > ERROR: Error 65280 occurred while > > making /usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/sal/osl/unx > > dmake: Error code 1, while making 'build_instsetoo_native' > > '---* *---' > > *** Error code 255 > > The problem you have (which by the way will only occur with a very > recent version of FreeBSD 6.1) was fixed in Openoffice 2.0.3, but when > 2.0.4.m1 was ported (probably yesterday or today) the porter forgot to > carry across the fix. My plan is to wait until the porter realizes this > and fixes it. The problem is unrelated to amd64. OK, thanks. The fix would appear to be fairly obvious in that includes of netdb.h should not be done in system.h when the replacement gethostbyname_r is used. I see that there is a direct include and it is included again when NETBSD or SCO is defined. Seems to me the first instance should just be removed. 2.0.4.m1.. is that a development release? Shouldn't it have been update only for -devel? Cheers, Sean