Seen with app-editors/emacs-18.59-r10: "abi_x86_x32? ( >=sys-libs/ncurses-5.9-r3[abi_x86_x32(-)] )" in *DEPEND results in a (false positive) repoman warning: dependency.unknown 2 app-editors/emacs/emacs-18.59-r10.ebuild: DEPEND: >=sys-libs/ncurses-5.9-r3[abi_x86_x32(-)] app-editors/emacs/emacs-18.59-r10.ebuild: RDEPEND: >=sys-libs/ncurses-5.9-r3[abi_x86_x32(-)] whereas repoman doesn't complain about the following which is: "abi_x86_x32? ( >=sys-libs/ncurses-5.9-r3[abi_x86_x32(-)?] )"
It behaves this way because portdb.xmatch("match-all", atom) returns nothing due to the abi_x86_x32 flag being masked. So, it needs to account for masked flags differently.
There's a patch in the following branch: https://github.com/zmedico/portage/tree/bug_545294 You can install the branch like this: ACCEPT_KEYWORDS="**" \ portage_LIVE_REPO="https://github.com/zmedico/portage.git" \ portage_LIVE_BRANCH="bug_545294" emerge -1 =sys-apps/portage-9999 I've posted the patch for review here: http://thread.gmane.org/gmane.linux.gentoo.portage.devel/5408
*** This bug has been marked as a duplicate of bug 525376 ***