OOo 2.1 doesn't compile on 6-STABLE

Bartosz Fabianowski freebsd at chillt.de
Thu Dec 14 04:40:50 PST 2006


Hi all

I tried to upgrade my OpenOffice.org installation from 2.0.4 to 2.1 last 
night and it bombed with the following error message. The flags used were:

WITH_GNUGCJ=1 WITHOUT_MOZILLA=1 WITH_KDE=1 WITH_CCACHE=1 
WITH_TTF_BYTECODE_ENABLED=1

The only other nonstandard setting is CCACHE_DIR=/tmp/ccache (I don't 
have enough space in / for all those ccache files). This is an i386 
6-STABLE box. I have successfully been using this machine to build 
OpenOffice.org for over two years, so this must be a new problem, 
introduced by the recent update:

Making: ../../unxfbsdi.pro/slo/XSLTFilter.obj
ccache g++41 -fmessage-length=0 -c -Os -fno-strict-aliasing   -I. 
-I../../unxfbsdi.pro/inc/XSLTFilter -I../inc -I../../inc/pch -I../../inc 
-I../../unx/inc -I../../unxfbsdi.pro/inc -I. 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc/stl 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc/external 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solenv/unxfbsdi/inc 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solenv/inc 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/res 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc/stl 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solenv/inc/Xp31 
-I/usr/local/lib/jvm/java-gcj41/include -I/usr/X11R6/include 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc/offuh 
-I. -I../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden 
-g1 -fexceptions -fno-enforce-eh-specs -Wall -Wextra -Wendif-labels 
-Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic 
-DFREEBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DX86 
-D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 
-DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX 
-DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/local/lib/gcc-4.1.2/include/c++ 
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 
-DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOE680=OOE680 
-DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o 
../../unxfbsdi.pro/slo/XSLTFilter.o 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx: 
In constructor 'XSLT::FLABridge::FLABridge(const 
com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&)':
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:131: 
warning: declaration of 'm_rDocumentHandler' shadows a member of 'this'
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx: 
In member function 'virtual void XSLT::FLABridge::startElement(const 
rtl::OUString&, const 
com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList>&)':
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:153: 
warning: unused variable '_attriblist'
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx: 
In constructor 'XSLT::XSLTFilter::XSLTFilter(const 
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>&)':
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:242: 
warning: 'XSLT::XSLTFilter::m_bTerminated' will be initialized after
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:241: 
warning:   'sal_Bool XSLT::XSLTFilter::m_bError'
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:294: 
warning:   when initialized here
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx: 
At global scope:
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:303: 
warning: unused parameter 'e'
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx: 
In member function 'virtual void XSLT::XSLTFilter::startElement(const 
rtl::OUString&, const 
com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList>&)':
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:586: 
warning: unused variable '_attriblist'
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx: 
At global scope:
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:660: 
warning: unused parameter 'ppEnv'
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:665: 
warning: unused parameter 'pServiceManager'
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/XSLTFilter.cxx:691: 
warning: unused parameter 'pRegistryKey'
if ( -e ../../unxfbsdi.pro/slo/XSLTFilter.o ) touch 
../../unxfbsdi.pro/slo/XSLTFilter.obj
------------------------------
Making: ../../unxfbsdi.pro/slo/fla.obj
ccache g++41 -fmessage-length=0 -c -Os -fno-strict-aliasing   -I. 
-I../../unxfbsdi.pro/inc/XSLTFilter -I../inc -I../../inc/pch -I../../inc 
-I../../unx/inc -I../../unxfbsdi.pro/inc -I. 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc/stl 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc/external 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solenv/unxfbsdi/inc 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solenv/inc 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/res 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc/stl 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solenv/inc/Xp31 
-I/usr/local/lib/jvm/java-gcj41/include -I/usr/X11R6/include 
-I/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc/offuh 
-I. -I../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden 
-g1 -fexceptions -fno-enforce-eh-specs -Wall -Wextra -Wendif-labels 
-Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic 
-DFREEBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DX86 
-D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 
-DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX 
-DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/local/lib/gcc-4.1.2/include/c++ 
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 
-DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOE680=OOE680 
-DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxfbsdi.pro/slo/fla.o 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter/fla.cxx
if ( -e ../../unxfbsdi.pro/slo/fla.o ) touch ../../unxfbsdi.pro/slo/fla.obj
rm -f ../../unxfbsdi.pro/misc/XSLTFilter_dummy.java >& /dev/null
rm -f ../../unxfbsdi.pro/misc/XSLTFilter_dummy.java >& /dev/null
rm -f ../../unxfbsdi.pro/misc/XSLTFilter_dummy.java >& /dev/null
/usr/local/lib/jvm/java-gcj41/bin/gcj --encoding=UTF-8 -O2 -fno-assert 
-Wno-deprecated -C -classpath 
".:../../unxfbsdi.pro/class::/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/bin/ridl.jar:/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/bin/unoil.jar:/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/bin/jurt.jar:/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/bin/juh.jar:/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/bin/xalan.jar:/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/bin/xercesImpl.jar:/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/bin/xml-apis.jar" 
-d ../../unxfbsdi.pro/class  XSLTransformer.java 
XSLTFilterOLEExtracter.java XSLTXalanOLEExtracter.java
XSLTXalanOLEExtracter.java: In class 'XSLTXalanOLEExtracter':
XSLTXalanOLEExtracter.java: In method 
'XSLTXalanOLEExtracter.init(org.apache.xalan.extensions.XSLProcessorContext,org.apache.xalan.templates.ElemExtensionCall)':
XSLTXalanOLEExtracter.java:52: error: cannot find file for class 
org.apache.xml.serializer.SerializerTrace
XSLTXalanOLEExtracter.java:52: error: cannot find file for class 
org.apache.xml.serializer.SerializerTrace
dmake:  Error code 1, while making 
'../../unxfbsdi.pro/misc/XSLTFilter_dummy.java'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/filter/source/xsltfilter
dmake:  Error code 1, while making 'build_instsetoo_native'
'---*  *---'
*** Error code 255

Stop in /usr/ports/editors/openoffice.org-2.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade.39378.26 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=openoffice.org-2.0.4 UPGRADE_PORT_VER=2.0.4 make 
WITH_GNUGCJ=1 WITHOUT_MOZILLA=1 WITH_KDE=1 WITH_CCACHE=1 
WITH_TTF_BYTECODE_ENABLED=1
** Fix the problem and try again.


More information about the freebsd-openoffice mailing list