[pkg-kolab] Bug#730600: libkolabxml FTBFS (because of unit test failures)

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Sun Jul 13 21:51:22 UTC 2014


Hi all,

I tried to build libkolabxml in a jessie chroot and the build fails  
due to failing unittests (see below).

Any idea why that is happening?

I wanted to test libkolab+libkolabxml on my roundcube instance, but  
due to these test failures I stopped playing with it (as I am  
currently on VAC ;-) ).

Mike

"""
[...]
     Start 1: phptest
1/5 Test #1: phptest ..........................***Failed   12.95 sec
PHP Warning:  Module 'kolabformat' already loaded in Unknown on line 0
OK - Event::exceptionDates()
OK - Event::addExceptionDate()
Critical:  
/build/libkolabxml-SJB5qx/libkolabxml-0.8.4/src/xcalconversions.h  
1906:   failed to write Incidence
FAIL - Event::setStart() with date only
-- Expected '<dtstart><date>2012-07-31</date></dtstart>', got false --
FAIL - Event::setCreated() with date-time
-- Expected  
'<created><date-time>2012-03-14T09:05:30Z</date-time></created>', got  
false --
FAIL - RecurrenceRule::setFrequency()
-- Expected '<rrule><recur><freq>MINUTELY</freq>', got false --
FAIL - RecurrenceRule::setBySecond()
-- Expected  
'<rrule><recur><freq>MINUTELY</freq><bysecond>1</bysecond><bysecond>3</bysecond></recur></rrule>', got false  
--
FAIL - Event Recurrence Exceptions
-- Expected '<exdate><date>2009-10-12</date></exdate>', got false --
FAIL - Alarm::setRelativeStart(Duration)
-- Expected '<duration>-PT6H30M</duration>', got false --
FAIL - Alarm::setStart()
-- Expected '<trigger><date-time>2012-07-30T20:30:00Z</date-time>',  
got false --
FAIL - Alarm relative to Start
-- Expected '<trigger><parameters><related><text>START</text>', got false --
FAIL - Email alarm
-- Expected '<valarm><properties><action><text>EMAIL</text>', got false --
FAIL - Email alarm attendee
-- Expected  
'<attendee><cal-address>mailto:%3Calarms%40kolab.org%3E</cal-address>', got  
false --
FAIL - kolabformat::readEvent() => kolabformat::writeEvent()
-- Expected '<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0">

   <vcalendar>
     <properties>
       <prodid>
         <text>Libkolabxml-0.8.4</text>
       </prodid>
       <version>
         <text>2.0</text>
       </version>
       <x-kolab-version>
         <text>3.0dev1</text>
       </x-kolab-version>
     </properties>
     <components>
       <vevent>
         <properties>
           <uid>
             <text>894cd943-0165-4a34-aac8-c727a6d256a6</text>
           </uid>
           <created>
             <date-time>2014-07-13T21:27:14Z</date-time>
           </created>
           <dtstamp>
             <date-time>2014-07-13T21:27:14Z</date-time>
           </dtstamp>
           <sequence>
             <integer>0</integer>
           </sequence>
           <class>
             <text>PUBLIC</text>
           </class>
         </properties>
       </vevent>
     </components>
   </vcalendar>

</icalendar>
schema exception
:1:1 error: invalid document structure
Critical:  
/build/libkolabxml-SJB5qx/libkolabxml-0.8.4/src/xcalconversions.h  
1938:   Failed to parse calendar!
Error:  
/build/libkolabxml-SJB5qx/libkolabxml-0.8.4/src/xcalconversions.h  
1465:   Start date is missing, but is mandatory for events
Error:  
/build/libkolabxml-SJB5qx/libkolabxml-0.8.4/src/xcalconversions.h  
1465:   Start date is missing, but is mandatory for events
', got '' --
FAIL - Event::start()
-- Expected '2012-7-31', got '-1--1--1' --
FAIL - RecurrenceRule::frequency()
-- Expected 6, got 0 --
FAIL - RecurrenceRule::bysecond()
-- Expected 2, got 0 --
FAIL - Read Event::exceptionDates()
-- Expected 1, got 0 --
FAIL - Event::alarms()
-- Expected 2, got 0 --
OK - Recurrence by weekday
OK - NameComponents::setSurnames()
OK - NameComponents::setGiven()
OK - NameComponents::setAdditional()
OK - NameComponents::setPrefixes()
OK - NameComponents::suffixes()
OK - Generate Contact UID as urn::uuid
OK - Contact::setNameComponents()
OK - Contact::setTitles()
OK - Contact::setPhoto()
OK - Contact::setBDay()
OK - Contact::setGPSpos()
OK - kolabformat::readContact() => kolabformat::writeContact()
OK - Contact::photoMimetype()
OK - kolabformat::getSerializedUID()
OK - Contact::lastModified()
OK - Unset BDay with empty cDateTime
OK - vectorcontactref::size()
OK - kolabformat::writeDistlist(): FN (UTF-8)
OK - kolabformat::writeDistlist(): mailto uri
OK - kolabformat::writeDistlist(): member urn::uuid
PHP Notice:  Use of undefined constant Configuration_TypeSnippet -  
assumed 'Configuration_TypeSnippet' in  
/home/locadm/kolab/pkg-kolab/libkolabxml/src/php/test.php on line 213
OK - Configuration.Dictionary::language
OK - Dictionary::entries()
OK - Generate different UIDs for configuration objects

     Start 2: bindingstest
2/5 Test #2: bindingstest .....................   Passed    1.04 sec
     Start 3: conversiontest
3/5 Test #3: conversiontest ...................   Passed    0.28 sec
     Start 4: parsingtest
4/5 Test #4: parsingtest ......................   Passed    0.03 sec
     Start 5: validationtest
5/5 Test #5: validationtest ...................   Passed    0.06 sec

80% tests passed, 1 tests failed out of 5

Total Test time (real) =  14.42 sec

The following tests FAILED:
	  1 - phptest (Failed)
Errors while running CTest
Makefile:116: recipe for target 'test' failed
make[1]: *** [test] Error 8
make[1]: Leaving directory  
'/home/locadm/kolab/pkg-kolab/libkolabxml/obj-x86_64-linux-gnu'
dh_auto_test: make -j1 test ARGS+=-j1 returned exit code 2
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc failed
"""
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.alioth.debian.org/pipermail/pkg-kolab-devel/attachments/20140713/ea38b329/attachment.sig>


More information about the pkg-kolab-devel mailing list