[pkg-php-pear] Bug#1039771: php-doctrine-instantiator: FTBFS with phpunit 10: make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
Athos Ribeiro
athoscribeiro at gmail.com
Wed Jun 28 22:05:10 BST 2023
Source: php-doctrine-instantiator
Version: 2.0.0-2
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-doctrine-instantiator 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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit
> PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
>
> Runtime: PHP 8.2.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
>
> D...............................................E 49 / 49 (100%)
>
> Time: 00:00.013, Memory: 8.00 MB
>
> There was 1 PHPUnit test runner deprecation:
>
> 1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!
>
> --
>
> There was 1 error:
>
> 1) DoctrineTest\InstantiatorTest\InstantiatorTest::testInstancesAreNotCloned
> Error: Call to undefined method DoctrineTest\InstantiatorTest\InstantiatorTest::assertObjectNotHasAttribute()
>
> /<<PKGBUILDDIR>>/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php:116
>
> --
>
> 3 tests triggered 3 PHPUnit deprecations:
>
> 1) DoctrineTest\InstantiatorTest\InstantiatorTest::testCanInstantiate
> Data Provider method DoctrineTest\InstantiatorTest\InstantiatorTest::getInstantiableClasses() is not static
>
> /<<PKGBUILDDIR>>/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php:57
>
> 2) DoctrineTest\InstantiatorTest\InstantiatorTest::testInstantiatesSeparateInstances
> Data Provider method DoctrineTest\InstantiatorTest\InstantiatorTest::getInstantiableClasses() is not static
>
> /<<PKGBUILDDIR>>/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php:67
>
> 3) DoctrineTest\InstantiatorTest\InstantiatorTest::testInstantiationFromNonExistingClass
> Data Provider method DoctrineTest\InstantiatorTest\InstantiatorTest::getInvalidClassNames() is not static
>
> /<<PKGBUILDDIR>>/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php:88
>
> --
>
> There was 1 risky test:
>
> 1) DoctrineTest\InstantiatorTest\InstantiatorTest::testInstancesAreNotCloned
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php:95
>
> ERRORS!
> Tests: 49, Assertions: 70, Errors: 1, Deprecations: 4, Risky: 1.
> make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-doctrine-instantiator/
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