Date: Wed, 31 Mar 2010 10:51:31 -0400 From: jhell <jhell@dataix.net> To: Oliver Lehmann <lehmann@ans-netz.de> Cc: ports@freebsd.org, sylvio@FreeBSD.org, openoffice@freebsd.org Subject: Re: Openoffice 3.2.0 build error Message-ID: <4BB36173.6080901@dataix.net> In-Reply-To: <20100331073626.32462.qmail@avocado.salatschuessel.net> References: <20100331073626.32462.qmail@avocado.salatschuessel.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/31/2010 03:36, Oliver Lehmann wrote: > Hi, > when trying to compile openoffice.org-3 I'm getting: > c++ -fmessage-length=0 -c -O2 -fno-strict-aliasing -DENABLE_LAYOUT=0 > -DENABLE_LAYOUT_EXPERIMENTAL=0 -I. > -I../../../../../../unxfbsdx.pro/inc/c5t_testresult -I../inc > -I../../../../../../inc/pch -I../../../../../../inc > -I../../../../../../unx/inc -I../../../../../../unxfbsdx.pro/inc -I. > -I/usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320 > > _m12/solver/320/unxfbsdx.pro/inc/stl > -I/usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320 > > _m12/solver/320/unxfbsdx.pro/inc/external > -I/usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320 > > _m12/solver/320/unxfbsdx.pro/inc > -I/usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320 > > _m12/solenv/unxfbsdx/inc > -I/usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320 > > _m12/solenv/inc > -I/usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320 > > _m12/res > -I/usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320 > > _m12/solver/320/unxfbsdx.pro/inc/stl > -I/usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320 > > _m12/solenv/inc/Xp31 -I/usr/local/diablo-jdk1.6.0/include > -I/usr/local/diablo-jdk1.6.0/include/freebsd > -I/usr/local/diablo-jdk1.6.0/include/bsd > -I/usr/local/diablo-jdk1.6.0/include/linux > -I/usr/local/diablo-jdk1.6.0/include/native_threads/include > -I/usr/local/include > -I/usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320 > > _m12/solver/320/unxfbsdx.pro/inc/offuh -I../../include > -I../../../../../../res -I. -pipe -fvisibility-inlines-hidden -g1 -Wall > -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy > -Wno-non-virtual-dtor -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 > -DX86_64 -DX86_64 -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/include/c++/4.2 > -DSUPD=320 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 > -DOPTIMIZE -DCUI -DSOLAR_JAVA -DSHAREDLIB -D_DLL_ -fexceptions > -fno-enforce-eh-specs -DEXCEPTIONS_ON -o > ../../../../../../unxfbsdx.pro/slo/TestResult.o > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp > In file included from > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp:4 > > : > ../../include/cppunit/result/TestResult.h:72: error: 'ErrorType' has not > been declared > ../../include/cppunit/result/TestResult.h:72: error: expected ',' or > '...' before 'eType' > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp:4 > > 6: error: 'ErrorType' has not been declared > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp:4 > > 6: error: expected ',' or '...' before '_eType' > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp: > In member function 'virtual void > CppUnit::TestResult::addError(CppUnit::Test*, CppUnit::Exception*, int)': > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp:4 > > 8: error: '_eType' was not declared in this scope > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp: > At global scope: > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp:4 > > 6: warning: unused parameter 'num' > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp: > In member function 'virtual void > CppUnit::TestResult::addFailure(CppUnit::Test*, CppUnit::Exception*)': > /usr/obj/amd64-athlon64-8.0/usr/ports/editors/openoffice.org-3/work/OOO320_m > > 12/cppunit/unxfbsdx.pro/misc/build/cppunit-1.8.0/src/result/TestResult.cpp:5 > > 9: error: 'ErrorType' has not been declared > dmake: Error code 1, while making > '../../../../../../unxfbsdx.pro/slo/TestResult.obj' > dmake: Error code 255, while making 'target' > dmake: Error code 255, while making > './unxfbsdx.pro/misc/build/so_built_so_cppunit' > > How can this be fixed? Remove (pkg_delete -d -f cppunit-1.\*) and restart your build with a make from /usr/ports/editors/openoffice-3/ and it should continue in the same place it left off. In case it does not start from the same place and fails just make clean && make should restart it. This has been a known problem for a while. What actual use cppunit is, is beyond me. And it looks as if it was required by epdfview on my system and re-installed after the recent upgrades involving png-. Maintainer of epdfview CC'd. Comment to Maintainer: Does this port (epdfview) really require cppunit ? as this seems to be the only case on my system that is pulling this in do you think it could possibly phased out of the port ?. Comment to OpenOffice Maintainers: Would it be a possibility to check for the install of cppunit & possibly prompt the user to remove the package or even possibly provide a option to remove the package right from the Makefile so it does not stop a upgrade process ? as this seems to have been a problem since OOo 2+ Thanks & regards, -- jhell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BB36173.6080901>