Date: Tue, 30 Dec 2003 17:49:51 +0100 From: Jens Schweikhardt <schweikh@schweikhardt.net> To: openoffice@freebsd.org Subject: Why is the build so fragile? Message-ID: <20031230164951.GA6142@schweikhardt.net>
next in thread | raw e-mail | index | archive | help
Martin et al, in the last days I tried several times to compile editors/openoffice-1.1, but failed. I've tried it on 5.1 and 5-Current as of a few days ago with an up-to-date ports tree. I've googled around and found other people where the build stopped at the exact same place, namely when compiling mozilla, due to include files not being found. Unfortunately none of your suggestions like not using CFLAGS in /etc/make.conf works. The build is started with a plain 'make' without any options. The last lines in my logs are: ------------------------------ Making: ../../../../unxfbsd.pro/slo/MDatabaseMetaDataHelper.obj c++ -w -c -I. -I. -I../inc -I../../../inc -I../../../../inc -I../../../../= unx/inc -I../../../../unxfbsd.pro/inc -I. -I/usr/ports/editors/openoffice-1= =2E1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/stl -I/usr/ports/editors/op= enoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/external -I/usr/por= ts/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc -I/usr= /ports/editors/openoffice-1.1/work/oo_1.1_src/solenv/unxfbsd/inc -I/usr/por= ts/editors/openoffice-1.1/work/oo_1.1_src/solenv/inc -I/usr/ports/editors/o= penoffice-1.1/work/oo_1.1_src/res -I/usr/ports/editors/openoffice-1.1/work/= oo_1.1_src/solver/645/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice-1= =2E1/work/oo_1.1_src/solenv/inc/Xp31 -I/usr/local/jdk1.4.2/include -I/usr/l= ocal/jdk1.4.2/include/freebsd -I/usr/local/jdk1.4.2/include/bsd -I/usr/loca= l/jdk1.4.2/include/native_threads/include -I/usr/X11R6/include -I. -I..= /../../../res -I. -I.. -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/= solver/645/unxfbsd.pro/inc/mozilla -I/usr/ports/editors/openoffice-1.1/wor= k/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/nspr -I/usr/ports/editors/o= penoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/xpcom = -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro= /inc/mozilla/string -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/sol= ver/645/unxfbsd.pro/inc/mozilla/rdf -I/usr/ports/editors/openoffice-1.1/wor= k/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/msgbase -I/usr/ports/e= ditors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/ad= drbook -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfb= sd.pro/inc/mozilla/mork -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src= /solver/645/unxfbsd.pro/inc/mozilla/locale -I/usr/ports/editors/openof= fice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/pref -I/usr/por= ts/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozill= a/mime -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfb= sd.pro/inc/mozilla/chrome -I/usr/ports/editors/openoffice-1.1/work/oo_= 1.1_src/solver/645/unxfbsd.pro/inc/mozilla/necko -I/usr/ports/editors/openo= ffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/intl -I/usr/po= rts/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozil= la/profile -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/= 645/unxfbsd.pro/inc/mozilla/embed_base -I/usr/ports/editors/openoffice-1.1/= work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/mozldap -I/usr/ports/edi= tors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/ldap= -nspr -I/usr/X11R6/include -O -fPIC -pipe -fno-for-scope -fpermissive -fn= o-rtti -fexceptions -fno-rtti -Wall -Wconversion -Wpointer-ari= th -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynt= h -Wno-long-long -pthread -fPIC -DFREEBSD -DUNX -DVCL -DGCC -D= C300 -DINTEL -DCVER=3DC300 -D_USE_NAMESPACE -D_USE_NAMESPACE=3D1 -DX86 -DNE= W_SOLAR -DSTLPORT_VERSION=3D450 -DOSVERSION=3D502101 -D_THREAD_SAFE -D_REEN= TRANT -D__DMAKE -DUNIX -DCPPU_ENV=3Dgcc3 -DSUPD=3D645 -DBUILD=3D8693 -DPROD= UCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=3D0 -DOPTIMIZE -DEXCEPTIONS_O= N -DCUI -DSOLAR_JAVA -DSRX645 -DMOZILLA_CLIENT -DOSTYPE=3D\"Li= nux2.2.14-5\" -DOJI -DTRACING -DSHAREDLIB -D_DLL_ -DMULTITHREAD -w -o ../= =2E./../../unxfbsd.pro/slo/MDatabaseMetaDataHelper.o /usr/ports/editors/ope= noffice-1.1/work/oo_1.1_src/connectivity/source/drivers/mozab/mozillasrc/MD= atabaseMetaDataHelper.cxx cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++ In file included from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/con= nectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:63: MNSInclude.hxx:106:21: msgCore.h: No such file or directory MNSInclude.hxx:108:23: nsIAbCard.h: No such file or directory MNSInclude.hxx:109:25: nsAbBaseCID.h: No such file or directory MNSInclude.hxx:110:34: nsAbAddressCollecter.h: No such file or directory MNSInclude.hxx:112:32: nsIAddrBookSession.h: No such file or directory MNSInclude.hxx:113:32: nsIMsgHeaderParser.h: No such file or directory MNSInclude.hxx:114:32: nsIAddrBookSession.h: No such file or directory MNSInclude.hxx:115:28: nsIAbDirectory.h: No such file or directory MNSInclude.hxx:116:32: nsAbDirectoryQuery.h: No such file or directory MNSInclude.hxx:117:33: nsIAbDirectoryQuery.h: No such file or directory MNSInclude.hxx:118:38: nsIAbDirectoryQueryProxy.h: No such file or directory MNSInclude.hxx:119:29: nsIAbDirFactory.h: No such file or directory In file included from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/con= nectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:83: MNameMapper.hxx:87: error: `nsIAbDirectory' was not declared in this scope MNameMapper.hxx:87: error: syntax error before `,' token MNameMapper.hxx:90: error: syntax error before `*' token MNameMapper.hxx:99: error: syntax error before `*' token MNameMapper.hxx:102: error: syntax error before `*' token MNameMapper.hxx:105: error: syntax error before `*' token /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/connectivity/source/drive= rs/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:87:24: nsILDAPURL.h: No suc= h file or directory /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/connectivity/source/drive= rs/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:88:28: nsILDAPMessage.h: No= such file or directory /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/connectivity/source/drive= rs/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:89:36: nsILDAPMessageListen= er.h: No such file or directory /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/connectivity/source/drive= rs/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:90:27: nsILDAPErrors.h: No = such file or directory /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/connectivity/source/drive= rs/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:91:31: nsILDAPConnection.h:= No such file or directory [...] dmake: Error code 1, while making '../../../../unxfbsd.pro/slo/MDatabaseMe= taDataHelper.obj' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-1.1/= work/oo_1.1_src/connectivity/source/drivers/mozab/mozillasrc dmake: Error code 1, while making 'build_all' ---* TG_SLO.MK *--- *** Error code 255 Stop in /usr/ports/editors/openoffice-1.1. How do you compile this beast at all? Here are the dependencies as found on my system with make clean. Is there anything bogus here? root@hal9000:/usr/ports/editors/openoffice-1.1 # make clean =3D=3D=3D> Cleaning for rpm-3.0.6_8 =3D=3D=3D> Cleaning for unzip-5.50_2 =3D=3D=3D> Cleaning for zip-2.3_1 =3D=3D=3D> Cleaning for libiconv-1.9.1_3 =3D=3D=3D> Cleaning for ORBit-0.5.17_1 =3D=3D=3D> Cleaning for apache-ant-1.6.0 =3D=3D=3D> Cleaning for atk-1.4.1_1 =3D=3D=3D> Cleaning for autoconf-2.53_1 =3D=3D=3D> Cleaning for autoconf-2.13.000227_5 =3D=3D=3D> Cleaning for automake-1.4.5_9 =3D=3D=3D> Cleaning for bison-1.75_1 =3D=3D=3D> Cleaning for gettext-0.12.1 =3D=3D=3D> Cleaning for glib-1.2.10_10 =3D=3D=3D> Cleaning for glib-2.2.3 =3D=3D=3D> Cleaning for gmake-3.80_1 =3D=3D=3D> Cleaning for imake-4.3.0_2 =3D=3D=3D> Cleaning for libtool-1.3.5_1 =3D=3D=3D> Cleaning for m4-1.4_1 =3D=3D=3D> Cleaning for nspr-4.3_2 =3D=3D=3D> Cleaning for pkgconfig-0.15.0 =3D=3D=3D> Cleaning for popt-1.6.4_1 =3D=3D=3D> Cleaning for linux_base-7.1_5 =3D=3D=3D> Cleaning for jpeg-6b_1 =3D=3D=3D> Cleaning for lcms-1.09,1 =3D=3D=3D> Cleaning for libmng-1.0.5_1 =3D=3D=3D> Cleaning for png-1.2.5_3 =3D=3D=3D> Cleaning for tiff-3.6.1 =3D=3D=3D> Cleaning for javavmwrapper-1.4 =3D=3D=3D> Cleaning for jdk-1.4.2p5 =3D=3D=3D> Cleaning for linux-sun-jdk-1.4.2.03 =3D=3D=3D> Cleaning for perl-5.6.1_15 =3D=3D=3D> Cleaning for help2man-1.29 =3D=3D=3D> Cleaning for freetype2-2.1.5_1 =3D=3D=3D> Cleaning for expat-1.95.6_1 =3D=3D=3D> Cleaning for XFree86-fontEncodings-4.3.0 =3D=3D=3D> Cleaning for XFree86-fontScalable-4.3.0 =3D=3D=3D> Cleaning for Xft-2.1.2 =3D=3D=3D> Cleaning for fontconfig-2.2.90_3 =3D=3D=3D> Cleaning for urwfonts-1.0 =3D=3D=3D> Cleaning for gtk-1.2.10_10 =3D=3D=3D> Cleaning for gtk-2.2.4_1 =3D=3D=3D> Cleaning for open-motif-2.2.2_1 =3D=3D=3D> Cleaning for pango-1.2.5 =3D=3D=3D> Cleaning for XFree86-clients-4.3.0_6 =3D=3D=3D> Cleaning for XFree86-libraries-4.3.0_6 =3D=3D=3D> Cleaning for openoffice-1.1.0_1 Regards, Jens --=20 Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031230164951.GA6142>