https://bugs.freedesktop.org/show_bug.cgi?id=50384
Bug #: 50384
Summary: failing unit tests when building from source
Classification: Unclassified
Product: LibreOffice
Version: LibO 3.5 Daily
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Libreoffice
AssignedTo: [email protected]
ReportedBy: [email protected]
While building libreoffice from source HEAD it fails as follows:
[ build MOD ] sal
[ build ALL ] top level modules: sal
[ build ALL ] loaded modules: sal
[ build CUT ] Module_DLL
[ build CUT ] sal_bytesequence
[ build CUT ] sal_osl_condition
[ build LNK ] CppunitTest/libtest_sal_osl_file.so
[ build CUT ] sal_osl_file
[ build CUT ] sal_osl_module
[ build CUT ] sal_osl_old_test_file
[ build CUT ] sal_osl_security
[ build CUT ] sal_osl_thread
[ build CUT ] sal_osl_process
[ build CUT ] sal_rtl_alloc
[ build CUT ] sal_rtl_cipher
[ build CUT ] sal_rtl_crc32
[ build CUT ] sal_rtl_doublelock
[ build CUT ] sal_rtl_locale
[ build LNK ] CppunitTest/libtest_sal_rtl_ostringbuffer.so
[ build CUT ] sal_rtl_ostringbuffer
[ build CUT ] sal_rtl_oustringbuffer
[ build CUT ] sal_rtl_strings
test_strings_replace.cxx:230:Assertion
Test name: N12_GLOBAL__N_14TestE::ustringReplaceFirstAsciiLAsciiL
equality assertion failed
- Expected: otherbarfoo
- Actual :
test_strings_replace.cxx:309:Assertion
Test name: N12_GLOBAL__N_14TestE::ustringReplaceAllAsciiLAsciiL
equality assertion failed
- Expected: otherbarother
- Actual :
test_oustring_stringliterals.cxx:143:Assertion
Test name: N4test8oustring14StringLiteralsE::checkUsage
assertion failed
- Expression: foobarfoo.replaceFirst( "foo", "test" ) == "testbarfoo"
test_oustring_stringliterals.cxx:164:Assertion
Test name: N4test8oustring14StringLiteralsE::checkNonconstChar
equality assertion failed
- Expected: foobar
- Actual : foo
Failures !!!
Run: 20 Failure total: 4 Failures: 4 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[2]: ***
[/home/arno/src/libreoffice/workdir/unxlngx6.pro/CppunitTest/sal_rtl_strings.test]
Fehler 1
-----------------------------------------------------------------------
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 512 occurred while making /home/arno/src/libreoffice/sal/prj
it seems that the error is inside 'sal', please re-run build
inside this module to isolate the error and/or test your fix:
build_error.log should contain the captured output of the failed module(s)
-----------------------------------------------------------------------
To rebuild a specific module:
make sal.clean # optional
make sal
when the problem is isolated and fixed, re-run 'make'
make[1]: *** [build-packimages] Fehler 1
make[1]: Verlasse Verzeichnis '/home/arno/src/libreoffice'
make: *** [all] Fehler 2
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs