Why is the build so fragile?
Jens Schweikhardt
schweikh at schweikhardt.net
Tue Dec 30 08:50:01 PST 2003
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.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/external -I/usr/ports/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/ports/editors/openoffice-1.1/work/oo_1.1_src/solenv/inc -I/usr/ports/editors/openoffice-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.1/work/oo_1.1_src/solenv/inc/Xp31 -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/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/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/nspr -I/usr/ports/editors/openoffice-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/solver/645/unxfbsd.pro/inc/mozilla/rdf -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/msgbase -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/addrbook -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.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/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/pref -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/mime -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.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/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/intl -I/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/mozilla/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/editors/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 -fno-rtti -fexceptions -fno-rtti -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-long-long -pthread -fPIC -DFREEBSD -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE -D_USE_NAMESPACE=1 -DX86 -DNEW_SOLAR -DSTLPORT_VERSION=450 -DOSVERSION=502101 -D_THREAD_SAFE -D_REENTRANT -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DBUILD=8693 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRX645 -DMOZILLA_CLIENT -DOSTYPE=\"Linux2.2.14-5\" -DOJI -DTRACING -DSHAREDLIB -D_DLL_ -DMULTITHREAD -w -o ../../../../unxfbsd.pro/slo/MDatabaseMetaDataHelper.o /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.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/connectivity/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/connectivity/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/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:87:24: nsILDAPURL.h: No such file or directory
/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/connectivity/source/drivers/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/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:89:36: nsILDAPMessageListener.h: No such file or directory
/usr/ports/editors/openoffice-1.1/work/oo_1.1_src/connectivity/source/drivers/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/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx:91:31: nsILDAPConnection.h: No such file or directory
[...]
dmake: Error code 1, while making '../../../../unxfbsd.pro/slo/MDatabaseMetaDataHelper.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 at hal9000:/usr/ports/editors/openoffice-1.1 # make clean
===> Cleaning for rpm-3.0.6_8
===> Cleaning for unzip-5.50_2
===> Cleaning for zip-2.3_1
===> Cleaning for libiconv-1.9.1_3
===> Cleaning for ORBit-0.5.17_1
===> Cleaning for apache-ant-1.6.0
===> Cleaning for atk-1.4.1_1
===> Cleaning for autoconf-2.53_1
===> Cleaning for autoconf-2.13.000227_5
===> Cleaning for automake-1.4.5_9
===> Cleaning for bison-1.75_1
===> Cleaning for gettext-0.12.1
===> Cleaning for glib-1.2.10_10
===> Cleaning for glib-2.2.3
===> Cleaning for gmake-3.80_1
===> Cleaning for imake-4.3.0_2
===> Cleaning for libtool-1.3.5_1
===> Cleaning for m4-1.4_1
===> Cleaning for nspr-4.3_2
===> Cleaning for pkgconfig-0.15.0
===> Cleaning for popt-1.6.4_1
===> Cleaning for linux_base-7.1_5
===> Cleaning for jpeg-6b_1
===> Cleaning for lcms-1.09,1
===> Cleaning for libmng-1.0.5_1
===> Cleaning for png-1.2.5_3
===> Cleaning for tiff-3.6.1
===> Cleaning for javavmwrapper-1.4
===> Cleaning for jdk-1.4.2p5
===> Cleaning for linux-sun-jdk-1.4.2.03
===> Cleaning for perl-5.6.1_15
===> Cleaning for help2man-1.29
===> Cleaning for freetype2-2.1.5_1
===> Cleaning for expat-1.95.6_1
===> Cleaning for XFree86-fontEncodings-4.3.0
===> Cleaning for XFree86-fontScalable-4.3.0
===> Cleaning for Xft-2.1.2
===> Cleaning for fontconfig-2.2.90_3
===> Cleaning for urwfonts-1.0
===> Cleaning for gtk-1.2.10_10
===> Cleaning for gtk-2.2.4_1
===> Cleaning for open-motif-2.2.2_1
===> Cleaning for pango-1.2.5
===> Cleaning for XFree86-clients-4.3.0_6
===> Cleaning for XFree86-libraries-4.3.0_6
===> Cleaning for openoffice-1.1.0_1
Regards,
Jens
--
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
More information about the freebsd-openoffice
mailing list