Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1291477

Summary: epel7 php-pear-Console-CommandLine fails to rebuild
Product: [Fedora] Fedora EPEL Reporter: Yaakov Selkowitz <yselkowi>
Component: php-pear-Console-CommandLineAssignee: Remi Collet <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: christof, fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: php-pear-Console-CommandLine-1.2.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-31 23:28:31 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:
Bug Depends On:    
Bug Blocks: 1285484    

Description Yaakov Selkowitz 2015-12-14 22:38:56 UTC
php-pear-Console-CommandLine-1.2.0-2.el7 testsuite fails:

+ /usr/bin/phpunit tests
PHPUnit 4.8.17 by Sebastian Bergmann and contributors.

..F.F.........FFFF.F.FFFFFFFF..FFFFFFFFFFFFFFF.FFFFFF

Time: 3.12 seconds, Memory: 5.25Mb

There were 36 failures:

1) /builddir/build/BUILD/php-pear-Console-CommandLine-1.2.0/Console_CommandLine-1.2.0/tests/console_commandline_addargument_2.phpt
Failed asserting that format description matches text.
--- Expected
+++ Actual
@@ @@
-foo bar
-Fatal error: only optional arguments can have a default value in %sCommandLine.php on line %d
+Fatal error: Uncaught Console_CommandLine_Exception: You must provide at least 1 argument. in /builddir/build/BUILD/php-pear-Console-CommandLine-1.2.0/Console_CommandLine-1.2.0/Console/CommandLine.php on line 950
+#0 /builddir/build/BUILD/php-pear-Console-CommandLine-1.2.0/Console_CommandLine-1.2.0/Console/CommandLine.php(950): Console_CommandLine_Exception::factory('ARGUMENT_REQUIR...', Array, Object(Console_CommandLine), Array)
+#1 -(12): Console_CommandLine->parse()
+#2 {main}
+  thrown in /builddir/build/BUILD/php-pear-Console-CommandLine-1.2.0/Console_CommandLine-1.2.0/Console/CommandLine/Exception.php on line 93

[and so on for many of the rest]

Comment 1 Fedora Update System 2015-12-15 05:40:54 UTC
php-pear-Console-CommandLine-1.2.1-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-ba05153fc2

Comment 2 Fedora Update System 2015-12-31 23:28:29 UTC
php-pear-Console-CommandLine-1.2.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.