[pkg-php-pear] Bug#1039792: php-malkusch-lock: FTBFS with phpunit 10: PHP Fatal error: Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /usr/share/php/phpmock/phpunit/compatibility/BaseTestListener.php on line 10

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 22:09:30 BST 2023


Source: php-malkusch-lock
Version: 2.2.1+ds-1
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-malkusch-lock 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	--do-not-cache-result \
> 	--bootstrap vendor/autoload.php \
> 	tests
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /usr/share/php/phpmock/phpunit/compatibility/BaseTestListener.php on line 10
> make[1]: *** [debian/rules:23: override_dh_auto_test] Error 255


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

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