Bug 1657328

Summary: missing dependency
Product: [Fedora] Fedora Reporter: François Kooman <fkooman>
Component: php-bartlett-PHP-CompatInfoAssignee: Remi Collet <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-19 02:28:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description François Kooman 2018-12-07 16:29:06 UTC
Description of problem:

Running phpcompatinfo throws Exception.

Version-Release number of selected component (if applicable):

php-bartlett-PHP-CompatInfo-5.1.0-1.fc29.noarch

How reproducible:

Always

Steps to Reproduce:
1. update to php-bartlett-PHP-CompatInfo-5.1.0-1.fc29.noarch

Actual results:

PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\Stopwatch\Stopwatch' not found in /usr/share/php/Bartlett/Reflect/Console/Application.php:117
Stack trace:
#0 /usr/share/php/Bartlett/Reflect/Console/Application.php(162): Bartlett\Reflect\Console\Application->setDispatcher(Object(Bartlett\Reflect\Event\CacheAwareEventDispatcher))
#1 /usr/share/php/Bartlett/Reflect/Console/Application.php(238): Bartlett\Reflect\Console\Application->getDispatcher()
#2 /usr/bin/phpcompatinfo(22): Bartlett\Reflect\Console\Application->run()
#3 {main}
  thrown in /usr/share/php/Bartlett/Reflect/Console/Application.php on line 117

Fatal error: Uncaught Error: Class 'Symfony\Component\Stopwatch\Stopwatch' not found in /usr/share/php/Bartlett/Reflect/Console/Application.php:117
Stack trace:
#0 /usr/share/php/Bartlett/Reflect/Console/Application.php(162): Bartlett\Reflect\Console\Application->setDispatcher(Object(Bartlett\Reflect\Event\CacheAwareEventDispatcher))
#1 /usr/share/php/Bartlett/Reflect/Console/Application.php(238): Bartlett\Reflect\Console\Application->getDispatcher()
#2 /usr/bin/phpcompatinfo(22): Bartlett\Reflect\Console\Application->run()
#3 {main}
  thrown in /usr/share/php/Bartlett/Reflect/Console/Application.php on line 117

Expected results:

Working without throwing exception.

Additional info:

Needed to install php-symfony4-stopwatch.noarch, php-symfony3-stopwatch.noarch was already installed...

Comment 1 Remi Collet 2018-12-07 19:39:45 UTC
The proper dependency is there....

Requires : (php-composer(symfony/stopwatch) >= 2.5 with php-composer(symfony/stopwatch) < 5)


Please: rpm -qa php-symfony\* | sort

I suspect mixing of different versions of symfony component.

I will think to switch to a single Symfony version, rather than allowed various versions.

Comment 2 François Kooman 2018-12-07 19:42:43 UTC
[fkooman@fralen-tuxed-net ~]$ rpm -qa php-symfony\* | sort
php-symfony3-common-3.4.19-1.fc29.noarch
php-symfony3-console-3.4.19-1.fc29.noarch
php-symfony3-debug-3.4.19-1.fc29.noarch
php-symfony3-dependency-injection-3.4.19-1.fc29.noarch
php-symfony3-event-dispatcher-3.4.19-1.fc29.noarch
php-symfony3-filesystem-3.4.19-1.fc29.noarch
php-symfony3-finder-3.4.19-1.fc29.noarch
php-symfony3-options-resolver-3.4.19-1.fc29.noarch
php-symfony3-process-3.4.19-1.fc29.noarch
php-symfony3-stopwatch-3.4.19-1.fc29.noarch
php-symfony3-translation-3.4.19-1.fc29.noarch
php-symfony4-common-4.1.8-1.fc29.noarch
php-symfony4-stopwatch-4.1.8-1.fc29.noarch
php-symfony4-yaml-4.1.8-1.fc29.noarch
php-symfony-browser-kit-2.8.48-1.fc29.noarch
php-symfony-class-loader-2.8.48-1.fc29.noarch
php-symfony-common-2.8.48-1.fc29.noarch
php-symfony-config-2.8.48-1.fc29.noarch
php-symfony-console-2.8.48-1.fc29.noarch
php-symfony-css-selector-2.8.48-1.fc29.noarch
php-symfony-debug-2.8.48-1.fc29.noarch
php-symfony-dependency-injection-2.8.48-1.fc29.noarch
php-symfony-dom-crawler-2.8.48-1.fc29.noarch
php-symfony-event-dispatcher-2.8.48-1.fc29.noarch
php-symfony-expression-language-2.8.48-1.fc29.noarch
php-symfony-filesystem-2.8.48-1.fc29.noarch
php-symfony-finder-2.8.48-1.fc29.noarch
php-symfony-http-foundation-2.8.48-1.fc29.noarch
php-symfony-http-kernel-2.8.48-1.fc29.noarch
php-symfony-polyfill-1.9.0-1.fc29.noarch
php-symfony-process-2.8.48-1.fc29.noarch
php-symfony-var-dumper-2.8.48-1.fc29.noarch
php-symfony-yaml-2.8.48-1.fc29.noarch
[fkooman@fralen-tuxed-net ~]$

Comment 3 Remi Collet 2018-12-10 08:58:07 UTC
Fixed by https://src.fedoraproject.org/cgit/rpms/php-bartlett-PHP-Reflect.git/commit/?id=f5bef8acfa4a1720c3f1bb0b358773b50e6038e2

> Needed to install php-symfony4-stopwatch.noarch

Please remove it before installing the new version (to ensure it will pull all needed dependencies), soon in testing repository

Comment 4 Fedora Update System 2018-12-19 02:28:05 UTC
php-bartlett-PHP-Reflect-4.3.0-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.