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
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: PHP Bugs
Depends on:
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: ---


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

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

That's what the ebuild checks for. If that's not enough, then take this upstream.
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...
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.