Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342283 - dev-php5/phpunit-3.5.0 missing dependencies
Summary: dev-php5/phpunit-3.5.0 missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-23 09:35 UTC by onip
Modified: 2010-10-30 17:32 UTC (History)
1 user (show)

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 onip 2010-10-23 09:35:55 UTC
$ phpunit sample_test.class.php 
PHP Warning:  require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38
PHP Fatal error:  require_once(): Failed opening required 'PHP/CodeCoverage/Filter.php' (include_path='.:/usr/share/php5:/usr/share/php') in /usr/bin/phpunit on line 38

after installing dev-php5/PEAR-PHP_CodeCoverage the error changes in 
$ phpunit sample_test.class.php 
PHP Warning:  require_once(PHP/Timer.php): failed to open stream: No such file or directory in /usr/share/php5/PHPUnit/Framework/TestResult.php on line 47
PHP Fatal error:  require_once(): Failed opening required 'PHP/Timer.php' (include_path='.:/usr/share/php5:/usr/share/php') in /usr/share/php5/PHPUnit/Framework/TestResult.php on line 47

so also dev-php5/PEAR-PHP_Timer is needed.

In short dev-php5/PEAR-PHP_Timer and dev-php5/PEAR-PHP_CodeCoverage need to be added as dependencies of dev-php5/phpunit-3.5.0

Reproducible: Always

Steps to Reproduce:
Comment 1 onip 2010-10-23 09:40:55 UTC
I misread USE minimal configuration on my system, I thought it was on but it was down, so sorry for the noise.

Anyway phpunit, with minimal flag enabled seems not to be functional
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2010-10-30 17:32:23 UTC
(In reply to comment #1)
> I misread USE minimal configuration on my system, I thought it was on but it
> was down, so sorry for the noise.
> 
> Anyway phpunit, with minimal flag enabled seems not to be functional
> 

Agree with you there. Did some cleanup of the dependencies and removed the minimal USE flag so that all deps are always installed.