Bug 1532197 - Drush seems broken with recent Symfony version
Summary: Drush seems broken with recent Symfony version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: drush
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Shawn Iwinski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-08 10:45 UTC by Remi Collet
Modified: 2018-04-10 19:10 UTC (History)
2 users (show)

Fixed In Version: drush-8.1.16-1.fc28 drush-8.1.16-1.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-04 15:53:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Remi Collet 2018-01-08 10:45:05 UTC
# drush --version

Fatal error: Declaration of Drush\Command\DrushInputAdapter::hasParameterOption($values) must be compatible with Symfony\Component\Console\Input\InputInterface::hasParameterOption($values, $onlyParams = false) in /usr/share/drush/lib/Drush/Command/DrushInputAdapter.php on line 27
Drush command terminated abnormally due to an unrecoverable error.                                                                                                       [error]
Error: Declaration of Drush\Command\DrushInputAdapter::hasParameterOption($values) must be compatible with
Symfony\Component\Console\Input\InputInterface::hasParameterOption($values, $onlyParams = false) in /usr/share/drush/lib/Drush/Command/DrushInputAdapter.php, line 27


Seems to be solved with latest version 8.1.15

Quick test using (I haven't managed Symfony 3 which is now allowed):
https://git.remirepo.net/cgit/rpms/drush.git/commit/?id=e58449f98b7f28583b0a8d6efa91051261a53dd6

# drush --version
 Drush Version   :  8.1.15

Comment 1 Fedora End Of Life 2018-02-20 15:33:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Shawn Iwinski 2018-02-21 05:03:18 UTC
Sorry... I missed this bug somehow.  I will get this fixed as soon as I can.

Comment 3 Shawn Iwinski 2018-02-22 01:04:58 UTC
@remi would you mind updating php-pear-Console-Table to 1.3.1 in f27 so I can update drush to its' latest version (8.1.16) in f27+?

Comment 4 Remi Collet 2018-02-22 04:49:58 UTC
@Shawn, from changelog:
http://pear.php.net/package/Console_Table/download

Version 1.3.1 contains a single fix which is only needed with 7.2, so I think you can safely ignore minimum version.

BTW => https://bodhi.fedoraproject.org/updates/php-pear-Console-Table-1.3.1-1.fc27

Comment 5 Fedora Update System 2018-03-31 00:04:41 UTC
php-consolidation-output-formatters-3.2.0-1.fc28 php-consolidation-annotated-command-2.8.3-1.fc28 drush-8.1.16-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c35c82ff91

Comment 6 Fedora Update System 2018-03-31 00:04:57 UTC
php-consolidation-output-formatters-3.2.0-1.fc27 php-consolidation-annotated-command-2.8.3-1.fc27 drush-8.1.16-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-bad1b2a6db

Comment 7 Fedora Update System 2018-04-01 04:52:54 UTC
drush-8.1.16-1.fc27, php-consolidation-annotated-command-2.8.3-1.fc27, php-consolidation-output-formatters-3.2.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-bad1b2a6db

Comment 8 Fedora Update System 2018-04-01 04:57:48 UTC
drush-8.1.16-1.fc28, php-consolidation-annotated-command-2.8.3-1.fc28, php-consolidation-output-formatters-3.2.0-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c35c82ff91

Comment 9 Fedora Update System 2018-04-04 15:53:00 UTC
drush-8.1.16-1.fc28, php-consolidation-annotated-command-2.8.3-1.fc28, php-consolidation-output-formatters-3.2.0-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2018-04-10 19:10:14 UTC
drush-8.1.16-1.fc27, php-consolidation-annotated-command-2.8.3-1.fc27, php-consolidation-output-formatters-3.2.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.