From owner-freebsd-openoffice@FreeBSD.ORG Thu Aug 3 14:16:54 2006 Return-Path: X-Original-To: freebsd-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 778CC16A4DA for ; Thu, 3 Aug 2006 14:16:54 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9F5943D62 for ; Thu, 3 Aug 2006 14:16:50 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k73EGNHW016211 for ; Thu, 3 Aug 2006 15:16:24 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=softfail; spf=softfail X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk k73EGNHW016211 Message-ID: <44D20531.50504@infracaninophile.co.uk> Date: Thu, 03 Aug 2006 15:16:17 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.5 (X11/20060801) MIME-Version: 1.0 To: freebsd-openoffice@FreeBSD.org X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0541DC6D3EF9DED184987EAB" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 03 Aug 2006 15:16:44 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.3/1634/Wed Aug 2 23:32:49 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on happy-idiot-talk.infracaninophile.co.uk Cc: Subject: editors/openoffice.org-2.0 compilation on recent RELENG_6 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: Thu, 03 Aug 2006 14:16:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0541DC6D3EF9DED184987EAB Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Dear port maintainers, The editors/openoffice.org-2.0 port is failing to compile on a recently updated RELENG_6 machine. The symptoms will occur on a machine with % sysctl kern.osreldate kern.osreldate: 601103 because of this preprocessor construct in files/patch-i65512: #if !defined(FREEBSD) || (__FreeBSD_version < 700015) || (__FreeBSD_versi= on < 601103) Of course, this evaluates to true on any machine with osreldate =3D=3D 60= 1103, because 601103 < 700015. Yet the purpose of this construct is to identif= y the system versions before UME's MFC of include/netdb.h to version 1.38.2.2, introducing a conflicting prototype for gethostbyname_r() -- returning a= n int rather than the struct pointer OOo seems to be expecting. Perhaps it should say #if !defined(FREEBSD) || (__FreeBSD_version >=3D 700000 && __FreeBSD_vers= ion < 700015) || (__FreeBSD_version < 601103) Here's the tail of the build output. This is with -DLOCALIZED_LANG=3Den-= GB: /usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/sal/osl/unx ------------------------------ Making: ../../unxfbsdi.pro/misc/cpposl.dpc dmake subdmake=3Dtrue -f makefile.mk product=3D"full" depend=3Dt ALLDPC Making : Dependencies touch ../../unxfbsdi.pro/misc/cpposl.dpc ------------------------------ Making: ../../unxfbsdi.pro/obj/backtrace.obj gcc-ooo -Wreturn-type -fmessage-length=3D0 -c -I. -I. -I../inc -I../../i= nc -I../../unx/inc -I../../unxfbsdi.pro/inc -I. -I/usr/ports/editors/open= office.org-2.0/work/OOC680_m7/solver/680/unxfbsdi.pro/inc/dont_use_stl -I= /usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solver/680/unxfbsdi.= pro/inc/external -I/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/s= olver/680/unxfbsdi.pro/inc -I/usr/ports/editors/openoffice.org-2.0/work/O= OC680_m7/solenv/unxfbsdi/inc -I/usr/ports/editors/openoffice.org-2.0/work= /OOC680_m7/solenv/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOC680= _m7/res -I/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solver/680= /unxfbsdi.pro/inc/dont_use_stl -I/usr/ports/editors/openoffice.org-2.0/wo= rk/OOC680_m7/solenv/inc/Xp31 -I/usr/local/diablo-jdk1.5.0/include -I/usr/= local/diablo-jdk1.5.0/include/freebsd -I/usr/local/diablo-jdk1.5.0/includ= e/bsd -I/usr/local/diablo-jdk1.5.0/include/linux -I/usr/local/diablo-jdk1= =2E5.0/include/native_threads/include -I/usr/ X11R6/include -I. -I../../res -I. -Os -fno-strict-aliasing -Wuninitia= lized -pipe -mtune=3Dpentiumpro -g1 -DFREEBSD -DUNX -DVCL -DGCC -DC341= -DINTEL -DCVER=3DC341 -D_USE_NAMESPACE -DX86 -D_PTHREADS -D_REENTRANT -= DNEW_SOLAR -D_USE_NAMESPACE=3D1 -DSTLPORT_VERSION=3D450 -DHAVE_GCC_VISIBI= LITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=3Dgcc3 -DGXX_INCLUDE_PATH=3D/usr= /local/gcc-ooo/i386-portbld-freebsd6.1/3.4.1/include/c++ -DSUPD=3D680 -DP= RODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=3D0 -DOPTIMIZE -DEXCEPTI= ONS_OFF -DCUI -DSOLAR_JAVA -DOOC680=3DOOC680 -DMULTITHREAD -o ../../u= nxfbsdi.pro/obj/backtrace.o backtrace.c if ( -e ../../unxfbsdi.pro/obj/backtrace.o) touch ../../unxfbsdi.pro/obj/= backtrace.obj ------------------------------ Making: ../../unxfbsdi.pro/obj/conditn.obj gcc-ooo -Wreturn-type -fmessage-length=3D0 -c -I. -I. -I../inc -I../../i= nc -I../../unx/inc -I../../unxfbsdi.pro/inc -I. -I/usr/ports/editors/open= office.org-2.0/work/OOC680_m7/solver/680/unxfbsdi.pro/inc/dont_use_stl -I= /usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solver/680/unxfbsdi.= pro/inc/external -I/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/s= olver/680/unxfbsdi.pro/inc -I/usr/ports/editors/openoffice.org-2.0/work/O= OC680_m7/solenv/unxfbsdi/inc -I/usr/ports/editors/openoffice.org-2.0/work= /OOC680_m7/solenv/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOC680= _m7/res -I/usr/ports/editors/openoffice.org-2.0/work/OOC680_m7/solver/680= /unxfbsdi.pro/inc/dont_use_stl -I/usr/ports/editors/openoffice.org-2.0/wo= rk/OOC680_m7/solenv/inc/Xp31 -I/usr/local/diablo-jdk1.5.0/include -I/usr/= local/diablo-jdk1.5.0/include/freebsd -I/usr/local/diablo-jdk1.5.0/includ= e/bsd -I/usr/local/diablo-jdk1.5.0/include/linux -I/usr/local/diablo-jdk1= =2E5.0/include/native_threads/include -I/usr/ X11R6/include -I. -I../../res -I. -Os -fno-strict-aliasing -Wuninitia= lized -pipe -mtune=3Dpentiumpro -g1 -DFREEBSD -DUNX -DVCL -DGCC -DC341= -DINTEL -DCVER=3DC341 -D_USE_NAMESPACE -DX86 -D_PTHREADS -D_REENTRANT -= DNEW_SOLAR -D_USE_NAMESPACE=3D1 -DSTLPORT_VERSION=3D450 -DHAVE_GCC_VISIBI= LITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=3Dgcc3 -DGXX_INCLUDE_PATH=3D/usr= /local/gcc-ooo/i386-portbld-freebsd6.1/3.4.1/include/c++ -DSUPD=3D680 -DP= RODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=3D0 -DOPTIMIZE -DEXCEPTI= ONS_OFF -DCUI -DSOLAR_JAVA -DOOC680=3DOOC680 -DMULTITHREAD -o ../../u= nxfbsdi.pro/obj/conditn.o conditn.c In file included from conditn.c:37: system.h:548: error: conflicting types for 'gethostbyname_r' /usr/include/netdb.h:228: error: previous declaration of 'gethostbyname_r= ' was here system.h:548: 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 '../../unxfbsdi.pro/obj/conditn.obj' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.or= g-2.0/work/OOC680_m7/sal/osl/unx dmake: Error code 1, while making 'build_instsetoo_native' '---* *---' *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2.0. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall9703= 6.0 env make PORT_UPGRADE=3Dyes ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! editors/openoffice.org-2.0 (compiler error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed Script done, output file is /tmp/ooo-install.txt Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig0541DC6D3EF9DED184987EAB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE0gU38Mjk52CukIwRCLNWAJ0RQQcgpe5QIJxuKZJz1mA5P1zGcACePXXD wh9rANKbywIAlTPyxDSoj1I= =muzm -----END PGP SIGNATURE----- --------------enig0541DC6D3EF9DED184987EAB--