Build error on Windows 7 and VS 2012 in unit test using Cygwin

Anderson Roberto andersonn.roberto at gmail.com
Tue Jan 14 03:50:47 PST 2014


Good morning!



As the subject says I'm using a machine with Windows 7 x64 with Visual
Studio 2012 Express and Cygwin x86.


I followed this wiki (
https://wiki.documentfoundation.org/Development/Windows_Build_Dependencies)
with success through all steps but make.


At end of make process I got an error on unit test
CppunitTest_filter_tiff_test

So I run make again only to build this unit test using: make
CppunitTest_filter_tiff_test


That gave me this output:

Muxta at Muxta-Note /cygdrive/g/sources/libo-core

$ /opt/lo/bin/make CppunitTest_filter_tiff_test

/opt/lo/bin/make -j 4 -rs -f G:/sources/libo-core/Makefile.gbuild
CppunitTest_filter_tiff_test

[build PRL] CustomTarget/postprocess/images/sorted.lst

[build PRL] CustomTarget/postprocess/images/commandimagelist.ilst

[build PRL] CustomTarget/postprocess/images/images_crystal.zip

[build PRL] CustomTarget/postprocess/images/images_hicontrast.zip

[build PRL] CustomTarget/postprocess/images/images_oxygen.zip

[build PRL] CustomTarget/postprocess/images/images_tango.zip

[build PRL] CustomTarget/postprocess/images/images_sifr.zip

[build PRL] CustomTarget/postprocess/images/images_tango_testing.zip

[build PRL] CustomTarget/postprocess/images/images.zip

[build CUT] filter_tiff_test

/bin/sh: line 1:  5228 Aborted                 (core dumped)
PATH="$PATH:/cygdrive/g/sources/libo-core/instdir/URE/bin:/cygdrive/g/sources/libo-core/instdir/program":"/cygdrive/g/sources/libo-core/workdir/LinkTarget/Library:/cygdrive/g/sources/libo-core/
workdir/UnpackedTarball/cppunit/src/cppunit/ReleaseDll"
DBGSV_ERROR_OUT=shell DISABLE_SAL_DBGBOX=t gdb -nx -ex
"add-auto-load-safe-path $S/instdir"
--command=$S/solenv/bin/gdbtrycatchtrace-stdout -return-child-result --args
$W/LinkTarget/Executable/cppun    ittester.exe
$W/LinkTarget/CppunitTest/test_filter_tiff_test.dll --headless
"-env:BRAND_BASE_DIR=file:///$S/instdir" "-env:BRAND_SHARE_SUBDIR=share"
"-env:UserInstallation=file:///$W/CppunitTest/filter_tiff_test.test.user"
"-env:CONFIGURATION_LAYERS=xcsx    cu:file:///$I/share/registry"
"-env:UNO_TYPES=file:///$I/URE/misc/types.rdb
file:///$I/program/types/offapi.rdb"
"-env:UNO_SERVICES=file:///$W/Rdb/ure/services.rdb
file:///$W/ComponentTarget/configmgr/source/configmgr.component"
-env:URE_INTERNAL_LIB_DIR    =file:///$I/URE/bin
-env:LO_LIB_DIR=file:///$I/program
-env:LO_JAVA_DIR=file:///$I/program/classes --protector
$W/LinkTarget/Library/unoexceptionprotector.dll unoexceptionprotector
--protector $W/LinkTarget/Library/unobootstrapprotector.dll
unobootstrapp    rotector > $W/CppunitTest/filter_tiff_test.test.log 2>&1

GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special)

Copyright (C) 2013 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

and "show warranty" for details.

This GDB was configured as "i686-pc-cygwin".

Type "show configuration" for configuration details.

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>.

Find the GDB manual and other documentation resources online at:

<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".

Type "apropos word" to search for commands related to "word".

..

Reading symbols from
/cygdrive/g/sources/libo-core/workdir/LinkTarget/Executable/cppunittester.exe...(no
debugging symbols found)...done.

Catchpoint 1 (throw)

Catchpoint 2 (catch)

[New Thread 2396.0xd9c]

[New Thread 2396.0x1890]

/netrel/src/gdb-7.6.50-4/gdb/minsyms.c:885: internal-error: sect_index_data
not initialized

A problem internal to GDB has been detected,

further debugging may prove unreliable.

Quit this debugging session? (y or n) [answered Y; input not from terminal]

/netrel/src/gdb-7.6.50-4/gdb/minsyms.c:885: internal-error: sect_index_data
not initialized

A problem internal to GDB has been detected,

further debugging may prove unreliable.

Create a core file of GDB? (y or n) [answered Y; input not from terminal]



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



export DEBUGCPPUNIT=TRUE            # for exception catching

export CPPUNITTRACE="gdb --args" # for interactive debugging on linux

export CPPUNITTRACE=""[full path to devenv.exe]" /debugexe" # for
interactive debugging in Visual Studio

export VALGRIND=memcheck            # for memory checking



and retry using: make CppunitTest_filter_tiff_test



make[1]: ***
[G:/sources/libo-core/workdir/CppunitTest/filter_tiff_test.test] Error 1

make: *** [CppunitTest_filter_tiff_test] Error 2



Any help will be much appreciated.



Thanks!


Anderson Roberto de Oliveira
Skype: andersonn_roberto
LinkedIn: http://br.linkedin.com/in/andersonroberto/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140114/d81b4315/attachment.html>


More information about the LibreOffice mailing list