Re: [Libreoffice] Build fails for Tail_build

2012-01-24 Thread Michael Meeks
Hi Anurag,

On Tue, 2012-01-24 at 09:07 +0530, Anurag Jain wrote:
 I've been building LO and it seems build is failing for me in
 tail_build for one of the unit test. I asked about if there is any
 work around other than cleaning and rebuilding this big chunk in the
 main channel.

Ah :-) so - of course, something is going wrong there, either in the
code, or in the unit test itself.

 File tested,Test Result,Execution Time (ms)
 file:///home/anurag/libo/core/svtools/qa/cppunit/data/wmf/pass/CVE-2006-4071-1.wmf,filters-test.cxx:123:Assertion
 Test name: SvtoolsFiltersTest::testCVEs
 assertion failed
 - Expression: osl::FileBase::E_None == osl::File::remove(sTmpFile)

Something is failing; as a quick  nasty cheat, you could simply

rm home/anurag/libo/core/svtools/qa/cppunit/data/wmf/pass/CVE-2006-4071-1.wmf

 Error: a unit test failed, please do one of:

Or - failing that, we can try this lot:

 export DEBUGCPPUNIT=TRUE# for exception catching
 export GDBCPPUNITTRACE=gdb --args # for interactive debugging
 export VALGRIND=memcheck# for memory checking

To see what is going wrong; try the gdb --args - and see what it is
trying to remove, and why it is not there and/or what error the
osl::File::remove returns [ perhaps tweaking the test code itself ].

Also - you'll prolly want to:

cd core/svtools ; make clean ; make debug=true -j2

to get some better locality and debug symbols to help.

And of course pastebin the output to the dev channel for some help with
that :-)

Thanks !

Michael.

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

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


[Libreoffice] Build fails for Tail_build

2012-01-23 Thread Anurag Jain
Hello there,

I've been building LO and it seems build is failing for me in tail_build
for one of the unit test. I asked about if there is any work around other
than cleaning and rebuilding this big chunk in the main channel. Didn't get
reply there so I'm posting it to the list here. It failed with following
message while partial building.

[ build CHK ] sfx2
R=/home/anurag/libo  S=$R/core  O=$S/solver/unxlngx6.pro 
W=$S/workdir/unxlngx6.pro   mkdir -p $W/Module/check/  touch
$W/Module/check/sfx2
[ build CHK ] slideshow
R=/home/anurag/libo  S=$R/core  O=$S/solver/unxlngx6.pro 
W=$S/workdir/unxlngx6.pro   mkdir -p $W/Module/check/  touch
$W/Module/check/slideshow
[ build CHK ] starmath
R=/home/anurag/libo  S=$R/core  O=$S/solver/unxlngx6.pro 
W=$S/workdir/unxlngx6.pro   mkdir -p $W/Module/check/  touch
$W/Module/check/starmath
[ build LNK ] CppunitTest/libtest_svtools_filters_test.so
R=/home/anurag/libo  S=$R/core  O=$S/solver/unxlngx6.pro 
W=$S/workdir/unxlngx6.pro   mkdir -p $W/LinkTarget/CppunitTest/  g++
-shared -Wl,-z,noexecstack -Wl,-z,defs  -Wl,-rpath-link,/lib:/usr/lib
-Wl,-z,combreloc   -L$S/solenv/unxlngx6/lib -L$O/lib
-L$S/solenv/unxlngx6/lib  -Wl,--hash-style=gnu  -Wl,--dynamic-list-cpp-new
-Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions  -Wl,--strip-all
$W/CxxObject/svtools/qa/cppunit/filters-test.o -Wl,--start-group
 -Wl,--end-group  -lcppunit -lcomphelpgcc3 -luno_cppu -luno_cppuhelpergcc3
-luno_sal -lsvtlo -ltest -ltllo -lunotest -lvcllo -o
$W/LinkTarget/CppunitTest/libtest_svtools_filters_test.so
TEMPFILE=/tmp/gbuild.ZTBqok   mv ${TEMPFILE}
/home/anurag/libo/core/workdir/
unxlngx6.pro/LinkTarget/CppunitTest/libtest_svtools_filters_test.so.objectlist
[ build CUT ] svtools_filters_test
R=/home/anurag/libo  S=$R/core  O=$S/solver/unxlngx6.pro 
W=$S/workdir/unxlngx6.pro   mkdir -p $W/CppunitTest/ 
(LD_LIBRARY_PATH=$O/lib:$O/lib/sqlite   DBGSV_ERROR_OUT=shell
STAR_RESOURCEPATH=$O/bin/   $O/bin/cppunit/cppunittester
$W/LinkTarget/CppunitTest/libtest_svtools_filters_test.so --headless
--protector unoexceptionprotector.so unoexceptionprotector
-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry
-env:UNO_TYPES= file://$O/bin/udkapi.rdb  file://$O/bin/types.rdb
 -env:UNO_SERVICES=file://$O/xml/ure/services.rdb
 file://$O/xml/component/configmgr/source/configmgr.component
-env:URE_INTERNAL_LIB_DIR=file://$O/lib  -env:LO_LIB_DIR=file://$O/lib 
$W/CppunitTest/svtools_filters_test.test.log 21 || (cat
$W/CppunitTest/svtools_filters_test.test.log  echo; echo Error: a unit
test failed, please do one of:; echo; echo export DEBUGCPPUNIT=TRUE
 # for exception catching; echo export GDBCPPUNITTRACE=\gdb --args\
# for interactive debugging; echo export VALGRIND=memcheck#
for memory checking ; echo and retry.  false))
File tested,Test Result,Execution Time (ms)
file:///home/anurag/libo/core/svtools/qa/cppunit/data/wmf/pass/CVE-2006-4071-1.wmf,filters-test.cxx:123:Assertion
Test name: SvtoolsFiltersTest::testCVEs
assertion failed
- Expression: osl::FileBase::E_None == osl::File::remove(sTmpFile)

Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE# for exception catching
export GDBCPPUNITTRACE=gdb --args # for interactive debugging
export VALGRIND=memcheck# for memory checking
and retry.
make: *** [/home/anurag/libo/core/workdir/
unxlngx6.pro/CppunitTest/svtools_filters_test.test] Error 1


Awaiting a response ..


Thanks and regards.

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