Date: Thu, 03 Aug 2006 15:16:17 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-openoffice@FreeBSD.org Subject: editors/openoffice.org-2.0 compilation on recent RELENG_6 Message-ID: <44D20531.50504@infracaninophile.co.uk>
next in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D20531.50504>