Re: [Libreoffice] Libreoffice not builds

2011-05-17 Thread Michael Meeks
Hi there,

On Thu, 2011-05-12 at 06:48 +0400, Гуляев Гоша wrote:
 /usr/local/bin/bash
 cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
 source ./FreeBSDX86Env.Set.sh
 export LANG=C
 export DEBUGCPPUNIT=TRUE

:-)

 /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solenv/bin/gdbtrycatchtrace:2:
  Error in sourced command file:
 Function __cxa_throw not defined.
 (gdb) 

Ah - that is a bit of a downer :-)

 I need something to type in gdb command shell?

sure - just type 'run' and when it crashes paste the trace I guess. But
we really first need to work out how to catch exceptions on FreeBSD -
which doesn't seem to use the __cxa_throw entry point.

Anyhow - thanks for debugging - any more progress there ?

HTH,

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-17 Thread Гуляев Гоша
Michael Meeks, thank a lot for your help, and for that you dont leave me alone 
with that ununderstandable errors :)
And for your words about gdb in freebsd, maybe i need to install any additional 
soft for that? Or setup debug options in kernel?
In kernel config have such options that i disable:

#makeoptions DEBUG=-g# Build kernel with gdb(1) debug 
symbols

That is output after i execute run in gdb shell:


/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solenv/bin/gdbtrycatchtrace:2:
 Error in sourced command file:
Function __cxa_throw not defined.
(gdb) run
Starting program: 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
 ../../unxfbsdi.pro/lib/test_metadatable.so
(no debugging symbols found)...[New LWP 100271]
[New Thread 28501140 (LWP 100271/initial thread)]
terminate called after throwing an instance of 
'com::sun::star::lang::IllegalArgumentException'

Program received signal SIGABRT, Aborted.
[Switching to Thread 28501140 (LWP 100271/initial thread)]
0x284b7be7 in kill () from /lib/libc.so.7
(gdb)
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-17 Thread Michael Meeks
Hi there,

On Tue, 2011-05-17 at 21:32 +0400, Гуляев Гоша wrote:
 Michael Meeks, thank a lot for your help

Really, my pleasure - thanks for persisting.

 And for your words about gdb in freebsd, maybe i need to install any
 additional soft for that? Or setup debug options in kernel?

Under gcc / gdb on Linux you can catch C++ exceptions in the debugger
with a breakpoint in __cxa_throw. Apparently, this is not so on FreeBSD.
I guess you need to google around for FreeBSD exception gdb or
whatever to find what is going on.

 #makeoptions DEBUG=-g# Build kernel with gdb(1) debug 
 symbols

The kernel is irrelevant here :-) you prolly want debuginfo symbols for
libstdc++ glibc etc. (and/or whatever C++ runtime pieces you have).

 /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solenv/bin/gdbtrycatchtrace:2:
  Error in sourced command file:
 Function __cxa_throw not defined.

So we can't find where the exception is thrown - which is a shame.

 Program received signal SIGABRT, Aborted.
 [Switching to Thread 28501140 (LWP 100271/initial thread)]
 0x284b7be7 in kill () from /lib/libc.so.7
 (gdb)

And this is not that helpful ;-) you need to do: backtrace when it
fails to get some clue what went wrong.

HTH,

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-10 Thread Michael Meeks
Hi there,

On Tue, 2011-05-10 at 08:07 +0400, Гуляев Гоша wrote:
 Hello! I do recommended steps (from error output)

Hokay - so a compile-time unit test is failing to run:

 --
 - start unit test #1 on library ../../unxfbsdi.pro/lib/test_metadatable.so
 --
 :  
 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
   
 /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
  ../../unxfbsdi.pro/lib/test_metadatable.so
 terminate called after throwing an instance of 
 'com::sun::star::lang::IllegalArgumentException'
 /usr/local/bin/bash: line 1: 46233 Abort trap: 6   
 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
  
 /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
  ../../unxfbsdi.pro/lib/test_metadatable.so
 dmake:  Error code 134, while making 'test1'

Possibly this is locale related can you: export LANG=C after sourcing
that environment, and re-try ?

Failing that  we need to run that test under gdb; to do that:

export DEBUGCPPUNIT=TRUE

and re-run 'build' - hopefully that will generate an interesting gdb
trace that we can analyse to get to the root cause.

Thanks !

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-09 Thread Гуляев Гоша
Hello! I do recommended steps (from error output)

/usr/local/bin/bash
cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
source ./FreeBSDX86Env.Set.sh
cd sfx2
build

And below is result, is anybody knows how solve that problem?

Entering 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/source/toolbox


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/source/inet


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/source/bastyp


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/source/view


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/util


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunit

--
- start unit test #1 on library ../../unxfbsdi.pro/lib/test_metadatable.so
--
:  
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
  
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
 ../../unxfbsdi.pro/lib/test_metadatable.so
terminate called after throwing an instance of 
'com::sun::star::lang::IllegalArgumentException'
/usr/local/bin/bash: line 1: 46233 Abort trap: 6   
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
 ../../unxfbsdi.pro/lib/test_metadatable.so
dmake:  Error code 134, while making 'test1'

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

 it seems that the error is inside 'sfx2', please re-run build
 inside this module to isolate the error and/or test your fix:
---

/usr/local/bin/bash
cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
source ./FreeBSDX86Env.Set.sh
cd sfx2
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
sometimes (sadly) it is necessary to rm -Rf unxfbsdi.pro in a module.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Libreoffice not builds

2011-05-07 Thread Гуляев Гоша
Hi friends! I have a problem with installing Libreoffice-3.3.2 on FreeBSD 8.2 
i386
With various options (WITH_KDE, WITH_JAVA, WITH_GNOME ...) i have same error.
I have a 2Gb RAM 4 GB Swap and 29Gb free space. How can i solve that problem 
and install libreoffice?
That is versions of java related packages installed on my system:

diablo-jdk-1.6.0.07.02_13
jdk-1.6.0.3p4_22
javavmwrapper-2.3.5

How can i solve my problem?

**

Entering 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/source/drivers/mysql

Not using Mac OS X - nothing to build

Entering 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/source/drivers/dbase


Entering 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/source/drivers/mozab


Entering 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/source/cpool


Entering 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/com/sun/star/sdbcx/comp/hsqldb


Entering 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/source/manager

Not building the mozilla address book driver
dependency to Mozilla developer snapshots not feasable at the moment
see http://bugzilla.mozilla.org/show_bug.cgi?id=135137
see http://www.mozilla.org/issues/show_bug.cgi?id=91209

Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/util

Making:sdbc_hsqldb.dpj

dmake: Executing shell macro: cd 
$(MISC)/registry/data/org/openoffice/Office/DataAccess   ls *.xcu
/usr/local/jdk1.6.0/bin/javac -source 1.5 -target 1.5 -classpath 
.:../../../../../../unxfbsdi.pro/class:/usr/local/jdk1.6.0/jre/lib/rt.jar:.:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/hsqldb.jar::/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
 -d ../../../../../../unxfbsdi.pro/class  @/tmp/mkhIK86j

  
Making:sdbc_hsqldb.dpj

echo Class-Path: hsqldb.jar  ..  
../../../../../../unxfbsdi.pro/class/sdbc_hsqldb/META-INF/MANIFEST.MF
updating: META-INF/MANIFEST.MF (deflated 7%)
updating: com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.class 
(deflated 55%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.class 
(deflated 51%)
updating: com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.class 
(deflated 56%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.class 
(deflated 50%)
updating: com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.class (deflated 
53%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageAccess.class (deflated 54%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess$FileSync.class 
(deflated 52%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.class (deflated 57%)
updating: com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.class (deflated 46%)
updating: org/hsqldb/lib/FileSystemRuntimeException.class (deflated 48%)
connectivity deliver
Module 'connectivity' delivered successfully. 0 files copied, 115 files 
unchanged

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunit
ERROR: error 65280 occurred while making 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/pyuno/source/loader

 it seems you are using a threaded build, which means that the
 actual compile error is probably hidden far above, and could be
 inside any of these other modules:
 sfx2
 please re-run build inside each one to isolate the problem.
---

/usr/local/bin/bash
cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
source ./FreeBSDX86Env.Set.sh
cd pyuno
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
sometimes (sadly) it is necessary to rm -Rf unxfbsdi.pro in a module.
gmake: *** [stamp/build] Ошибка 1
*** Error code 1

Stop in /usr/ports/editors/libreoffice.
*** Error code 1

Stop in /usr/ports/editors/libreoffice.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-07 Thread Andreas Radke
Because the connectivity module seems to build fine I assume you are
doing a smp parallel build and the error should be somewhere earlier in
your log. Grep for Error code and maybe for not found.

-Andy
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-07 Thread Rafael Dominguez
You need to execute the following commands to get the correct error

cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
source ./FreeBSDX86Env.Set.sh http://freebsdx86env.set.sh/
cd pyuno
build


On Sat, May 7, 2011 at 11:17 AM, Andreas Radke a.ra...@arcor.de wrote:

 Because the connectivity module seems to build fine I assume you are
 doing a smp parallel build and the error should be somewhere earlier in
 your log. Grep for Error code and maybe for not found.

 -Andy
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-07 Thread Michael Meeks

On Sat, 2011-05-07 at 17:58 +0400, Гуляев Гоша wrote:
 How can i solve my problem?

It would be extra helpful if people could read, and then cut/paste the
failure message:

  it seems you are using a threaded build, which means that the
  actual compile error is probably hidden far above, and could be
  inside any of these other modules:
  sfx2
  please re-run build inside each one to isolate the problem.
 ---
 
 /usr/local/bin/bash
 cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
 source ./FreeBSDX86Env.Set.sh
 cd pyuno
 build
 
 when the problem is isolated and fixed exit and re-run 'make' from the 
 top-level
 sometimes (sadly) it is necessary to rm -Rf unxfbsdi.pro in a module.
 gmake: *** [stamp/build] Ошибка 1
 *** Error code 1

Before reporting such things :-)

ATB,

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-07 Thread Гуляев Гоша
And i disable parallel building, and building get that error:


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/util


Entering 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/workben/custompanel


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunit

--
- start unit test #1 on library ../../unxfbsdi.pro/lib/test_metadatable.so
--
:  
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
  
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
 ../../unxfbsdi.pro/lib/test_metadatable.so
terminate called after throwing an instance of 
'com::sun::star::lang::IllegalArgumentException'
/usr/local/bin/bash: line 1:  8809 Abort trap: 6   
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
 ../../unxfbsdi.pro/lib/test_metadatable.so
dmake:  Error code 134, while making 'test1'

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

 it seems that the error is inside 'sfx2', please re-run build
 inside this module to isolate the error and/or test your fix:
---

/usr/local/bin/bash
cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
source ./FreeBSDX86Env.Set.sh
cd sfx2
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
sometimes (sadly) it is necessary to rm -Rf unxfbsdi.pro in a module.
gmake: *** [stamp/build] Ошибка 1
*** Error code 1

Stop in /usr/ports/editors/libreoffice.
*** Error code 1

Stop in /usr/ports/editors/libreoffice.
serv# build
build: Command not found.

-- 

  С уважением, Гуляев Гоша.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-07 Thread Гуляев Гоша
Sorry i'm try to do sequence 

cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
source ./FreeBSDX86Env.Set.sh
cd sfx2
build

without first line:
/usr/local/bin/bash

So when i execute that instructions i get that error:

Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/source/bastyp


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/source/view


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/util


Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunit

--
- start unit test #1 on library ../../unxfbsdi.pro/lib/test_metadatable.so
--
:  
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
  
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
 ../../unxfbsdi.pro/lib/test_metadatable.so
terminate called after throwing an instance of 
'com::sun::star::lang::IllegalArgumentException'
/usr/local/bin/bash: line 1: 46233 Abort trap: 6   
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
 ../../unxfbsdi.pro/lib/test_metadatable.so
dmake:  Error code 134, while making 'test1'

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

 it seems that the error is inside 'sfx2', please re-run build
 inside this module to isolate the error and/or test your fix:
---

/usr/local/bin/bash
cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
source ./FreeBSDX86Env.Set.sh
cd sfx2
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
sometimes (sadly) it is necessary to rm -Rf unxfbsdi.pro in a module.

-- 

  С уважением, Гуляев Гоша.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Libreoffice not builds

2011-05-07 Thread Гуляев Гоша

07.05.11, 21:36, Rafael Dominguez venccsra...@gmail.com:
 You need to execute the following commands to get the correct error
 
 cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
 source ./FreeBSDX86Env.Set.sh
 cd pyuno
 build

I'm try to do that, but command
build
gets error:
build: command not found


 On Sat, May 7, 2011 at 11:17 AM, Andreas Radke a.ra...@arcor.de wrote:
  Because the connectivity module seems to build fine I assume you are
  doing a smp parallel build and the error should be somewhere earlier in
  your log. Grep for Error code and maybe for not found.
  
  -Andy
   
  ___
  LibreOffice mailing list
  LibreOffice@lists.freedesktop.org
  http://lists.freedesktop.org/mailman/listinfo/libreoffice
 


-- 

 С уважением, Гуляев Гоша.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice