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

Bug 2231

Summary: unexpected portage dependicy calculation
Product: Portage Development Reporter: Sandy McArthur <Sandy>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: Low    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sandy McArthur 2002-04-29 10:15:24 UTC
This is rather trivial but worthy of thought during future Portage developement.

On a box that hadn't been updated since before the kernel sources were
refactored emerge doesn't calculate the needed package set as what to me seem
intutive with respect to virtual dependicies.

icc-6.0 depends on virtual/linux-sources which triggers the upgrade to
sys-kernel/gentoo-sources. Well, I use XFS so I need sys-kernel/xfs-sources.
When I try to emerge xfs-sources and icc at the same time portage wants to
emerge both xfs-sources and gentoo-sources. eg:

# emerge -p xfs-sources icc

These are the packages that I would merge, in order.

Calculating dependencies ...done!
[ebuild  N   ] sys-kernel/xfs-sources-2.4.18 to /
[ebuild  N   ] sys-kernel/gentoo-sources-2.4.19 to /
[ebuild    U ] dev-lang/icc-6.0 to /


I would expect that since xfs-sources provides virtual/linux-sources that
portage would not merge gentoo-sources.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-04-29 10:31:20 UTC

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