Build fails 'RuntimeException'

classic Classic list List threaded Threaded
6 messages Options
Jean-Tiare LE BIGOT-2 Jean-Tiare LE BIGOT-2
Reply | Threaded
Open this post in threaded view
|

Build fails 'RuntimeException'

Hi !

I'm trying to do some changes in LibreOffice and I can not manage to
build LibreOffice anymore. I get this exception :

terminate called after throwing an instance of
'com::sun::star::uno::RuntimeException'

It seems to be caused in "[ build CUT ] sot_test_sot"

I suspect it is related to /testtools/source/bridgetest/cppobj.cxx:306
after running:

S=/home/jean-tiare/dev/libreoffice && O=$S/solver/unxlngi6.pro &&
W=$S/workdir/unxlngi6.pro && gdb --args $O/bin/uno -ro
$O/xml/uno_services.rdb -ro $O/bin/udkapi.rdb -ro
$W/UnoApiTarget/bridgetest.rdb -s com.sun.star.test.bridge.BridgeTest --
com.sun.star.test.bridge.CppTestObject

I tried everything including cleaning all, pulling, re-run autogen.sh
and reverting all my changes with a global "git checkout". Any clue
what's wrong ?



--
Jean-Tiare
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Jean-Tiare LE BIGOT-2 Jean-Tiare LE BIGOT-2
Reply | Threaded
Open this post in threaded view
|

Re: Build fails 'RuntimeException'

It appears to produce the same error from a fresh git clone. Any idea ?

On 29/07/2012 14:24, Jean-Tiare LE BIGOT wrote:

> Hi !
>
> I'm trying to do some changes in LibreOffice and I can not manage to
> build LibreOffice anymore. I get this exception :
>
> terminate called after throwing an instance of
> 'com::sun::star::uno::RuntimeException'
>
> It seems to be caused in "[ build CUT ] sot_test_sot"
>
> I suspect it is related to /testtools/source/bridgetest/cppobj.cxx:306
> after running:
>
> S=/home/jean-tiare/dev/libreoffice && O=$S/solver/unxlngi6.pro &&
> W=$S/workdir/unxlngi6.pro && gdb --args $O/bin/uno -ro
> $O/xml/uno_services.rdb -ro $O/bin/udkapi.rdb -ro
> $W/UnoApiTarget/bridgetest.rdb -s com.sun.star.test.bridge.BridgeTest --
> com.sun.star.test.bridge.CppTestObject
>
> I tried everything including cleaning all, pulling, re-run autogen.sh
> and reverting all my changes with a global "git checkout". Any clue
> what's wrong ?
>
>
>


--
Jean-Tiare
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
julien2412 julien2412
Reply | Threaded
Open this post in threaded view
|

Re: Build fails 'RuntimeException'

In reply to this post by Jean-Tiare LE BIGOT-2
Hi,

It could be useful you give these info:
- which branch do you use (master, 3.6, 3.5?)
- which env (Linux, Mac os, windows?) (32, 64?)
- gcc  version
- content of autogen.lastrun

Julien
Jean-Tiare LE BIGOT-2 Jean-Tiare LE BIGOT-2
Reply | Threaded
Open this post in threaded view
|

Re: Build fails 'RuntimeException'

Thanks for your answer.

I tried from a fresh clone, removed ccache and even LO rc-2 which was
normally installed (not as dev)

I really have no idea of what to do. It appears that the exception is
intentionally thrown from a test but never caught.

On 29/07/2012 19:34, julien2412 wrote:
> Hi,
>
> It could be useful you give these info:
> - which branch do you use (master, 3.6, 3.5?)
fresh master clone from less than 6 hours
> - which env (Linux, Mac os, windows?) (32, 64?)
Ubuntu 12.10 32 bits
> - gcc  version
gcc (Ubuntu/Linaro 4.7.1-5ubuntu1) 4.7.1
> - content of autogen.lastrun
only '--enable-debug'

>
> Julien
>
>
>
> --
> View this message in context: http://nabble.documentfoundation.org/Build-fails-RuntimeException-tp3998344p3998388.html
> Sent from the Dev mailing list archive at Nabble.com.
> _______________________________________________
> LibreOffice mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>


--
Jean-Tiare
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Michael Stahl-2 Michael Stahl-2
Reply | Threaded
Open this post in threaded view
|

Re: Build fails 'RuntimeException'

On 30/07/12 04:43, Jean-Tiare LE BIGOT wrote:
>
> I really have no idea of what to do. It appears that the exception is
> intentionally thrown from a test but never caught.

i guess something is different about your system that LO code isn't
prepared for, and the result is this exception.

> On 29/07/2012 19:34, julien2412 wrote:
>> Hi,
>>
>> It could be useful you give these info:
>> - which branch do you use (master, 3.6, 3.5?)
> fresh master clone from less than 6 hours
>> - which env (Linux, Mac os, windows?) (32, 64?)
> Ubuntu 12.10 32 bits

that sounds like it's not even released yet?

if you want to use bleeding edge distributions then you should be
prepared to fix breakages.  you can try to find out what throws the
exception like so:

(cd sot && make $(readlink -f
../workdir/unxlngx6/CppunitTest/sot_test_sot.test) DEBUGCPPUNIT=TRUE )

if you want something that is known to work then build on a OS that's
not currently undergoing active development.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Jean-Tiare LE BIGOT Jean-Tiare LE BIGOT
Reply | Threaded
Open this post in threaded view
|

Re: Build fails 'RuntimeException'

Hi,

I've finally been able to build LO after switching back to a fresh
Lubuntu 10.04 but I'd like to help track down the build issue.
Sadly, I have no idea where to start the investigations... I was
suggested to

> (cd sot && make $(readlink -f
> ../workdir/unxlngx6/CppunitTest/sot_test_sot.test) DEBUGCPPUNIT=TRUE
> )

But this file does not even exist :/

Le 2012-07-30 14:56, Michael Stahl a écrit :

> On 30/07/12 04:43, Jean-Tiare LE BIGOT wrote:
>>
>> I really have no idea of what to do. It appears that the exception
>> is
>> intentionally thrown from a test but never caught.
>
> i guess something is different about your system that LO code isn't
> prepared for, and the result is this exception.
>
>> On 29/07/2012 19:34, julien2412 wrote:
>>> Hi,
>>>
>>> It could be useful you give these info:
>>> - which branch do you use (master, 3.6, 3.5?)
>> fresh master clone from less than 6 hours
>>> - which env (Linux, Mac os, windows?) (32, 64?)
>> Ubuntu 12.10 32 bits
>
> that sounds like it's not even released yet?
>
> if you want to use bleeding edge distributions then you should be
> prepared to fix breakages.  you can try to find out what throws the
> exception like so:
>
> (cd sot && make $(readlink -f
> ../workdir/unxlngx6/CppunitTest/sot_test_sot.test) DEBUGCPPUNIT=TRUE
> )
>
> if you want something that is known to work then build on a OS that's
> not currently undergoing active development.
>
> _______________________________________________
> LibreOffice mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/libreoffice

--
Jean-Tiare LE BIGOT
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice