Issue 18070 - Project pyuno not buildable with MAXPROCESS > 1
Summary: Project pyuno not buildable with MAXPROCESS > 1
Status: CLOSED FIXED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: PC Linux, all
: P4 Trivial (vote)
Target Milestone: ---
Assignee: joergbudi
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks: 9443
  Show dependency tree
 
Reported: 2003-08-09 14:37 UTC by pavel
Modified: 2003-10-11 13:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Correct dependencies (1013 bytes, patch)
2003-08-10 08:51 UTC, joergbudi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2003-08-09 14:37:56 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.
Comment 1 joergbudi 2003-08-09 19:23:24 UTC
Hi,

is there already an open branch towards 1.1.1 to commit changes ?

Bye, Joerg
Comment 2 pavel 2003-08-09 21:21:04 UTC
I do not think so :-(

Do you have an idea what is wrong so I can test on my systems?
Comment 3 joergbudi 2003-08-10 08:51:50 UTC
Created attachment 8376 [details]
Correct dependencies
Comment 4 pavel 2003-08-10 13:08:45 UTC
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.
Comment 5 pavel 2003-08-11 21:03:44 UTC
rc3 is still open - what about commiting there? I think it is safe.
Comment 6 joergbudi 2003-08-12 20:34:31 UTC
As the tarballs are out, it does not really make sense anymore IMHO.
Waiting for the next branch ...
Comment 7 pavel 2003-10-09 12:18:11 UTC
I fixed it in cws_srx645_ooo111fix1.
Comment 8 joergbudi 2003-10-11 13:17:15 UTC
Thx for adding it to 1.1.1.