I have portage version 2.1.2_pre2-r9. I'm running ~x86. But I changed my make.conf to comment out the ACCEPT_KEYWORDS line but I haven't downgraded anything. Now if I do "emerge getdelta -pv" I get the following output: These are the packages that would be merged, in order: Calculating dependencies... done! Total size of downloads: 0 kB If I uncomment the ACCEPT_KEYWORDS="~x86" I instead get the following output: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-portage/getdelta-0.7.6 [0.7.4] 10 kB Total size of downloads: 10 kB Also, getdelta-0.7.6 is the only version of it in portage and it is masked ~x86. When I did the same type of test with other packages (like ck-sources) the output told me that all the versions were masked by keyword like expected.
Someone changed the summary to not be what I was saying. All of the packages I've looked at that were masked by keyword had the correct output. But in the case of getdelta, it failed.
The summary is accurate. I can reproduce the problem: $ emerge -pvd getdelta myaction None myopts {'--with-bdeps': 'y', '--pretend': True, '--debug': True, '--verbose': True, '--buildpkg': True} These are the packages that would be merged, in order: Calculating dependencies Parent: None Depstring: app-portage/getdelta Priority: 2 Candidates: ['app-portage/getdelta'] installed: app-portage/getdelta-0.7.4 -Exiting... None ... done! Total size of downloads: 0 kB
This is fixed in svn r4678. Note that bug 149816 will cause similar behavior in other situations like this where the installed ebuild is no longer in the portage tree.
This has been released in 2.1.2_pre3.