Source: davical Version: 1.1.12-2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: pkg-php-p...@lists.alioth.debian.org Usertags: phpunit
Hi, We will start the phpunit 10 transition in unstable soon. During a test rebuild, davical was found to FTBFS. To reproduce this locally, you need to install the phpunit 10 package (and any other dependency, which should also be available) from experimental on an unstable system or build chroot. Relevant part (hopefully): > phpunit testing/phpunit > PHPUnit 10.2.2 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.7 > > 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 > > -- > > There were 8 risky tests: > > 1) ExpansionTest::testUnmodifiedCal > This test did not perform any assertions > > /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:146 > > 2) ExpansionTest::testTueRenamed > This test did not perform any assertions > > /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:155 > > 3) ExpansionTest::testTueRenamedSwapped > This test did not perform any assertions > > /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:164 > > 4) ExpansionTest::testCalWithCount > This test did not perform any assertions > > /<<PKGBUILDDIR>>/testing/phpunit/ExpansionTest.php:173 > > 5) RangeTest::testGetVCalendarRange > This test did not perform any assertions > > /<<PKGBUILDDIR>>/testing/phpunit/RangeTest.php:15 > > 6) RangeTest::testGetVCalendarRangeTwoDayAllDay > This test did not perform any assertions > > /<<PKGBUILDDIR>>/testing/phpunit/RangeTest.php:51 > > 7) RangeTest::testGetVCalendarRangeFloating > This test did not perform any assertions > > /<<PKGBUILDDIR>>/testing/phpunit/RangeTest.php:73 > > 8) RangeTest::testGetVCalendarRangeAllDayAcrossDST > This test did not perform any assertions > > /<<PKGBUILDDIR>>/testing/phpunit/RangeTest.php:97 > > ERRORS! > Tests: 8, Assertions: 0, Errors: 8, Risky: 8. > make[1]: *** [Makefile:69: test] Error 2 The full build logs and additional context is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/davical/ A phpunit reverse-dependencies rebuild status is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html -- Athos Ribeiro