[pkg-php-pear] Bug#1070608: php-twig: FTBFS with phpunit 11: 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
Mon May 6 15:30:08 BST 2024
Source: php-twig
Version: 3.8.0-3
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-twig 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]: 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:73: override_dh_auto_test] Error 255
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-twig/php-twig_3.8.0-3+rebuild1714377586_amd64-2024-04-29T07:59:46Z.build
More information about the pkg-php-pear
mailing list