Re: [Libreoffice] Build failing in tail_build module

2011-08-24 Thread Caolán McNamara
On Tue, 2011-08-23 at 21:41 +0200, Cor Nouws wrote:
 Cor Nouws wrote (23-08-11 20:57)
 
  Might have something to do with the version of make 3.81 in combination
  with with-num-cpus larger then 1
 
 
 I knew I had seen a mail about that.
 Found it in the archives:
 http://lists.freedesktop.org/archives/libreoffice/2011-August/016470.html 
 ;-)

Didn't Norbert add
http://cgit.freedesktop.org/libreoffice/core/diff/configure.in?id=d64bbd6bf8d41604e3f14f911f2169f4295e4d99
which on the face of it looks like it would warn you that you are using
make 3.81 and either auto-dial down the -jX to -j1 or tell you you're
doomed if you have an explicit --with-num-cpu used ?

C.

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


Re: [Libreoffice] Build failing in tail_build module

2011-08-24 Thread Bjoern Michaelsen
On Tue, 23 Aug 2011 15:00:55 +0530
swagat sharma swagat.sha...@gmail.com
wrote:

 /home/eswagsh/Documents/LibreOffice_Sourc_Code/libreoffice-3.5.0/libo/sd/source/ui/dlg/TemplateScanner.cxx:
 In member function 'sd::TemplateScanner::State
 sd::TemplateScanner::ScanEntry()':
 /home/eswagsh/Documents/LibreOffice_Sourc_Code/libreoffice-3.5.0/libo/sd/source/ui/dlg/TemplateScanner.cxx:268:
 error: 'ConvertResourceString' is not a member of
 'SfxDocumentTemplates' [ build CUT ] hwpfilter_test_hwpfilter

Thats not a make bug, but a clear cut c++ one. Maybe your repositories
are out of sync?
Try:
./g checkout `git name-rev --name-only HEAD`

Best,

Bjoern

-- 
https://launchpad.net/~bjoern-michaelsen


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


Re: [Libreoffice] Build failing in tail_build module

2011-08-23 Thread Cor Nouws

Hi swagat,

swagat sharma wrote (23-08-11 11:30)

Hi I got the following error. Any ideas?


Did you try to do what was advised by the output?

--
 - Cor
 - http://nl.libreoffice.org

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


Re: [Libreoffice] Build failing in tail_build module

2011-08-23 Thread Jenei Gábor

Hello Swagat,

As Cor suggested try to follow the instructions in the output, go to 
root dir of your source and 'source Env.Host.sh' after running this: 'cd 
tail_build', 'make clean', 'make -sr'  I had the same problem and it 
resolved me the issue,however I don't know why this error occured, it 
should be investigated.


Gabor

2011. 08. 23. 11:30 keltezéssel, swagat sharma írta:

Hi I got the following error. Any ideas?
I didn't make any changes in the code, just trying to build the master.

Error --

scripting deliver
Module 'scripting' delivered successfully. 5 files copied, 30 files 
unchanged

odk deliver
[ build CXX ] sd/source/ui/dlg/TemplateScanner
Module 'odk' delivered successfully. 1 files copied, 3 files unchanged
/home/eswagsh/Documents/LibreOffice_Sourc_Code/libreoffice-3.5.0/libo/sd/source/ui/dlg/TemplateScanner.cxx: 
In member function 'sd::TemplateScanner::State 
sd::TemplateScanner::ScanEntry()':
/home/eswagsh/Documents/LibreOffice_Sourc_Code/libreoffice-3.5.0/libo/sd/source/ui/dlg/TemplateScanner.cxx:268: 
error: 'ConvertResourceString' is not a member of 'SfxDocumentTemplates'

[ build CUT ] hwpfilter_test_hwpfilter
[ build CUT ] lotuswordpro_test_lotuswordpro
make[1]: *** Waiting for unfinished jobs
dmake:  Error code 2, while making 'all'

---
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 
/home/eswagsh/Documents/LibreOffice_Sourc_Code/libreoffice-3.5.0/libo/tail_build/prj


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

rm -Rf 
/home/eswagsh/Documents/LibreOffice_Sourc_Code/libreoffice-3.5.0/libo/tail_build/unxlngx6.pro 
http://unxlngx6.pro # optional module 'clean'

/bin/bash
cd /home/eswagsh/Documents/LibreOffice_Sourc_Code/libreoffice-3.5.0/libo
source ./Env.Host.sh http://Env.Host.sh
cd tail_build
make -r

when the problem is isolated and fixed exit and re-run 'make' from the 
top-level

make: *** [all] Error 1

--
Swagat



___
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] Build failing in tail_build module

2011-08-23 Thread Cor Nouws

Hi Swagat,

swagat sharma wrote (23-08-11 20:36)


I did as the output suggested but still landed up at the same place.


Might have something to do with the version ofmake 3.81in 
combination withwith-num-cpus   larger then 1



However I solved by commenting some lines which were calling that
function :P (which was not a member function of that class. I have some
basic idea. :P)


Sounds good!  :-)


I know it can have some adverse effect, but I was interested in
packaging with epm, and I succeeded in getting a deb installation of
libreoffice. :)


Thanks for reporting.
I am sure other devs can give more useful feedback on your report, 
handling, than I could.


Best,


--
 - Cor
 - http://nl.libreoffice.org

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


Re: [Libreoffice] Build failing in tail_build module

2011-08-23 Thread Cor Nouws

Cor Nouws wrote (23-08-11 20:57)


Might have something to do with the version of make 3.81 in combination
with with-num-cpus larger then 1



I knew I had seen a mail about that.
Found it in the archives:
http://lists.freedesktop.org/archives/libreoffice/2011-August/016470.html 
;-)


--
 - Cor
 - http://nl.libreoffice.org

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


Re: [Libreoffice] Build failing in tail_build module

2011-08-23 Thread Jonathan Aquilina

On 23/08/2011 20:57, Cor Nouws wrote:

Hi Swagat,

swagat sharma wrote (23-08-11 20:36)


I did as the output suggested but still landed up at the same place.


Might have something to do with the version ofmake 3.81in 
combination withwith-num-cpus   larger then 1

I can confirm this as it has failed in tail build for me as well

the following is partial out put of the issue

/bin/bash: line 1:  5279 Segmentation fault  make -s -r -j2
dmake:  Error code 139, while making 'all'

version i have on Ubuntu lucid 10.04 is make 3.81

not sure if that is useful for anything




However I solved by commenting some lines which were calling that
function :P (which was not a member function of that class. I have some
basic idea. :P)


Sounds good!  :-)


I know it can have some adverse effect, but I was interested in
packaging with epm, and I succeeded in getting a deb installation of
libreoffice. :)


Thanks for reporting.
I am sure other devs can give more useful feedback on your report, 
handling, than I could.


Best,




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