[pkg-php-pear] Bug#1070590: php-pimple: 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:27:55 BST 2024
Source: php-pimple
Version: 3.5.0-2
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-pimple 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>>'
> phpab \
> --output src/Pimple/autoload.php \
> --blacklist 'pimple\\tests\\*' \
> --template debian/autoload.php.tpl \
> src/Pimple
> phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
>
> Scanning directory src/Pimple
>
> Autoload file src/Pimple/autoload.php generated.
>
> mkdir --parents vendor
> phpab \
> --output vendor/autoload.php \
> --template debian/autoload.tests.php.tpl \
> --basedir vendor \
> src/Pimple
> phpab %development% - Copyright (C) 2009 - 2024 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:19: override_dh_auto_test] Error 255
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-pimple/php-pimple_3.5.0-2+rebuild1714376595_amd64-2024-04-29T07:43:15Z.build
More information about the pkg-php-pear
mailing list