Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2008 05:12:18 +0200
From:      Marcin Cieslak <saper@system.pl>
To:        freebsd-openoffice@freebsd.org
Subject:   Re: ports/122627: Build of editors/openoffice.org-2 fails on amd64
Message-ID:  <47FED712.9000900@system.pl>
In-Reply-To: <200804110300.m3B30Bte067143@freefall.freebsd.org>
References:  <200804110300.m3B30Bte067143@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig2DE313BE4A46F6B5FCB7F093
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: quoted-printable

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

Yes, this fixed the problem #1.

> =20
>  Making: ../../../unxfbsdx/slo/dbgoutsw.obj
>  c++  -fmessage-length=3D3D0 -c -g  -O0   -fvisibility=3D3Dhidden -I.  =
-I../../.=3D
>  ./unxfbsdx/inc/doc -I../inc -I../../../inc/pch -I../../../inc -I../../=
=2E./un=3D
>  x/inc -I../../../unxfbsdx/inc -I. -I/usr/ports/editors/openoffice.org-=
2/wor=3D
>  k/OOH680_m12/solver/680/unxfbsdx/inc/stl -I/usr/ports/editors/openoffi=
ce.or=3D
>  g-2/work/OOH680_m12/solver/680/unxfbsdx/inc/external -I/usr/ports/edit=
ors/o=3D
>  penoffice.org-2/work/OOH680_m12/solver/680/unxfbsdx/inc -I/usr/ports/e=
ditor=3D
>  s/openoffice.org-2/work/OOH680_m12/solenv/unxfbsdx/inc -I/usr/ports/ed=
itors=3D
>  /openoffice.org-2/work/OOH680_m12/solenv/inc -I/usr/ports/editors/open=
offic=3D
>  e.org-2/work/OOH680_m12/res -I/usr/ports/editors/openoffice.org-2/work=
/OOH6=3D
>  80_m12/solver/680/unxfbsdx/inc/stl -I/usr/ports/editors/openoffice.org=
-2/wo=3D
>  rk/OOH680_m12/solenv/inc/Xp31 -I/usr/local/jdk1.5.0/include -I/usr/loc=
al/jd=3D
>  k1.5.0/include/freebsd -I/usr/local/jdk1.5.0/include/bsd -I/usr/local/=
jdk1.=3D
>  5.0/include/linux -I/usr/local/jdk1.5.0/include/native_threads/include=
 -I/u=3D
>  sr/local/include     -I/usr/ports/editors/openoffice.org-2/work/OOH680=
_m12/=3D
>  solver/680/unxfbsdx/inc/offuh -I. -I../../../res -I. -pipe  -fvisibili=
ty-in=3D
>  lines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-p=
rivac=3D
>  y     -Wno-non-virtual-dtor   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341=
 -DX8=3D
>  6_64 -D_STLP_DEBUG -DCVER=3D3DC341 -DX86_64  -D_PTHREADS -D_REENTRANT =
-DNEW_S=3D
>  OLAR -D_USE_NAMESPACE=3D3D1 -DSTLPORT_VERSION=3D3D450 -DHAVE_GCC_VISIB=
ILITY_FEA=3D
>  TURE -D__DMAKE -DUNIX -DCPPU_ENV=3D3Dgcc3 -DGXX_INCLUDE_PATH=3D3D/usr/=
include/c=3D
>  ++/4.2 -DSUPD=3D3D680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=3D3D2 -DCUI=
 -DSOLAR_=3D
>  JAVA -DOOH680=3D3DOOH680   -DACCESSIBLE_LAYOUT -DSW_DLLIMPLEMENTATION =
-DSHARE=3D
>  DLIB -D_DLL_   -fno-exceptions -DEXCEPTIONS_OFF  -o ../../../unxfbsdx/=
slo/d=3D
>  bgoutsw.o /usr/ports/editors/openoffice.org-2/work/OOH680_m12/sw/sourc=
e/cor=3D
>  e/doc/dbgoutsw.cxx=3D20
>  /usr/ports/editors/openoffice.org-2/work/OOH680_m12/sw/source/core/doc=
/dbgo=3D
>  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=3D
>  utsw.cxx:298: error: cast from 'const SfxPoolItem*' to 'sal_uInt32' lo=
ses p=3D
>  recision
>  dmake:  Error code 1, while making '../../../unxfbsdx/slo/dbgoutsw.obj=
'
>  ---* tg_merge.mk *---
> =20
>  ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice=
=2Eorg-=3D
>  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=3D88160

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

-        if ((sal_uInt32)pItem !=3D 0xffffffff)
+        if ((sal_uIntPtr)pItem !=3D ~0UL)
              aStr +=3D lcl_dbg_out(*pItem);
          else
              aStr +=3D 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=20
components  (sth. related to Java) at the very end. I will deal with=20
that later.

--Marcin



--------------enig2DE313BE4A46F6B5FCB7F093
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQCVAwUBR/7XFj2W2v2wY27ZAQPUeQP/e6v0HIUiZWyL7uku1LP2KXnWK7MvW9R1
bRfU+LOUK22N8V+bkfTpsJ5CzmIXS9f7mOZglE16uUTSgboIBTvFdYrw0J2bgM/z
SrNSTuNS5ZkhfKGG+6g1MDK6ssvqsAJTXUyUjIK9rvod7ORXAHw1CdUHCJA1i81s
mXdkLYQXjGg=
=84i3
-----END PGP SIGNATURE-----

--------------enig2DE313BE4A46F6B5FCB7F093--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47FED712.9000900>