Subject: openoffice build broken under -current
To: None <tech-pkg@netbsd.org>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: tech-pkg
Date: 11/13/2004 20:47:25
Hi, all.
The errors as below.
[...]
/usr/pkgsrc/misc/openoffice/work/oo_1.1.1_src/sal/osl/all
-------------
/usr/pkgsrc/misc/openoffice/work/oo_1.1.1_src/sal/osl/unx
------------------------------
Making: ../../unxbsdi2.pro/obj/system.obj
gcc -fmessage-length=3D0 -c -I.  -I. -I../inc -I../../inc -I../../unx/inc -=
I../../unxbsdi2.pro/inc -I. -I/usr/pkgsrc/misc/openoffice/work/oo_1.1.1_src=
/solver/645/unxbsdi2.pro/inc/dont_use_stl -I/usr/pkgsrc/misc/openoffice/wor=
k/oo_1.1.1_src/solver/645/unxbsdi2.pro/inc/external -I/usr/pkgsrc/misc/open=
office/work/oo_1.1.1_src/solver/645/unxbsdi2.pro/inc -I/usr/pkgsrc/misc/ope=
noffice/work/oo_1.1.1_src/solenv/unxbsdi2/inc -I/usr/pkgsrc/misc/openoffice=
/work/oo_1.1.1_src/solenv/inc -I/usr/pkgsrc/misc/openoffice/work/oo_1.1.1_s=
rc/res -I/usr/pkgsrc/misc/openoffice/work/oo_1.1.1_src/solver/645/unxbsdi2.=
pro/inc/dont_use_stl -I/usr/pkgsrc/misc/openoffice/work/oo_1.1.1_src/solenv=
/inc/Xp31 -INO_JAVA_HOME/include -INO_JAVA_HOME/include/netbsd -INO_JAVA_HO=
ME/include/solaris -INO_JAVA_HOME/include/linux -INO_JAVA_HOME/include/nati=
ve_threads/include -I/usr/X11R6/include     -I. -I../../res -I. -O1   -pipe=
   -DNETBSD -DUNX -DVCL -DGCC -DC300 -DINTEL -DGXX_INCLUDE_PATH=3D/usr/incl=
ude/g++ -DCVER=3DC300 -D_USE_NAMESPACE -DX86 -D_PTHREADS -D_REENTRANT -DNEW=
_SOLAR -D_USE_NAMESPACE=3D1 -DSTLPORT_VERSION=3D400 -D__DMAKE -DUNIX -DCPPU=
_ENV=3Dgcc3 -DSUPD=3D645 -DBUILD=3D8762 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -=
DOSL_DEBUG_LEVEL=3D0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSRX645  -DMULTITHR=
EAD   -o ../../unxbsdi2.pro/obj/system.o system.c
In file included from system.c:62:
system.h:172:1: warning: "ETIME" redefined
In file included from /usr/include/errno.h:43,
                 from system.h:69,
                 from system.c:62:
/usr/include/sys/errno.h:165:1: warning: this is the location of the previo=
us definition
system.c:102: error: conflicting types for `getpwnam_r'
/usr/include/pwd.h:127: error: previous declaration of `getpwnam_r'
system.c: In function `getpwuid_r':
system.c:221: warning: assignment makes pointer from integer without a cast
system.c:227: warning: assignment makes pointer from integer without a cast
system.c:233: warning: return makes integer from pointer without a cast
system.c: In function `gethostbyname_r':
system.c:423: warning: assignment from incompatible pointer type
system.c:435: warning: assignment from incompatible pointer type
dmake:  Error code 1, while making '../../unxbsdi2.pro/obj/system.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /usr/pkgsrc/misc/openoffice/work/o=
o_1.1.1_src/sal/osl/unx
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice


This is a i386 -current system.