Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209515 - dev-php/PEAR-PEAR_PackageFileManager_Cli requires simplexml PHP extension
Summary: dev-php/PEAR-PEAR_PackageFileManager_Cli requires simplexml PHP extension
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: PHP Bugs
URL: http://pear.php.net/bugs/bug.php?id=1...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-10 12:57 UTC by Toni Arnold
Modified: 2008-03-07 09:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Arnold 2008-02-10 12:57:48 UTC
PEAR-PEAR_PackageFileManager_Cli requires simplexml PHP extension

Steps to reproduce:
1. install dev-lang/php without simplexml in USE
2. install dev-php/PEAR-PEAR_PackageFileManager_Cli
3. create a package.xml file as described on http://pyrus.sourceforge.net/PEAR_PackageFileManager_Cli.html

Observed behaviour:
At the end (after entering "maintainer #1's email", but before the summary is printed), the following error message gets printed:
PEAR_PackageFileManager_SVN Error: simplexml extension is required in PHP 5+.  PHP 4 uses XML_Tree

Expected behaviour:
No error.

Quick fix:
Recompile dev-lang/php with simplexml in USE.

Suggested fix:
Add simplexml to the require_php_with_use line in the ebuild's pkg_setup().
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-10 13:03:38 UTC
 <dependencies>
  <required>
   <php>
    <min>4.2.0</min>
   </php>
   <pearinstaller>
    <min>1.4.3</min>
   </pearinstaller>
   <package>
    <name>PEAR_PackageFileManager</name>
    <channel>pear.php.net</channel>
    <min>1.6.0</min>
   </package>
   <extension>
    <name>xml</name>
   </extension>
  </required>
 </dependencies>

That's what the ebuild checks for. If that's not enough, then take this upstream.

http://pear.php.net/bugs/report.php?package=PEAR_PackageFileManager_Cli
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-03 17:06:08 UTC
InCVS meanwhile....
Comment 3 Toni Arnold 2008-03-07 09:26:06 UTC
Upstream corrected my bug report:
"This is an issue with the dependency PEAR_PackageFileManager", so the require_php_with_use correctly should be there. Sorry for the inconvenience...
http://pear.php.net/bugs/bug.php?id=13312
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-03-07 09:31:52 UTC
Will be fixed when upstream makes up their mind and release something. Thanks.