[pkg-php-pear] Bug#1039856: symfony: FTBFS with phpunit 10: PHP Fatal error: Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 22:39:43 BST 2023


Source: symfony
Version: 5.4.24+dfsg-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, symfony 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>>'
> ln -s ./src/Symfony ./Symfony
> mkdir --parents vendor
> cp debian/autoload_runtime.php vendor
> phpab	--output vendor/autoload.php \
> 	--whitelist '*\\tests\\*' \
> 	--tolerant \
> 	--template debian/autoload.php.tests.tpl \
> 	--blacklist 'symfony\\component\\dependencyinjection\\tests\\fixtures\\container\\projectservicecontainer' \
> 	--exclude 'Symfony/Bridge/ProxyManager/Tests/LazyProxy/PhpDumper/Fixtures/proxy-implem.php' \
> 	--exclude 'Symfony/Component/Routing/Tests/Fixtures/AttributesFixtures/*' \
> 	Symfony
> phpab %development% - Copyright (C) 2009 - 2023 by Arne Blankerts and Contributors
> 
> Scanning directory Symfony
> 
> Autoload file vendor/autoload.php generated.
> 
> # Actual tests suite
> components=$(find src/Symfony -mindepth 3 -maxdepth 4 -type f -name phpunit.xml.dist -printf '%h\n') && \
>  echo "$components" | parallel --gnu --keep-order '/bin/echo -e "\\nRunning {} tests"; SYMFONY_DEPRECATIONS_HELPER=weak php -d assert.exception=1 -d zend.assertions=1 /usr/bin/phpunit -v --colors=always --exclude-group network,tty,benchmark,intl-data,functional,composer {} || (/bin/echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));';
> 
> Running src/Symfony/Bridge/Doctrine tests
> KO src/Symfony/Bridge/Doctrine
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Bridge/ProxyManager tests
> KO src/Symfony/Bridge/ProxyManager
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Bridge/Monolog tests
> KO src/Symfony/Bridge/Monolog
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Bridge/PhpUnit tests
> KO src/Symfony/Bridge/PhpUnit
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Bridge/Twig tests
> KO src/Symfony/Bridge/Twig
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Semaphore tests
> KO src/Symfony/Component/Semaphore
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Translation tests
> KO src/Symfony/Component/Translation
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/PasswordHasher tests
> KO src/Symfony/Component/PasswordHasher
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Dotenv tests
> KO src/Symfony/Component/Dotenv
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/ExpressionLanguage tests
> KO src/Symfony/Component/ExpressionLanguage
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Cache tests
> KO src/Symfony/Component/Cache
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/PropertyInfo tests
> KO src/Symfony/Component/PropertyInfo
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Routing tests
> KO src/Symfony/Component/Routing
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Messenger tests
> KO src/Symfony/Component/Messenger
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Stopwatch tests
> KO src/Symfony/Component/Stopwatch
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Notifier tests
> KO src/Symfony/Component/Notifier
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/ErrorHandler tests
> KO src/Symfony/Component/ErrorHandler
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/WebLink tests
> KO src/Symfony/Component/WebLink
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Uid tests
> KO src/Symfony/Component/Uid
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/VarExporter tests
> KO src/Symfony/Component/VarExporter
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Form tests
> KO src/Symfony/Component/Form
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Ldap tests
> KO src/Symfony/Component/Ldap
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/RateLimiter tests
> KO src/Symfony/Component/RateLimiter
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Inflector tests
> KO src/Symfony/Component/Inflector
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Mime tests
> KO src/Symfony/Component/Mime
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Serializer tests
> KO src/Symfony/Component/Serializer
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Process tests
> KO src/Symfony/Component/Process
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/HttpKernel tests
> KO src/Symfony/Component/HttpKernel
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/CssSelector tests
> KO src/Symfony/Component/CssSelector
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Console tests
> KO src/Symfony/Component/Console
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Intl tests
> KO src/Symfony/Component/Intl
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/HttpClient tests
> KO src/Symfony/Component/HttpClient
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/DomCrawler tests
> KO src/Symfony/Component/DomCrawler
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Config tests
> KO src/Symfony/Component/Config
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Asset tests
> KO src/Symfony/Component/Asset
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Finder tests
> KO src/Symfony/Component/Finder
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/BrowserKit tests
> KO src/Symfony/Component/BrowserKit
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/String tests
> KO src/Symfony/Component/String
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Mailer tests
> KO src/Symfony/Component/Mailer
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/PropertyAccess tests
> KO src/Symfony/Component/PropertyAccess
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Filesystem tests
> KO src/Symfony/Component/Filesystem
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/DependencyInjection tests
> KO src/Symfony/Component/DependencyInjection
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Workflow tests
> KO src/Symfony/Component/Workflow
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/OptionsResolver tests
> KO src/Symfony/Component/OptionsResolver
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Runtime tests
> KO src/Symfony/Component/Runtime
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Templating tests
> KO src/Symfony/Component/Templating
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Validator tests
> KO src/Symfony/Component/Validator
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Security/Core tests
> KO src/Symfony/Component/Security/Core
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Security/Csrf tests
> KO src/Symfony/Component/Security/Csrf
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Security/Guard tests
> KO src/Symfony/Component/Security/Guard
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Security/Http tests
> KO src/Symfony/Component/Security/Http
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Yaml tests
> KO src/Symfony/Component/Yaml
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/VarDumper tests
> KO src/Symfony/Component/VarDumper
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/HttpFoundation tests
> KO src/Symfony/Component/HttpFoundation
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/Lock tests
> KO src/Symfony/Component/Lock
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Component/EventDispatcher tests
> KO src/Symfony/Component/EventDispatcher
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Bundle/DebugBundle tests
> KO src/Symfony/Bundle/DebugBundle
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Bundle/WebProfilerBundle tests
> KO src/Symfony/Bundle/WebProfilerBundle
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Bundle/TwigBundle tests
> KO src/Symfony/Bundle/TwigBundle
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Bundle/FrameworkBundle tests
> KO src/Symfony/Bundle/FrameworkBundle
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> 
> Running src/Symfony/Bundle/SecurityBundle tests
> KO src/Symfony/Bundle/SecurityBundle
> PHP Fatal error:  Trait "PHPUnit\Framework\TestListenerDefaultImplementation" not found in /<<PKGBUILDDIR>>/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.php on line 26
> make[1]: *** [debian/rules:118: override_dh_auto_test] Error 61


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

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