[pkg-php-pear] Bug#1039826: php-sabredav: FTBFS with phpunit 10: make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 22:23:10 BST 2023


Source: php-sabredav
Version: 1.8.12-10
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit

Hi,

We will start the phpunit 10 transition in unstable soon. During a test
rebuild, php-sabredav 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):
> There were 11 PHPUnit test runner warnings:
> 
> 1) Class Sabre\CalDAV\Backend\AbstractPDOTest declared in /<<PKGBUILDDIR>>/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php is abstract
> 
> 2) Class Sabre\CardDAV\AbstractPluginTest declared in /<<PKGBUILDDIR>>/tests/Sabre/CardDAV/AbstractPluginTest.php is abstract
> 
> 3) Class Sabre\CardDAV\Backend\AbstractPDOTest declared in /<<PKGBUILDDIR>>/tests/Sabre/CardDAV/Backend/AbstractPDOTest.php is abstract
> 
> 4) Class SupportedAddressDataTest cannot be found in /<<PKGBUILDDIR>>/tests/Sabre/CardDAV/Property/SupportedAddressDataTest.php
> 
> 5) Class SogoStripContentTypeTest cannot be found in /<<PKGBUILDDIR>>/tests/Sabre/CardDAV/SogoStripContentTypeTest.php
> 
> 6) Class Sabre\DAV\Auth\Backend\AbstractPDOTest declared in /<<PKGBUILDDIR>>/tests/Sabre/DAV/Auth/Backend/AbstractPDOTest.php is abstract
> 
> 7) Class Sabre\DAV\Locks\Backend\AbstractTest declared in /<<PKGBUILDDIR>>/tests/Sabre/DAV/Locks/Backend/AbstractTest.php is abstract
> 
> 8) Class ServerPreconditionTest cannot be found in /<<PKGBUILDDIR>>/tests/Sabre/DAV/ServerPreconditionTest.php
> 
> 9) Class NeedPrivilegesExceptionTest cannot be found in /<<PKGBUILDDIR>>/tests/Sabre/DAVACL/Exception/NeedPrivilegesExceptionTest.php
> 
> 10) Class Sabre\DAVACL\PrincipalBackend\AbstractPDOTest declared in /<<PKGBUILDDIR>>/tests/Sabre/DAVACL/PrincipalBackend/AbstractPDOTest.php is abstract
> 
> 11) Class Sabre\DAVServerTest declared in /<<PKGBUILDDIR>>/tests/Sabre/DAVServerTest.php is abstract
> 
> --
> 
> There was 1 PHPUnit test runner deprecation:
> 
> 1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!
> 
> --
> 
> 10 tests triggered 10 PHPUnit deprecations:
> 
> 1) Sabre\CalDAV\CalendarQueryValidatorTest::testValid
> Data Provider method Sabre\CalDAV\CalendarQueryValidatorTest::provider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php:12
> 
> 2) Sabre\CalDAV\Notifications\Notification\InviteReplyTest::testSerializers
> Data Provider method Sabre\CalDAV\Notifications\Notification\InviteReplyTest::dataProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/CalDAV/Notifications/Notification/InviteReplyTest.php:13
> 
> 3) Sabre\CalDAV\Notifications\Notification\InviteTest::testSerializers
> Data Provider method Sabre\CalDAV\Notifications\Notification\InviteTest::dataProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/CalDAV/Notifications/Notification/InviteTest.php:13
> 
> 4) Sabre\CalDAV\Notifications\Notification\SystemStatusTest::testSerializers
> Data Provider method Sabre\CalDAV\Notifications\Notification\SystemStatusTest::dataProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/CalDAV/Notifications/Notification/SystemStatusTest.php:13
> 
> 5) Sabre\CalDAV\Property\ScheduleCalendarTranspTest::testSerialize
> Data Provider method Sabre\CalDAV\Property\ScheduleCalendarTranspTest::values() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/CalDAV/Property/ScheduleCalendarTranspTest.php:37
> 
> 6) Sabre\CalDAV\Property\ScheduleCalendarTranspTest::testUnserializer
> Data Provider method Sabre\CalDAV\Property\ScheduleCalendarTranspTest::values() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/CalDAV/Property/ScheduleCalendarTranspTest.php:66
> 
> 7) Sabre\CardDAV\ValidateFilterTest::testFilter
> Data Provider method Sabre\CardDAV\ValidateFilterTest::data() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/CardDAV/ValidateFilterTest.php:12
> 
> 8) Sabre\DAV\ClientTest::testSpecificHTTPErrors
> Data Provider method Sabre\DAV\ClientTest::supportedHTTPCodes() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/DAV/ClientTest.php:491
> 
> 9) Sabre\DAV\PartialUpdate\SpecificationTest::testUpdateRange
> Data Provider method Sabre\DAV\PartialUpdate\SpecificationTest::data() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/DAV/PartialUpdate/SpecificationTest.php:43
> 
> 10) Sabre\DAV\StringUtilTest::testTextMatch
> Data Provider method Sabre\DAV\StringUtilTest::dataset() is not static
> 
> /<<PKGBUILDDIR>>/tests/Sabre/DAV/StringUtilTest.php:10
> 
> WARNINGS!
> Tests: 1176, Assertions: 2175, Warnings: 11, Deprecations: 11, Skipped: 54.
> make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-sabredav/

A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html

-- 
Athos Ribeiro



More information about the pkg-php-pear mailing list