Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 386965

Summary: media-video/dirac has automagic dependency on dev-util/cppunit
Product: Gentoo Linux Reporter: Justin Lecher (RETIRED) <jlec>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: CONFIRMED ---    
Severity: normal CC: asturm, walch.martin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 312827    

Description Justin Lecher (RETIRED) gentoo-dev 2011-10-12 19:01:50 UTC
I removed dev-util/cppunit and got

>>> package: dev-util/cppunit-1.12.1
 *  - /usr/lib64/
 *  - /usr/lib64/
 *      used by /usr/bin/dirac_unittest (media-video/dirac-1.0.2)
Comment 1 sf 2011-10-26 09:25:25 UTC
On my system (x86) cppunit is no longer needed for any other package and was removed by depclean.

revdep-rebuild said

 *   broken /usr/bin/dirac_unittest (requires

I re-emerged dirac (without installed cppunit) and the package no longer contains /usr/bin/dirac_unittest.

But as soon as I install cppunit again and re-emerge dirac, /usr/bin/dirac_unittest reappears.

I would fix it this way:

1. dirac should depend (mind: not rdepend) on cpp_unit
2. /usr/bin/dirac_unittest should never be installed