[pkg-php-pear] Bug#1039821: php-pimple: FTBFS with phpunit 10: PHP Fatal error: Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /usr/share/php/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26

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


Source: php-pimple
Version: 3.5.0-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-pimple 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>>'
> phpabtpl composer.json > debian/autoload.php.tpl
> phpab \
> 	--output src/Pimple/autoload.php \
> 	--blacklist 'pimple\\tests\\*' \
> 	--template debian/autoload.php.tpl \
> 	src/Pimple
> phpab %development% - Copyright (C) 2009 - 2023 by Arne Blankerts and Contributors
> 
> Scanning directory src/Pimple
> 
> Autoload file src/Pimple/autoload.php generated.
> 
> mkdir --parents vendor
> phpabtpl \
> 	--require symfony/phpunit-bridge \
> 	composer.json > debian/autoload.tests.php.tpl
> phpab \
> 	--output vendor/autoload.php \
> 	--template debian/autoload.tests.php.tpl \
> 	--basedir vendor \
> 	src/Pimple
> phpab %development% - Copyright (C) 2009 - 2023 by Arne Blankerts and Contributors
> 
> Scanning directory src/Pimple
> 
> Autoload file vendor/autoload.php generated.
> 
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> SYMFONY_DEPRECATIONS_HELPER=weak phpunit
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /usr/share/php/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 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-pimple/

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