Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125600 - dev-php5/PEAR-PHPUnit2 should not depend on dev-php5/xdebug
Summary: dev-php5/PEAR-PHPUnit2 should not depend on dev-php5/xdebug
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-09 06:45 UTC by Alexander M. Turek
Modified: 2006-03-10 03:09 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 Alexander M. Turek 2006-03-09 06:45:09 UTC
PHPUnit2 uses some features of the xdebug php extension for its code coverage analysis. If xdebug is not available, the code coverage feature is disabled, but PHPUnit2 still works.

This is why I'd suggest to either remove the xdebug dependancy from the xdebug ebuild or to trigger it via a local USE flag (e.g. "code-coverage").
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2006-03-09 09:19:40 UTC
There was a recent discussion in the PHP Herd that PEAR packages should pull in even their optional dependencies and I don't see why this should be a problem in this case.
Comment 2 Alexander M. Turek 2006-03-09 09:54:08 UTC
Hi Sebastian,

I'd like to avoid installing unneeded software on my machines. Installing a package just to satisfy another package's depedency for a feature I don't use does not make much sense to me and afaik this is what Gentoo's use flags are for.

I don't want to annoy you, but what do you think about my suggestion regarding that use flag? It could be enabled by default, so adding that flag won't change anything unless I deactivate it in my package.use.
Comment 3 Sebastian Bergmann (RETIRED) gentoo-dev 2006-03-10 03:09:23 UTC
Reverted until I figure out/decide on another way to handle this.