[Libreoffice] build fail in tail_build InvalidRegistryException in ScFiltersTest::testCVEs

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Nov 8 04:12:17 PST 2011


Hello Caolan,

2011/11/8 Caolán McNamara <caolanm at redhat.com>:
> On Tue, 2011-11-08 at 11:26 +0000, Michael Meeks wrote:
>> Hi Noel,
>>
>>       This does look interesting :-) thanks for the trace.
>>
>> On Tue, 2011-11-08 at 09:26 +0200, Noel Grandin wrote:
>> > Test name: ScFiltersTest::testCVEs
>> > setUp() failed
>> > - An uncaught exception of type
>> > com.sun.star.registry.InvalidRegistryException
>> > -
>> > file:///c:/libreoffice/libo/workdir/wntmsci12.pro/RdbTarget/sc_filters_test.rdb: <component> has empty "uri" attribute
>>
>>       So - this file looks like it has not been created correctly.
>
> db: <component> has empty "uri" attribute I think is basically coming
> from xmlsecurity. i.e.
>
> sc/RdbTarget_sc_filters_test.mk has xmlsecurity/util/xsec_xmlsec in it,
> but xmlsecurity/Library_xsec_xmlsec.mk has
>
> ifeq ($(OS),WNT)
> $(eval $(call
> gb_Library_set_componentfile,xsec_xmlsec,xmlsecurity/util/xsec_xmlsec.windows))
> else
> $(eval $(call
> gb_Library_set_componentfile,xsec_xmlsec,xmlsecurity/util/xsec_xmlsec))
> endif
>
> in it. Which suggests that sc/RdbTarget_sc_filters_test.mk should have
> an OS dependent xsec_xmlsec vs xsec_xmlsec.windows in it. I *think* the
> absence of the .component file makes the build one try and make one
> itself from the stub for the other OS.
>

That might be one point but I had the same problem already several
times before I added the xmlsec components. What solved this issue for
me was a clean rebuild.

I did never spend time investigating it because it always disappeared
after the first clean rebuild.

Regards,
Markus


More information about the LibreOffice mailing list