ports/122627: Build of editors/openoffice.org-2 fails on amd64

Marcin Cieslak saper at system.pl
Fri Apr 11 03:12:36 UTC 2008


Andrew Reilly wrote:
> The following reply was made to PR ports/122627; it has been noted by GNATS.
> 
> From: Andrew Reilly <areilly at bigpond.net.au>
> To: Marcin Cieslak <saper at SYSTEM.PL>
> Cc: bug-followup at FreeBSD.org
> Subject: Re: ports/122627: Build of editors/openoffice.org-2 fails on amd64
> Date: Fri, 11 Apr 2008 12:57:10 +1000
> 
>  No, it didn't finish building.  Broke again here:

Yes, this fixed the problem #1.

>  
>  Making: ../../../unxfbsdx/slo/dbgoutsw.obj
>  c++  -fmessage-length=3D0 -c -g  -O0   -fvisibility=3Dhidden -I.  -I../../.=
>  ./unxfbsdx/inc/doc -I../inc -I../../../inc/pch -I../../../inc -I../../../un=
>  x/inc -I../../../unxfbsdx/inc -I. -I/usr/ports/editors/openoffice.org-2/wor=
>  k/OOH680_m12/solver/680/unxfbsdx/inc/stl -I/usr/ports/editors/openoffice.or=
>  g-2/work/OOH680_m12/solver/680/unxfbsdx/inc/external -I/usr/ports/editors/o=
>  penoffice.org-2/work/OOH680_m12/solver/680/unxfbsdx/inc -I/usr/ports/editor=
>  s/openoffice.org-2/work/OOH680_m12/solenv/unxfbsdx/inc -I/usr/ports/editors=
>  /openoffice.org-2/work/OOH680_m12/solenv/inc -I/usr/ports/editors/openoffic=
>  e.org-2/work/OOH680_m12/res -I/usr/ports/editors/openoffice.org-2/work/OOH6=
>  80_m12/solver/680/unxfbsdx/inc/stl -I/usr/ports/editors/openoffice.org-2/wo=
>  rk/OOH680_m12/solenv/inc/Xp31 -I/usr/local/jdk1.5.0/include -I/usr/local/jd=
>  k1.5.0/include/freebsd -I/usr/local/jdk1.5.0/include/bsd -I/usr/local/jdk1.=
>  5.0/include/linux -I/usr/local/jdk1.5.0/include/native_threads/include -I/u=
>  sr/local/include     -I/usr/ports/editors/openoffice.org-2/work/OOH680_m12/=
>  solver/680/unxfbsdx/inc/offuh -I. -I../../../res -I. -pipe  -fvisibility-in=
>  lines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privac=
>  y     -Wno-non-virtual-dtor   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DX8=
>  6_64 -D_STLP_DEBUG -DCVER=3DC341 -DX86_64  -D_PTHREADS -D_REENTRANT -DNEW_S=
>  OLAR -D_USE_NAMESPACE=3D1 -DSTLPORT_VERSION=3D450 -DHAVE_GCC_VISIBILITY_FEA=
>  TURE -D__DMAKE -DUNIX -DCPPU_ENV=3Dgcc3 -DGXX_INCLUDE_PATH=3D/usr/include/c=
>  ++/4.2 -DSUPD=3D680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=3D2 -DCUI -DSOLAR_=
>  JAVA -DOOH680=3DOOH680   -DACCESSIBLE_LAYOUT -DSW_DLLIMPLEMENTATION -DSHARE=
>  DLIB -D_DLL_   -fno-exceptions -DEXCEPTIONS_OFF  -o ../../../unxfbsdx/slo/d=
>  bgoutsw.o /usr/ports/editors/openoffice.org-2/work/OOH680_m12/sw/source/cor=
>  e/doc/dbgoutsw.cxx=20
>  /usr/ports/editors/openoffice.org-2/work/OOH680_m12/sw/source/core/doc/dbgo=
>  utsw.cxx: In function 'const String lcl_dbg_out(const SfxItemSet&)':
>  /usr/ports/editors/openoffice.org-2/work/OOH680_m12/sw/source/core/doc/dbgo=
>  utsw.cxx:298: error: cast from 'const SfxPoolItem*' to 'sal_uInt32' loses p=
>  recision
>  dmake:  Error code 1, while making '../../../unxfbsdx/slo/dbgoutsw.obj'
>  ---* tg_merge.mk *---
>  
>  ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-=
>  2/work/OOH680_m12/sw/source/core/doc
>  dmake:  Error code 1, while making 'build_instsetoo_native'

Another patch, this is:

http://qa.openoffice.org/issues/show_bug.cgi?id=88160

-- sw/source/core/doc/dbgoutsw.cxx.orig	2008-04-11 03:19:13.586159454 +0200
+++ sw/source/core/doc/dbgoutsw.cxx	2008-04-11 03:48:29.485837934 +0200
@@ -296,7 +296,7 @@
          if (!bFirst)
              aStr += String(", ", RTL_TEXTENCODING_ASCII_US);

-        if ((sal_uInt32)pItem != 0xffffffff)
+        if ((sal_uIntPtr)pItem != ~0UL)
              aStr += lcl_dbg_out(*pItem);
          else
              aStr += String("invalid", RTL_TEXTENCODING_ASCII_US);

Can anyone test this on i386?

And before you continue - my build 3.0 build fails when registering UNO 
components  (sth. related to Java) at the very end. I will deal with 
that later.

--Marcin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-openoffice/attachments/20080411/3fcc6a92/signature.pgp


More information about the freebsd-openoffice mailing list