Source: davical
Version: 1.1.12-2
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@lists.alioth.debian.org
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
davical was found to fail to build with this new phpunit version.

To reproduce this locally, you need to install phpunit from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
> rst2pdf docs/translation.rst || echo "NOTICE: Failed to build ReST docs"
> /bin/sh: 1: rst2pdf: not found
> NOTICE: Failed to build ReST docs
> touch built-docs
> for LOCALE in `ls po/*.po | cut -f2 -d/ | cut -f1 -d.` ; do \
>     [ "${LOCALE}" = "en" ] && continue; \
>     mkdir -p locale/${LOCALE}/LC_MESSAGES; \
>     msgfmt po/${LOCALE}.po -o locale/${LOCALE}/LC_MESSAGES/davical.mo; \
> done
> touch built-locale
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test
>       make -j1 test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> OK (Syntax checked)
> # run phpunit tests
> phpunit testing/phpunit
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> 
> EEEEEEEE                                                            8 / 8 
> (100%)
> 
> Time: 00:00.006, Memory: 8.00 MB
> 
> There were 8 errors:
> 
> 1) ExpansionTest::testUnmodifiedCal
> TypeError: get_freebusyish(): Argument #1 ($cal) must be of type vCalendar, 
> null given, called in /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php on 
> line 151
> 
> /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:114
> /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:151
> 
> 2) ExpansionTest::testTueRenamed
> TypeError: get_freebusyish(): Argument #1 ($cal) must be of type vCalendar, 
> null given, called in /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php on 
> line 160
> 
> /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:114
> /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:160
> 
> 3) ExpansionTest::testTueRenamedSwapped
> TypeError: get_freebusyish(): Argument #1 ($cal) must be of type vCalendar, 
> null given, called in /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php on 
> line 169
> 
> /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:114
> /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:169
> 
> 4) ExpansionTest::testCalWithCount
> TypeError: get_freebusyish(): Argument #1 ($cal) must be of type vCalendar, 
> null given, called in /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php on 
> line 178
> 
> /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:114
> /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:178
> 
> 5) RangeTest::testGetVCalendarRange
> TypeError: in_array(): Argument #2 ($haystack) must be of type array, null 
> given
> 
> /usr/share/awl/inc/AWLUtilities.php:617
> /<<PKGBUILDDIR>>/inc/RRule.php:44
> /<<PKGBUILDDIR>>/inc/RRule.php:218
> /<<PKGBUILDDIR>>/inc/RRule.php:321
> /<<PKGBUILDDIR>>/inc/RRule.php:1526
> /<<PKGBUILDDIR>>/inc/RRule.php:1563
> /<<PKGBUILDDIR>>/testing/phpunit/RangeTest.php:41
> 
> 6) RangeTest::testGetVCalendarRangeTwoDayAllDay
> TypeError: in_array(): Argument #2 ($haystack) must be of type array, null 
> given
> 
> /usr/share/awl/inc/AWLUtilities.php:617
> /<<PKGBUILDDIR>>/inc/RRule.php:44
> /<<PKGBUILDDIR>>/inc/RRule.php:317
> /<<PKGBUILDDIR>>/inc/RRule.php:1526
> /<<PKGBUILDDIR>>/inc/RRule.php:1563
> /<<PKGBUILDDIR>>/testing/phpunit/RangeTest.php:68
> 
> 7) RangeTest::testGetVCalendarRangeFloating
> TypeError: in_array(): Argument #2 ($haystack) must be of type array, null 
> given
> 
> /usr/share/awl/inc/AWLUtilities.php:617
> /<<PKGBUILDDIR>>/inc/RRule.php:44
> /<<PKGBUILDDIR>>/inc/RRule.php:319
> /<<PKGBUILDDIR>>/inc/RRule.php:1526
> /<<PKGBUILDDIR>>/inc/RRule.php:1563
> /<<PKGBUILDDIR>>/testing/phpunit/RangeTest.php:92
> 
> 8) RangeTest::testGetVCalendarRangeAllDayAcrossDST
> TypeError: in_array(): Argument #2 ($haystack) must be of type array, null 
> given
> 
> /usr/share/awl/inc/AWLUtilities.php:617
> /<<PKGBUILDDIR>>/inc/RRule.php:44
> /<<PKGBUILDDIR>>/inc/RRule.php:317
> /<<PKGBUILDDIR>>/inc/RRule.php:1526
> /<<PKGBUILDDIR>>/inc/RRule.php:1563
> /<<PKGBUILDDIR>>/testing/phpunit/RangeTest.php:116
> 
> ERRORS!
> Tests: 8, Assertions: 0, Errors: 8.
> make[1]: *** [Makefile:69: test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/davical/davical_1.1.12-2+rebuild1714364378_amd64-2024-04-29T04:19:39Z.build

Reply via email to