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

Bug 158740

Summary: Portage should print overlay info even for a 'masked package'
Product: Portage Development Reporter: Jonas Jonsson <jonas>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 155723    

Description Jonas Jonsson 2006-12-21 08:18:53 UTC
When doing an emerge and the package is masked by ~amd64 it doesn't printout that the package belongs to an overlay.

Example of a problem.

$ sudo emerge libwnck -pv
Calculating dependencies   
!!! All ebuilds that could satisfy "libwnck" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-libs/libwnck-2.16.2 (masked by: ~amd64 keyword)
- x11-libs/libwnck-2.16.1 (masked by: ~amd64 keyword)
- x11-libs/libwnck-2.14.2 (masked by: ~amd64 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.

$ cat /usr/portage/x11-libs/libwnck/libwnck-2.16.2.ebuild | grep KEYWORDS
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sh sparc x86"

$ sudo env ACCEPT_KEYWORDS="~amd64" emerge libwnck -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-libs/libwnck-2.16.2  USE="-debug -doc" 0 kB [5] 

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage
 [2] /usr/portage/local/layman/sunrise
 [3] /usr/portage/local/layman/zugaina
 [4] /usr/portage/local/layman/nx
 [5] /usr/portage/local/layman/xeffects
Comment 1 Greg Kubaryk 2022-11-28 22:19:39 UTC
It looks like this was fixed around commit e92bdc4e4b955a93409f64bcc5aac5b6333234de from 2010 perhaps, but in any case the requested functionality (include repo name in the output) has been present for quite some time now.