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

Bug 382721

Summary: dev-util/nvidia-cuda-toolkit-4.0 : dependency on gcc breaks emerge --depclean in case of a multislotted gcc
Product: Gentoo Linux Reporter: Eric F. GARIOUD <eric-f.garioud>
Component: Current packagesAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eric F. GARIOUD 2011-09-12 16:57:28 UTC
The way the dependency on gcc is specified in the ebuild :
-------------------
RDEPEND="${DEPEND}
...
sys-devel/gcc:4.4
...}
-------------------
Does not take into account that gcc can be emerged +multislot, this leading the system to formally get a 4.4.x slot but not 4.4 slot.

This does not cause any trouble when building, as emerge whateverpackage seems to correctly handle this.

However, one cannot any longer process any emerge --depclean because of the following complaint :

* Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   sys-devel/gcc:4.4 pulled in by:
 *     dev-util/nvidia-cuda-toolkit-4.0

despite I get a perfectly working and operational gcc-4.4.5


Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2011-09-15 01:15:42 UTC

*** This bug has been marked as a duplicate of bug 382823 ***