[ooo-build] how to track down parallel build issues?
Petr Mladek
pmladek at suse.cz
Wed Apr 7 07:41:44 PDT 2010
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?
> **************************************************
> 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?
What JDK you are using?
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?
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.
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, ...
--
Best Regards,
Petr Mladek
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: pmladek at suse.cz
Lihovarská 1060/12 tel: +420 284 028 952
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startup.sh.diff
Type: text/x-diff
Size: 339 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/ooo-build/attachments/20100407/f7a6d834/attachment.diff>
More information about the ooo-build
mailing list