Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382721 - dev-util/nvidia-cuda-toolkit-4.0 : dependency on gcc breaks emerge --depclean in case of a multislotted gcc
Summary: dev-util/nvidia-cuda-toolkit-4.0 : dependency on gcc breaks emerge --depclean...
Status: RESOLVED DUPLICATE of bug 382823
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 16:57 UTC by Eric F. GARIOUD
Modified: 2011-09-15 01:15 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 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 ***