Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382823 - sys-apps/portage-2.1.10.11 : Put emerge packagename and emerge --depclean in coherency when resolving dependencies on multislotted packages
Summary: sys-apps/portage-2.1.10.11 : Put emerge packagename and emerge --depclean in ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 382721 (view as bug list)
Depends on:
Blocks: 155723 381649
  Show dependency tree
 
Reported: 2011-09-13 12:37 UTC by Eric F. GARIOUD
Modified: 2011-09-15 06:24 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-13 12:37:26 UTC
Following Bug 382721 I reported against nvidia-cuda-toolkit, I think it would be an enhancement of portage if emerge packagename and emerge --depclean were coherent when resolving dependencies.

exempli gratia :

- gcc-4.4.5 emerged with the multislot use flag.
- emerge packagename apparently considers that it fits for satisfying a build specifying a sys-devel/gcc:4.4 runtime dependency.
- But emerge --depclean apparently does not consider things identically and fails processing because :
-----------------------------------------------
* 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
----------------------------------------

It would of course be simpler (on the user point of view) if both were considering that gcc-4.4.5 slot satisfies the dependency on a gcc-4.4 slot but if emerge --depclean must / can not be modified that way then emerge packagename should behave identically and should not consider that the dependency is satisfied too. 

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2011-09-15 01:15:42 UTC
*** Bug 382721 has been marked as a duplicate of this bug. ***
Comment 3 Zac Medico gentoo-dev 2011-09-15 06:24:28 UTC
This is fixed in 2.1.10.18 and 2.2.0_alpha58.