Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19172 - coreutils PROVIDEs fileutils, but portage still wants to merge it
Summary: coreutils PROVIDEs fileutils, but portage still wants to merge it
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-11 17:53 UTC by Zach Welch (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
2 users (show)

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 Zach Welch (RETIRED) gentoo-dev 2003-04-11 17:53:53 UTC
The ARM profile uses the new coreutils package; however, the existing PROVIDE
in that ebuild, which lists sys-apps/fileutils, does not satisfy that RDEPEND
in portage's own ebuild.  This appears to be a bug in <=portage-2.0.48_pre2.

Workaround: remove fileutils from portage's RDEPEND

Easy solution: use virtuals for {file,text,sh-}utils.  This actually makes
sense looking at the virtual/mta use case: you want the two alternatives to 
block each other.  These virtuals could be deprecated in the next release,
once coreutils becomes the main/only choice.

Hard solution: fix portage so that the coreutils PROVIDE works, which may
be The Right Thing To Do.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-11 23:00:03 UTC
carpaski -- can three packages "move" to one?
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-04-28 05:32:23 UTC
We can fix this... But have to add virtuals to all profiles.

coreutils: PROVIDE virtual/{file,text,sh}-utils
virtuals: virtual/$1-utils sys-apps/$1-utils

Then change all references to the virtuals.
Comment 3 Zach Welch (RETIRED) gentoo-dev 2003-04-28 18:09:32 UTC
Heh, this is exactly what I proposed back when I switched the ARM profile to use coreutils.  I am dying to do this and unmask coreutils, because I am very tired of having to extensively edit the portage tree everytime I emerge rsync + emerge world -uUDvp just to prevent fileutils from being pulled from the portage ebuild.

Pretty please may I fix and commit these changes?  I have tested them for months now and this solution works perfectly on ARM and x86.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-07-18 05:21:49 UTC
we're doing the upgrade another way. closing this.