Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141643 - emerge should be more explicit when all ebuilds for installed package are masked/removed
Summary: emerge should be more explicit when all ebuilds for installed package are mas...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Lowest enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 136244 142283
  Show dependency tree
 
Reported: 2006-07-24 15:56 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2006-07-31 10:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for emerge for more explicit output (emerge.patch,607 bytes, patch)
2006-07-24 15:58 UTC, Vlastimil Babka (Caster) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-07-24 15:56:24 UTC
Currently (portage-2.1.1_pre3-r4) emerge will die if all ebuilds for a needed dep are masked/removed, regardless if the dep is already installed. But for world packages that are not a dep of something else, either:

a) package gets masked, you try install it, you get error, emerge dies, fine.
b) you install a package, then it gets masked...

In case b) emerge should give a warning (and/or even die) when you try to update world. IMHO it shouldn't make differences between (trying) installing package before and after masking. Currently it just gives a warning (list of such packages) that's easy to overlook (from my own experience :) and only with --verbose option... I think such info is too important to be printed only with verbose option.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-07-24 15:58:30 UTC
Created attachment 92658 [details, diff]
patch for emerge for more explicit output

This is my patch attempt to handle this - the list of missing/masked packages is printed even without --verbose and the !!!'s are red for better noticing. Changed the text a bit too, I think it's more correct now, but maybe I'm wrong on this one.
Comment 2 Zac Medico gentoo-dev 2006-07-24 22:42:48 UTC
Thanks, your patch is in svn r4022.
Comment 3 Zac Medico gentoo-dev 2006-07-25 12:28:37 UTC
This has been released in 2.1.1_pre3-r5.