[pkg-php-pear] Bug#1070573: php-mock-phpunit: FTBFS with phpunit 11: PHP Fatal error: Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/compatibility/BaseTestListener.php on line 10

Athos Ribeiro athoscribeiro at gmail.com
Mon May 6 15:20:52 BST 2024


Source: php-mock-phpunit
Version: 2.6.0-4
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
php-mock-phpunit 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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --do-not-cache-result \
> 	--bootstrap vendor/autoload.php \
> 	tests
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/compatibility/BaseTestListener.php on line 10
> make[1]: *** [debian/rules:23: override_dh_auto_test] Error 255


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-mock-phpunit/php-mock-phpunit_2.6.0-4+rebuild1714781242_amd64-2024-05-04T00:07:23Z.build



More information about the pkg-php-pear mailing list