Re: [Libreoffice] SECOND APPEAL FOR HELP: Compiler errors: equality assertion failed

2011-05-11 Thread Ron House

On 04/05/11 21:24, Jan Holesovsky wrote:

Hi Ron,

On 2011-05-04 at 19:41 +1000, Ron House wrote:


I posted this some time ago and no one replied. Can anyone help with
this problem. Simply put, the standard download of the source won't
build. I did:

git clone git://anongit.freedesktop.org/libreoffice/bootstrap libo
cd libo
./autogen.sh --with-num-cpus=2 --without-junit
  (Tried with and without  --without-java)
make


After most of the build, this happened. The machine is a normal 686
running debian squeeze. Any help much appreciated:


686?  Ie. 32bit?  According to the output you've sent it seem it was
detected as 64bit (x86-64).  Can you give us uname -a?  Can you check
the output of your configure run?

Regards,
Kendy


Thanks Kendy, and apologies for the time in replying. I was building on 
my work machine and I can only read email on my home machine. On 
checking, the office machine was indeed 64 bit. I did make clean, then 
copied all files to my home machine, which I know for a fact is a normal 
32 bit machine, and I  tried again. I got the same error. Here is the 
start and the end of the build. The error is the same as before, on a 
completely different system. I am puzzled how anyone else is able to 
compile the code. Any ideas how to get past this problem will be much 
appreciated:




*
*   Running the post download checks.
*

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
build -- version: 275224

...


=
Building module cppu
=
Entering /home/house/libreoffice/libo/cppu/inc

Entering /home/house/libreoffice/libo/cppu/source/UnsafeBridge

Entering /home/house/libreoffice/libo/cppu/source/LogBridge

Entering /home/house/libreoffice/libo/cppu/source/threadpool

Entering /home/house/libreoffice/libo/cppu/source/AffineBridge

Entering /home/house/libreoffice/libo/cppu/source/helper/purpenv

Entering /home/house/libreoffice/libo/cppu/source/typelib

Entering /home/house/libreoffice/libo/cppu/source/cppu

Entering /home/house/libreoffice/libo/cppu/source/uno

Entering /home/house/libreoffice/libo/cppu/util

dmake:  /home/house/libreoffice/libo/solenv/inc/target.mk:  line 543: 
Warning: -- Macro `SHL2TARGETN' redefined after use

dmake -P1  -f extra.mk
Entering /home/house/libreoffice/libo/cppu/qa/cppumaker

Entering /home/house/libreoffice/libo/cppu/qa

:  
LD_LIBRARY_PATH=/home/house/libreoffice/libo/clone/ure/cppu/unxlngx6.pro/lib:/home/house/libreoffice/libo/solver/300/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 

/home/house/libreoffice/libo/solver/300/unxlngx6.pro/bin/cppunit/cppunittester 
../../unxlngx6.pro/lib/test_cppumaker.so

--
test_cppumaker.cxx:456:Assertion
Test name: N12_GLOBAL__N_14TestE::testBigStruct
equality assertion failed
- Expected: 24
- Actual  : 16

Failures !!!
Run: 4   Failure total: 1   Failures: 1   Errors: 0
dmake:  Error code 1, while making 'test'
Retrying /home/house/libreoffice/libo/cppu/qa/cppumaker

- start unit test #1 on library ../unxlngx6.pro/lib/qa_any.so
--
:  
LD_LIBRARY_PATH=/home/house/libreoffice/libo/clone/ure/cppu/unxlngx6.pro/lib:/home/house/libreoffice/libo/solver/300/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 

/home/house/libreoffice/libo/solver/300/unxlngx6.pro/bin/cppunit/cppunittester 
../unxlngx6.pro/lib/qa_any.so

OK (21)
--
- start unit test #2 on library ../unxlngx6.pro/lib/qa_unotype.so
--
:  
LD_LIBRARY_PATH=/home/house/libreoffice/libo/clone/ure/cppu/unxlngx6.pro/lib:/home/house/libreoffice/libo/solver/300/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 

/home/house/libreoffice/libo/solver/300/unxlngx6.pro/bin/cppunit/cppunittester 
../unxlngx6.pro/lib/qa_unotype.so
:  
LD_LIBRARY_PATH=/home/house/libreoffice/libo/clone/ure/cppu/unxlngx6.pro/lib:/home/house/libreoffice/libo/solver/300/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 

/home/house/libreoffice/libo/solver/300/unxlngx6.pro/bin/cppunit/cppunittester 
../../unxlngx6.pro/lib/test_cppumaker.so

OK (3)
--
test_cppumaker.cxx:456:Assertion
Test name: N12_GLOBAL__N_14TestE::testBigStruct
equality assertion failed
- Expected: 24
- Actual  : 16

Failures !!!
- start unit test #3 on library ../unxlngx6.pro/lib/qa_reference.so
Run: 4--
   Failure total: 1:  
LD_LIBRARY_PATH=/home/house/libreoffice/libo/clone/ure/cppu/unxlngx6.pro/lib:/home/house/libreoffice/libo/solver/300/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 

/home/house/libreoffice

[Libreoffice] Errors compiling source - no idea what to do to fix!

2011-05-01 Thread Ron House
 hidden far above, and could be
 inside any of these other modules:
 cppu
 please re-run build inside each one to isolate the problem.
---




--
Ron House
Building Peace: http://peacelegacy.org
Australian Birds: http://wingedhearts.org
Principle of Goodness academic site: http://principleofgoodness.net
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] How do I update my download?

2011-01-30 Thread Ron House

On 28/01/11 17:14, Norbert Thiebaud wrote:

On Thu, Jan 27, 2011 at 9:56 PM, Ron Houserho...@smartchat.net.au  wrote:

Hi, sorry for a beginner's question, but I downloaded the libreoffice code
base from git about a month ago, and I want to update it to be the same as
the recently released version 3.3 without having to download it all again.
Can anyone help out? I think, but am not sure, that the version I have is
what in cvs is called the head - not sure about git terminology.

If it is too hard to convert to version 3.3, then how do I simply update the
version I have from the current git repositories?


Normally it should as simple as refreshing your git repositories and
switching branch... the problem is that
since then the main branch has known some important change in the way
we build things...
so I suggest you do this:

./bin/g fetch

./bin/g checkout libreoffice-3.3.0 origin/libreoffice-3.3.0

and then build the way you did last time (autogen etc...)

Norbert

Note that your branch 'master' won't be updated. this was on purpose
(./bin/g fetch instead of the more tradition - for us - ./bin/g pull
-r)
to allow you to switch to the libreoffcie-3.3.0 branch without too
many manual tweaking


Hi Norbert,

I have tried this but ran into some problems:

./bin/g - no such command, so I used git-fetch instead. That command 
worked and said:


remote: Counting objects: 2442, done.
remote: Compressing objects: 100% (1001/1001), done.
remote: Total 2113 (delta 1613), reused 1426 (delta 1102)
Receiving objects: 100% (2113/2113), 370.47 KiB | 57 KiB/s, done.
Resolving deltas: 100% (1613/1613), completed with 129 local objects.
From git://anongit.freedesktop.org/libreoffice/bootstrap
 * [new branch]  feature/gnumake2.1 - origin/feature/gnumake2.1
   672fafb..44f0576  feature/helppack - origin/feature/helppack
   ec64258..afbf70e  feature/layout - origin/feature/layout
   977dc85..3bbb389  libreoffice-3-3 - origin/libreoffice-3-3
 * [new branch]  libreoffice-3-3-0 - origin/libreoffice-3-3-0
   d9f0a7c..b303988  master - origin/master
 * [new tag] libreoffice-3.3.0.4 - libreoffice-3.3.0.4
From git://anongit.freedesktop.org/libreoffice/bootstrap
 * [new tag] libreoffice-3.3.0.3 - libreoffice-3.3.0.3
 * [new tag] ooo/OOO330_m19 - ooo/OOO330_m19

I assume that's about right. But:

git-checkout libreoffice-3.3.0 origin/libreoffice-3.3.0

Said:

error: pathspec 'libreoffice-3.3.0' did not match any file(s) known to git.
error: pathspec 'origin/libreoffice-3.3.0' did not match any file(s) 
known to git.


Since, despite reading the man pages, I don't really understand git (and 
would prefer not to have to, if I can get to editing the code without 
it), I don't understand what we are trying to do here and so I am not 
sure what the fix should be. I am a bit paranoid and don't want to 
experiment with something that needs so much downloading in case I mess 
things up well and truly.


Am I making some obvious mistake?

Thanks,
Ron

--
Ron House
Building Peace: http://peacelegacy.org
Australian Birds: http://wingedhearts.org
Principle of Goodness academic site: http://principleofgoodness.net
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] How do I update my download?

2011-01-30 Thread Ron House

On 31/01/11 10:32, Norbert Thiebaud wrote:

On Sun, Jan 30, 2011 at 6:23 PM, Ron Houserho...@smartchat.net.au  wrote:

On 28/01/11 17:14, Norbert Thiebaud wrote:

[...]


I assume that's about right. But:

git-checkout libreoffice-3.3.0 origin/libreoffice-3.3.0

Said:

error: pathspec 'libreoffice-3.3.0' did not match any file(s) known to git.
error: pathspec 'origin/libreoffice-3.3.0' did not match any file(s) known
to git.


Yep, my mistake, it is missing a -b after checkout


Thanks Norbert, that got me on the right track. I also found I had to 
replace 3.3.0 with 3-3-0, but it seems to be going now.


--
Ron House
Building Peace: http://peacelegacy.org
Australian Birds: http://wingedhearts.org
Principle of Goodness academic site: http://principleofgoodness.net
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] How do I update my download?

2011-01-27 Thread Ron House
Hi, sorry for a beginner's question, but I downloaded the libreoffice 
code base from git about a month ago, and I want to update it to be the 
same as the recently released version 3.3 without having to download it 
all again. Can anyone help out? I think, but am not sure, that the 
version I have is what in cvs is called the head - not sure about git 
terminology.


If it is too hard to convert to version 3.3, then how do I simply update 
the version I have from the current git repositories?


Info: I am an expert C++ programmer, but have never used git, nor have I 
any familiarity (yet) with the libo code base, so please be specific.


(BTW, this would be good to add to the help page on libreoffice.org.)

Cheers,
Ron.

--
Ron House
Building Peace: http://peacelegacy.org
Australian Birds: http://wingedhearts.org
Principle of Goodness academic site: http://principleofgoodness.net
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice