Bug 13224 - php-pear-PhpDocumentor: empty package, no phpdoc command
Summary: php-pear-PhpDocumentor: empty package, no phpdoc command
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure mga4-64-ok mga4-32-ok a...
Keywords: validated_update
Depends on: 12442
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-16 17:05 CEST by Thomas Spuhler
Modified: 2014-04-18 13:54 CEST (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Thomas Spuhler 2014-04-16 17:05:51 CEST
+++ This bug was initially created as a clone of Bug #12442 +++

Description of problem:
I installed the php-pear-PhpDocumentor package.
The package provides only directories. No files, no tools. No phpdoc command.
The package is useless since it's not providing any utilities.

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

How reproducible:
Always.

Steps to Reproduce:
1. Install the rpm
2. Check for the phpdoc command.



Reproducible: 

Steps to Reproduce:
Comment 1 Thomas Spuhler 2014-04-16 17:14:00 CEST
The bug shows the same problem as bug #12442 (but it's mga4) and the same solution, except we already have php-pear-PEAR_PackageFileManager in the repos.
Nobody has reported the problem, but we should clean this up as mga4 will be around for a while.

It can be tested the same way as bug #12422.

The following packages are now in updates_testing:
php-pear-PhpDocumentor-1.4.4-3.1.mga3.src.rpm
php-pear-PhpDocumentor-1.4.4-3.1.mga3.noarch.rpm
assigning this to QA

Status: NEW => ASSIGNED
Assignee: bugsquad => qa-bugs
Source RPM: php-pear-PhpDocumentor-1.4.4-2.mga3.src.rpm => php-pear-PhpDocumentor-1.4.4-3.mga3.src.rpm

Comment 2 claire robinson 2014-04-16 19:25:35 CEST
You've listed mga3 packages for this Thomas but stated it is for mga4. 
Can you clarify please and give a full advisory.

Keywords: Triaged, validated_update => (none)
CC: sysadmin-bugs => (none)
Source RPM: php-pear-PhpDocumentor-1.4.4-3.mga3.src.rpm => (none)
Whiteboard: (none) => has_procedure

claire robinson 2014-04-16 19:26:17 CEST

Whiteboard: has_procedure => has_procedure feedback

Comment 3 Thomas Spuhler 2014-04-16 19:53:55 CEST
Ooops, I didn't make the change when I copied them over.
The following packages are now in updates_testing:
php-pear-PhpDocumentor-1.4.4-3.1.mga4.src.rpm
php-pear-PhpDocumentor-1.4.4-3.1.mga4.noarch.rpm
assigning this to QA

Advisory:
  Updated php-pear-PhpDocumentor correct a packaging error which meant the 
  phpdoc command was not available.

Thomas
Comment 4 claire robinson 2014-04-16 22:04:29 CEST
Thanks Thomas

Whiteboard: has_procedure feedback => has_procedure

Comment 5 David GEIGER 2014-04-17 15:33:36 CEST
Tested mga4_64,

Testing complete for php-pear-PhpDocumentor-1.4.4-3.1.mga4, Ok for me, same result as bug #12442#c14.

Before :
# phpdoc
bash: phpdoc: command not found

# urpmf php-pear-PhpDocumentor | grep doc
php-pear-PhpDocumentor:/usr/share/pear/PhpDocumentor/phpDocumentor/Converters/XML/DocBook/peardoc2

# urpmf php-pear-PhpDocumentor | grep bin

----------------------------------------------------------------------------------
After :
# LC_ALL=C urpmi php-pear-PhpDocumentor
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (distrib1)")
  lib64mbfl1                     1.2.0        8.mga4        x86_64  
  lib64onig2                     5.9.3        2.mga4        x86_64  
  php-channel-phpunit            1.3          11.mga4       noarch  
  php-pear-Console_Color         1.0.3        3.mga4        noarch  
  php-pear-Console_Getargs       1.3.5        3.mga4        noarch  
  php-pear-Console_Table         1.1.6        2.mga4        noarch  
  php-pear-DbUnit                1.2.3        3.mga4        noarch  
  php-pear-Event_Dispatcher      1.1.0        5.mga4        noarch  
  php-pear-File_Find             1.3.2        2.mga4        noarch  
  php-pear-File_Iterator         1.3.4        2.mga4        noarch  
  php-pear-HTML_CSS              1.5.4        5.mga4        noarch  
  php-pear-HTML_Common           1.2.5        5.mga4        noarch  
  php-pear-HTML_Table            1.8.3        4.mga4        noarch  
  php-pear-HTTP_Request2         2.1.1        3.mga4        noarch  
  php-pear-Net_URL2              2.0.0        3.mga4        noarch  
  php-pear-PEAR_PackageFileMana> 1.7.0        2.mga4        noarch  
  php-pear-PEAR_PackageFileMana> 1.0.2        2.mga4        noarch  
  php-pear-PEAR_PackageFileMana> 1.0.2        4.mga4        noarch  
  php-pear-PHPUnit               3.7.27       4.mga4        noarch  
  php-pear-PHPUnit_MockObject    1.2.3        2.mga4        noarch  
  php-pear-PHPUnit_Selenium      1.3.2        2.mga4        noarch  
  php-pear-PHPUnit_Story         1.0.2        2.mga4        noarch  
  php-pear-PHP_CodeCoverage      1.2.13       2.mga4        noarch  
  php-pear-PHP_CompatInfo        1.9.0        6.mga4        noarch  
  php-pear-PHP_Invoker           1.1.3        2.mga4        noarch  
  php-pear-PHP_Timer             1.0.5        2.mga4        noarch  
  php-pear-PHP_TokenStream       1.2.1        2.mga4        noarch  
  php-pear-Services_W3C_CSSVali> 0.2.3        2.mga4        noarch  
  php-pear-Symfony2_Yaml         2.3.6        2.mga4        noarch  
  php-pear-Text_Template         1.1.4        3.mga4        noarch  
  php-pear-XML_Beautifier        1.2.2        3.mga4        noarch  
  php-pear-XML_Parser            1.3.4        3.mga4        noarch  
  php-pear-XML_Serializer        0.20.2       6.mga4        noarch  
  php-pear-channel-horde         1.0          17.mga4       noarch  
  php-pear-channel-symfony2      1.0          3.mga4        noarch  
(medium "Core Updates Testing (distrib5)")
  lib64php5_common5              5.5.11       1.mga4        x86_64  
  php-mbstring                   5.5.11       1.mga4        x86_64  
  php-mysql                      5.5.11       1.mga4        x86_64  
  php-mysqlnd                    5.5.11       1.mga4        x86_64  
  php-pear-PhpDocumentor         1.4.4        3.1.mga4      noarch  
14MB of additional disk space will be used.
3.8MB of packages will be retrieved.
Proceed with the installation of the 40 packages? (Y/n) Y

# urpmf --media "Core Updates Testing" php-pear-PhpDocumentor | grep bin
php-pear-PhpDocumentor:/usr/bin/phpdoc

# ls /usr/bin/phpd*
/usr/bin/phpdoc*

# phpdoc -d /var/www/html -t ~/phpdocs
PHP Version 5.5.11
phpDocumentor version 1.4.4

Parsing configuration file phpDocumentor.ini...
   (found in /usr/share/pear/data/PhpDocumentor/)...

done
using tokenizer Parser


Grabbing README/INSTALL/CHANGELOG

done
....etc

# ls ~/phpdocs/media/
banner.css  stylesheet.css

Whiteboard: has_procedure => has_procedure mga4-64-ok

Comment 6 David GEIGER 2014-04-17 15:46:25 CEST
Tested mga4_32,

Testing complete for php-pear-PhpDocumentor-1.4.4-3.1.mga4, Ok for me, same result as bug #12442#c14.

Before :
# phpdoc
bash: phpdoc: command not found

# urpmf php-pear-PhpDocumentor | grep doc
php-pear-PhpDocumentor:/usr/share/pear/PhpDocumentor/phpDocumentor/Converters/XML/DocBook/peardoc2

# urpmf php-pear-PhpDocumentor | grep bin

----------------------------------------------------------------------------------
After :
# LC_ALL=C urpmi php-pear-PhpDocumentor
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (distrib1)")
  libmbfl1                       1.2.0        8.mga4        i586    
  libonig2                       5.9.3        2.mga4        i586    
  php-channel-phpunit            1.3          11.mga4       noarch  
  php-pear-Console_Color         1.0.3        3.mga4        noarch  
  php-pear-Console_Getargs       1.3.5        3.mga4        noarch  
  php-pear-Console_Table         1.1.6        2.mga4        noarch  
  php-pear-DbUnit                1.2.3        3.mga4        noarch  
  php-pear-Event_Dispatcher      1.1.0        5.mga4        noarch  
  php-pear-File_Find             1.3.2        2.mga4        noarch  
  php-pear-File_Iterator         1.3.4        2.mga4        noarch  
  php-pear-HTML_CSS              1.5.4        5.mga4        noarch  
  php-pear-HTML_Common           1.2.5        5.mga4        noarch  
  php-pear-HTML_Table            1.8.3        4.mga4        noarch  
  php-pear-HTTP_Request2         2.1.1        3.mga4        noarch  
  php-pear-Net_URL2              2.0.0        3.mga4        noarch  
  php-pear-PEAR_PackageFileMana> 1.7.0        2.mga4        noarch  
  php-pear-PEAR_PackageFileMana> 1.0.2        2.mga4        noarch  
  php-pear-PEAR_PackageFileMana> 1.0.2        4.mga4        noarch  
  php-pear-PHPUnit               3.7.27       4.mga4        noarch  
  php-pear-PHPUnit_MockObject    1.2.3        2.mga4        noarch  
  php-pear-PHPUnit_Selenium      1.3.2        2.mga4        noarch  
  php-pear-PHPUnit_Story         1.0.2        2.mga4        noarch  
  php-pear-PHP_CodeCoverage      1.2.13       2.mga4        noarch  
  php-pear-PHP_CompatInfo        1.9.0        6.mga4        noarch  
  php-pear-PHP_Invoker           1.1.3        2.mga4        noarch  
  php-pear-PHP_Timer             1.0.5        2.mga4        noarch  
  php-pear-PHP_TokenStream       1.2.1        2.mga4        noarch  
  php-pear-Services_W3C_CSSVali> 0.2.3        2.mga4        noarch  
  php-pear-Symfony2_Yaml         2.3.6        2.mga4        noarch  
  php-pear-Text_Template         1.1.4        3.mga4        noarch  
  php-pear-XML_Beautifier        1.2.2        3.mga4        noarch  
  php-pear-XML_Parser            1.3.4        3.mga4        noarch  
  php-pear-XML_Serializer        0.20.2       6.mga4        noarch  
  php-pear-channel-horde         1.0          17.mga4       noarch  
  php-pear-channel-symfony2      1.0          3.mga4        noarch  
(medium "Core Updates Testing (distrib5)")
  libphp5_common5                5.5.11       1.mga4        i586    
  php-mbstring                   5.5.11       1.mga4        i586    
  php-mysql                      5.5.11       1.mga4        i586    
  php-mysqlnd                    5.5.11       1.mga4        i586    
  php-pear-PhpDocumentor         1.4.4        3.1.mga4      noarch  
13MB of additional disk space will be used.
3.7MB of packages will be retrieved.
Proceed with the installation of the 40 packages? (Y/n) y

# urpmf --media "Core Updates Testing" php-pear-PhpDocumentor | grep bin
php-pear-PhpDocumentor:/usr/bin/phpdoc

# ls /usr/bin/phpd*
/usr/bin/phpdoc*

# phpdoc -d /var/www/html -t ~/phpdocs
PHP Version 5.5.11
phpDocumentor version 1.4.4

Parsing configuration file phpDocumentor.ini...
   (found in /usr/share/pear/data/PhpDocumentor/)...

done
using tokenizer Parser


Grabbing README/INSTALL/CHANGELOG

done
....etc

# ls ~/phpdocs/media/
banner.css  stylesheet.css

Whiteboard: has_procedure mga4-64-ok => has_procedure mga4-64-ok mga4-32-ok

Comment 7 Rémi Verschelde 2014-04-18 00:13:31 CEST
Validating update, advisory has been uploaded.

Please push to 4 core/updates.

Keywords: (none) => validated_update
Whiteboard: has_procedure mga4-64-ok mga4-32-ok => has_procedure mga4-64-ok mga4-32-ok advisory
CC: (none) => remi, sysadmin-bugs

Comment 8 Colin Guthrie 2014-04-18 13:54:08 CEST
Update pushed: https://advisories.mageia.org/MGAA-2014-0105.html

Status: ASSIGNED => RESOLVED
CC: (none) => mageia
Resolution: (none) => FIXED


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