[Kolab-devel] Problem compile libkolabxml 1.0 (last git master)

Sergey Sidlyarenko roundcube at lefoyer.ru
Sun Jun 30 13:21:13 CEST 2013


Scanning dependencies of target parsingtest
make[3]: Leaving directory 
`/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu'
make -f tests/CMakeFiles/parsingtest.dir/build.make 
tests/CMakeFiles/parsingtest.dir/build
make[3]: Entering directory 
`/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu/CMakeFiles 
34
[100%] Building CXX object 
tests/CMakeFiles/parsingtest.dir/parsingtest.cpp.o
cd 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu/tests 
&& /usr/bin/c++   
-DTEST_DATA_PATH=\"/home/kolab/debian/libkolabxml/libkolabxml-1.0/tests\" 
-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -fpermissive 
-Wl,--no-undefined -I/home/kolab/debian/libkolabxml/libkolabxml-1.0/. 
-I/home/kolab/debian/libkolabxml/libkolabxml-1.0/compiled 
-I/home/kolab/debian/libkolabxml/libkolabxml-1.0/src/containers 
-I/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu 
-I/home/kolab/debian/libkolabxml/libkolabxml-1.0/tests/.. 
-I/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu/tests 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus 
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql 
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork 
-I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns 
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default 
-I/usr/include/qt4 
-I/home/kolab/debian/libkolabxml/libkolabxml-1.0/tests/QtCore    -o 
CMakeFiles/parsingtest.dir/parsingtest.cpp.o -c 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/tests/parsingtest.cpp
Linking CXX executable parsingtest
cd 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu/tests 
&& /usr/bin/cmake -E cmake_link_script 
CMakeFiles/parsingtest.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -fpermissive 
-Wl,--no-undefined   -Wl,-z,relro "-Wl,--as-needed" 
CMakeFiles/parsingtest.dir/parsingtest.cpp.o  -o parsingtest -rdynamic 
-lQtTest -lQtCore ../src/libkolabxml.so.1.0 -lxerces-c -lboost_thread-mt 
-lpthread -lboost_system-mt -lcurl 
-Wl,-rpath,/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu/src
make[3]: Leaving directory 
`/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu/CMakeFiles 
  33 34
[100%] Built target parsingtest
make[2]: Leaving directory 
`/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_start 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu/CMakeFiles 
0
make[1]: Leaving directory 
`/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu'
         cd /home/kolab/debian/libkolabxml/libkolabxml-1.0
    dh_auto_test -O--parallel
         cd obj-x86_64-linux-gnu
         make -j1 test ARGS\+=-j1
make[1]: Entering directory 
`/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process -j1
Test project 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu
     Start 1: phptest
1/4 Test #1: phptest ..........................   Passed    0.08 sec
     Start 2: bindingstest
2/4 Test #2: bindingstest .....................   Passed    0.61 sec
     Start 3: conversiontest
3/4 Test #3: conversiontest ...................***Failed    0.28 sec
********* Start testing of ConversionTest *********
Config: Using QTest library 4.8.2, Qt 4.8.2
PASS   : ConversionTest::initTestCase()
PASS   : ConversionTest::dateComparatorTest()
PASS   : ConversionTest::durationParserTest()
PASS   : ConversionTest::durationSerializerTest()
PASS   : ConversionTest::dayPosParserTest()
PASS   : ConversionTest::dayPosSerializerTest()
Error: 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/./src/xcardconversions.h 
185:   Invalid dt 20010102T03040
Error: 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/./src/xcardconversions.h 
194:
Error: 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/./src/xcardconversions.h 
185:   Invalid dt 20010102T
PASS   : ConversionTest::xcardDateParserTest()
PASS   : ConversionTest::xCardSerializerTest()
PASS   : ConversionTest::uriInlineEncodingTest()
FAIL!  : ConversionTest::mailtoUriEncodingTest(1) Compared values are 
not the same
    Actual (QString::fromStdString(mailto)): 
mailto:John%20Doe%3Cemail_1%40email.com%3E
    Expected (resultEncoded): 
mailto:John%20Doe%3Cemail%5F1%40email%2Ecom%3E
    Loc: 
[/home/kolab/debian/libkolabxml/libkolabxml-1.0/tests/conversiontest.cpp(200)]
FAIL!  : ConversionTest::mailtoUriEncodingTest(Reserved characters) 
Compared values are not the same
    Actual (QString::fromStdString(mailto)): 
mailto:John%20Doe%3C%21%2A%27%28%29%3B%3A%40%26%3D%2B%24%2C%2F%3F%23%5B%5D%40email.com%3E
    Expected (resultEncoded): 
mailto:John%20Doe%3C%21%2A%27%28%29%3B%3A%40%26%3D%2B%24%2C%2F%3F%23%5B%5D%40email%2Ecom%3E
    Loc: 
[/home/kolab/debian/libkolabxml/libkolabxml-1.0/tests/conversiontest.cpp(200)]
FAIL!  : ConversionTest::mailtoUriEncodingTest(Unreserved characters) 
Compared values are not the same
    Actual (QString::fromStdString(mailto)): 
mailto:John%20Doe%3CAa0-_.~%40email.com%3E
    Expected (resultEncoded): 
mailto:John%20Doe%3CAa0%2D%5F%2E%7E%40email%2Ecom%3E
    Loc: 
[/home/kolab/debian/libkolabxml/libkolabxml-1.0/tests/conversiontest.cpp(200)]
PASS   : ConversionTest::mailtoUriDecodingTest()
Debug: 
/home/kolab/debian/libkolabxml/libkolabxml-1.0/./src/shared_conversions.h 
84:   not a urn
PASS   : ConversionTest::urnTest()
PASS   : ConversionTest::contactReferenceTest()
PASS   : ConversionTest::geoUriTest()
PASS   : ConversionTest::threadLocalTest()
af2c3320-a01d-4478-a5c0-5bb373636071
PASS   : ConversionTest::uuidGeneratorTest()
d78c3e53-7595-4c51-badc-e9313237f2f55161adce-6866-4f73-af8f-2099cce00846PASS 
   : ConversionTest::uuidGeneratorTest2()
PASS   : ConversionTest::cleanupTestCase()
Totals: 17 passed, 3 failed, 0 skipped
********* Finished testing of ConversionTest *********

     Start 4: parsingtest
4/4 Test #4: parsingtest ......................   Passed    0.03 sec

75% tests passed, 1 tests failed out of 4

Total Test time (real) =   1.00 sec

The following tests FAILED:
           3 - conversiontest (Failed)
Errors while running CTest
make[1]: *** [test] Ошибка 8
make[1]: Leaving directory 
`/home/kolab/debian/libkolabxml/libkolabxml-1.0/obj-x86_64-linux-gnu'
dh_auto_test: make -j1 test ARGS+=-j1 returned exit code 2

--
Sergey Sidlyarenko

-- 
Sidlyarenko Sergey
https://github.com/lefoyer




More information about the devel mailing list