Apache OpenOffice (AOO) Bugzilla – Issue 18070
Project pyuno not buildable with MAXPROCESS > 1
Last modified: 2003-10-11 13:17:15 UTC
Hi, with MAXPROCESS=4, I'm not able to build pyuno module properly: Making: ../../unxlngi4.pro/slb/pythonloader.uno.lib register component 'invocation.uno' in registry 'pyuno_services.tmp' succesful! ------------------------------ /mnt/hdc2/pavel//BuildDir/ccache /opt/experimental/bin/gcc -c -fPIC -o ../../unxlngi4.pro/slo/pythonloader.uno_version.o -DUNX -I../ rm -f ../../unxlngi4.pro/lib/check_pythonloader.uno.so mv ../../unxlngi4.pro/lib/pythonloader.uno.so ../../unxlngi4.pro/lib/check_pythonloader.uno.so /mnt/hdc2/pavel/BuildDir/ooo_11rc3_src/solenv/bin/checkdll.sh -L../../unxlngi4.pro/lib -L../lib -L/mnt/hdc2/pavel/BuildDir/ooo_11rc3_ Making: ../../unxlngi4.pro/lib/pythonloader.uno.so ------------------------------ Making: ../../unxlngi4.pro/lib/ipythonloader.uno.lib no ImportLibs on Mac and *ix register component 'corereflection.uno' in registry 'pyuno_services.tmp' succesful! register component 'introspection.uno' in registry 'pyuno_services.tmp' succesful! register component 'invocadapt.uno' in registry 'pyuno_services.tmp' succesful! register component 'proxyfac.uno' in registry 'pyuno_services.tmp' succesful! register component 'pythonloader.uno' in registry 'pyuno_services.tmp' failed! error (CannotRegisterImplementationException): loading component library failed: pythonloader.uno.so /mnt/hdc2/pavel//BuildDir/ccache /opt/experimental/bin/gcc -z combreloc -z /defs -Wl,-rpath,'$ORIGIN' -shared -Wl,-O1 -Wl,--version-script /../../unxlngi4.pro/misc/component_pythonloader.uno.map /-L../../unxlngi4.pro/lib -L../lib /-L/mnt/hdc2/pavel/BuildDir/ooo_11rc3_src/solenv/unxlngi4/lib /-L/mnt/hdc2/pavel/BuildDir/ooo_11rc3_src/solver/645/unxlngi4.pro/lib /-L/mnt/hdc2/pavel/BuildDir/ooo_11rc3_src/solenv/unxlngi4/lib /-L/usr/lib/java/lib -L/usr/lib/java/jre/lib/i386 /-L/usr/lib/java/jre/lib/i386/client /-L/usr/lib/java/jre/lib/i386/native_threads -L/usr/X11R6/lib /../../unxlngi4.pro/slo/pythonloader.uno_version.o /../../unxlngi4.pro/slo/pythonloader.uno_description.o -o /../../unxlngi4.pro/lib/pythonloader.uno.so /../../unxlngi4.pro/slo/pyuno_loader.o -lcppu -lcppuhelpergcc3 -lsal -lpyuno /-lpython -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++ dmake: Error code 1, while making '../../unxlngi4.pro/lib/pyuno_services.rdb' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /mnt/hdc2/pavel/BuildDir/ooo_11rc3_src/pyuno/source/loader dmake: Error code 1, while making 'instsetoo/prj/build_all' ---* TG_SLO.MK *--- It could be workarounded by pavel@oo:~/BuildDir/ooo_11rc3_src/pyuno/source/loader> diff -u makefile.mk.MAXPROCESS makefile.mk --- makefile.mk.MAXPROCESS Sat Aug 9 15:38:59 2003 +++ makefile.mk Sat Aug 9 15:39:09 2003 @@ -59,6 +59,7 @@ #************************************************************************* PRJ=..$/.. +MAXPROCESS=1 PRJNAME=pyuno TARGET=pythonloader.uno ENABLE_EXCEPTIONS=TRUE But this is of course not correct solution - some dependency is missing, IMHO.
Hi, is there already an open branch towards 1.1.1 to commit changes ? Bye, Joerg
I do not think so :-( Do you have an idea what is wrong so I can test on my systems?
Created attachment 8376 [details] Correct dependencies
I confirm this patch fixed the problem. I did 100 recompilations of pyuno with MAXPROCESS=4 and all resulted in the same log file. Thank you.
rc3 is still open - what about commiting there? I think it is safe.
As the tarballs are out, it does not really make sense anymore IMHO. Waiting for the next branch ...
I fixed it in cws_srx645_ooo111fix1.
Thx for adding it to 1.1.1.