[ooo-build] how to track down parallel build issues?
Andreas Radke
a.radke at arcor.de
Sat Apr 10 03:04:13 PDT 2010
This issue is still present in 3.2.0.10 - annoying.
Am Wed, 7 Apr 2010 16:41:44 +0200
schrieb Petr Mladek <pmladek at suse.cz>:
> On Monday 05 April 2010, Andreas Radke wrote:
> > I've run again into a parallel build breaker:
>
> Why do you think that it is a parallel build problem? Does it help
> you to reduce build parallelism?
>
I can build the package with -j1 but my wanted -j6 (it's a quad core cpu) makes it fail always:
> > **************************************************
> > ERROR: ERROR: Could not register all components for file
> > services.rdb (gid_Starregistry_Services_Rdb)! in function:
> > create_services_rdb
> > **************************************************
> >
> > **************************************************
> > ERROR: Saved
> > logfile:
> > /tmp/go-openoffice/trunk/src/ooo-build-3.2.0.9/build/ooo320-m12/instsetoo_n
> >ative/util/OpenOffice//logging/en-US/log_OOO320_en-US.log
> > **************************************************
> >
> > log_OOO320_en-US.log:
> >
> > register component
> > 'file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.9/build/ooo320-m12/sol
> >ver/320/unxlngx6.pro/bin/LuceneHelpWrapper.jar' in registry
> > '/tmp/ooopackaging/i_171161270477878/unxlngx6.pro/OpenOffice//gid_Starregis
> >try_Services_Rdb_servicesrdb/en-US_inprogress_1/services.rdb'
> >failed! error
> > (CannotRegisterImplementationException):
>
> Do you see the same problem with all .jar files or only with the
> LuceneHelpWrapper.jar?
only with LuceneHelpWrapper.jar:
register component 'file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/LuceneHelpWrapper.jar' in registry '/tmp/ooopackaging/i_181801270835143/unxlngx6.pro/OpenOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_inprogress_1/services.rdb' failed!
error (CannotRegisterImplementationException):
later:
ERROR: /tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/regcomp -register -br /tmp/ooopackaging/i_181801270835143/unxlngx6.pro/OpenOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_inprogress_1/regcomp.rdb -r /tmp/ooopackaging/i_181801270835143/unxlngx6.pro/OpenOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_inprogress_1/services.rdb -c 'file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/agenda.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/fax.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/form.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/letter.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/LuceneHelpWrapper.jar;file:///tmp/go-openoffice/trun
k/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/query.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/report.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/ScriptFramework.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/ScriptProviderForBeanShell.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/ScriptProviderForJava.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/ScriptProviderForJavaScript.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/table.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/web.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12
/solver/320/unxlngx6.pro/bin/XMergeBridge.jar;file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/XSLTFilter.jar' -l com.sun.star.loader.Java2 -wop='vnd.sun.star.expand:$OOO_BASE_DIR/program/classes/' -env:URE_INTERNAL_JAVA_DIR='file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin' 2>&1 |
Systemcall: /tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/regcomp -register -br /tmp/ooopackaging/i_181801270835143/unxlngx6.pro/OpenOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_inprogress_1/regcomp.rdb -r /tmp/ooopackaging/i_181801270835143/unxlngx6.pro/OpenOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_inprogress_1/services.rdb -c 'file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/XSLTValidate.jar' -l com.sun.star.loader.Java2 -wop='vnd.sun.star.expand:$OOO_BASE_DIR/program/classes/' -env:URE_INTERNAL_JAVA_DIR='file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin' 2>&1 |
file:///tmp/go-openoffice/trunk/src/ooo-build-3.2.0.10/build/ooo320-m12/solver/320/unxlngx6.pro/bin/XSLTValidate.jar
Not sure if this is caused by the issue above.
>
> What JDK you are using?
[andyrtr at workstation64 ~]$ java -version
java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.3) (ArchLinux-6.b17_1.7.3-1-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
>
> The lucene stuff seems to depend on the expat stuff,
> see /tmp/go-openoffice/trunk/src/ooo-build-3.2.0.9/build/ooo320-m12/lucene/prj/build.lst
> Do you use the system expat?
checking which expat to use... external
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
> Sigh, I do not like these problems. They are usually hard to debug.
>
>
> The files are registered by the command regcomp. In the installed
> system, it is in <ooo-home>/ure/bin/regcomp and it is a symlink to
> startup.sh.
>
> I usually patched the startup.sh, see the attached diff to get
> strace. The strace might show if it found all wanted .jar files, ...
>
> Hmm, I haven't done it for a long time. I think that should patch the
> startup.sh file in
> in /tmp/go-openoffice/trunk/src/ooo-build-3.2.0.9/build/ooo320-m12/solver/320/unxlngx6.pro/bin/ure/startup.sh.
>
Patch applied. It doesn't create the /tmp/strace.1.log output file.
> Alternatively, you might add some debug output into
> /tmp/go-openoffice/trunk/src/ooo-build-3.2.0.9/build/ooo320-m12/solenv/bin/modules/installer/servicesfile.pm
> into the function register_javacomponents, ...
>
Found it. But what should I add there?
I'm no coder at all :(
-Andy
More information about the ooo-build
mailing list