Apache OpenOffice (AOO) Bugzilla – Issue 88167
Unbreak build of udk/cppuhelper/test and subdirs on Unix
Last modified: 2017-05-20 11:35:24 UTC
When building this one encounters many issues: Making: ../unxfbsdx/obj/testdefaultbootstrapping.obj ccache c++ -fmessage-length=0 -c -g -O0 -I. -I../unxfbsdx/inc/test -I../unxfbsdx/inc/test -I../inc -I../inc/pch -I../inc -I../unx/inc -I../unxfbsdx/inc -I. -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc/stl -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc/external -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/unxfbsdx/inc -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/inc -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/res -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc/stl -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/inc/Xp31 -I/usr/local/jdk1.5.0/include -I/usr/local/jdk1.5.0/include/freebsd -I/usr/local/jdk1.5.0/include/bsd -I/usr/local/jdk1.5.0/include/linux -I/usr/local/jdk1.5.0/include/native_threads/include -I/usr/local/include -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc/offuh -I. -I../res -I. -pipe -fvisibility-inlines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DX86_64 -D_STLP_DEBUG -DCVER=C341 -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=300 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA -DDEV300=DEV300 -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../unxfbsdx/obj/testdefaultbootstrapping.o /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testdefaultbootstrapping.cxx /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testdefaultbootstrapping.cxx: In function 'int sal_main()': /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testdefaultbootstrapping.cxx:63: error: invalid use of incomplete type 'struct com::sun::star::uno::XComponentContext' ../inc/cppuhelper/bootstrap.hxx:58: error: forward declaration of 'struct com::sun::star::uno::XComponentContext' dmake: Error code 1, while making '../unxfbsdx/obj/testdefaultbootstrapping.obj' in the test/testlib: dmake: /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/inc/target.mk: line 535: Warning: -- Macro `SHL1TARGETN' redefined after use ------------------------------ Making: ../../unxfbsdx/slo/defbootstrap_lib.obj ccache c++ -fmessage-length=0 -c -g -O0 -I/usr/local/lib/perl5/5.8.8/mach/CORE -I. -I../../unxfbsdx/inc/defbootstrap -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxfbsdx/inc -I. -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc/stl -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc/external -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/unxfbsdx/inc -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/inc -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/res -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc/stl -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/inc/Xp31 -I/usr/local/jdk1.5.0/include -I/usr/local/jdk1.5.0/include/freebsd -I/usr/local/jdk1.5.0/include/bsd -I/usr/local/jdk1.5.0/include/linux -I/usr/local/jdk1.5.0/include/native_threads/include -I/usr/local/include -I/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/inc/offuh -I. -I../../res -I. -pipe -fvisibility-inlines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DX86_64 -D_STLP_DEBUG -DCVER=C341 -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=300 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA -DDEV300=DEV300 -DSHAREDLIB -D_DLL_ -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../unxfbsdx/slo/defbootstrap_lib.o /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testlib/defbootstrap_lib.cxx /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testlib/defbootstrap_lib.cxx: In function 'sal_Bool tryService(const char*)': /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testlib/defbootstrap_lib.cxx:74: error: invalid use of incomplete type 'struct com::sun::star::uno::XComponentContext' ../../inc/cppuhelper/bootstrap.hxx:58: error: forward declaration of 'struct com::sun::star::uno::XComponentContext' /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testlib/defbootstrap_lib.cxx: In function 'void boot_UNO(CV*)': /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testlib/defbootstrap_lib.cxx:117: warning: deprecated conversion from string constant to 'char*' /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testlib/defbootstrap_lib.cxx:121: warning: deprecated conversion from string constant to 'char*' /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/cppuhelper/test/testlib/defbootstrap_lib.cxx:116: warning: unused variable 'items' dmake: Error code 1, while making '../../unxfbsdx/slo/defbootstrap_lib.obj' > and Making: ../../unxfbsdx/slb/defbootstrap.lib echo unxfbsdx/slo/defbootstrap_lib.o | xargs -n1 > ../../unxfbsdx/slb/defbootstrap.lib ------------------------------ Making: ../../unxfbsdx/lib/libdefbootstrap.so ccache c++ -Wl,-z,combreloc -g -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -Wl,-O1 -Wl,--version-script ../../unxfbsdx/misc/defbootstrap_defbootstrap.map -L../../unxfbsdx/lib -L../lib -L/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/unxfbsdx/lib -L/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/lib -L/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/unxfbsdx/lib -L/usr/local/jdk1.5.0/lib -L/usr/local/jdk1.5.0/jre/lib/amd64 -L/usr/local/jdk1.5.0/jre/lib/amd64/server -L/usr/local/jdk1.5.0/jre/lib/amd64/native_threads -L/usr/local/lib ../../unxfbsdx/slo/defbootstrap_version.o -o ../../unxfbsdx/lib/libdefbootstrap.so ../../unxfbsdx/slo/defbootstrap_lib.o -luno_cppuhelpergcc3 -luno_cppu -luno_sal -pthread -lm -Wl,-Bdynamic -lstlport_gcc_stldebug rm -f ../../unxfbsdx/lib/check_libdefbootstrap.so mv ../../unxfbsdx/lib/libdefbootstrap.so ../../unxfbsdx/lib/check_libdefbootstrap.so /usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solenv/bin/checkdll.sh -L../../unxfbsdx/lib -L/usr/obj/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m5/solver/300/unxfbsdx/lib ../../unxfbsdx/lib/check_libdefbootstrap.so Checking DLL ../../unxfbsdx/lib/check_libdefbootstrap.so ...: ERROR: ../../unxfbsdx/lib/check_libdefbootstrap.so: Undefined symbol "PL_markstack_ptr" dmake: Error code 1, while making '../../unxfbsdx/lib/libdefbootstrap.so' >
Created attachment 52750 [details] Patches to fix the udk/cppuhelper/test build problems
@kr: care to take over? ;-)
Let's see ...
@sb: please have a look
by now (DEV300_m93) fails even more badly; see <http://wiki.services.openoffice.org/w/index.php?title=Uno/Cpp/Modules/CPPUhelper&oldid=143597#Tests> for how it was intended to be usable, and lets see if it can be revived
Reset assigne to the default "issues@openoffice.apache.org".