When doing an emerge -av <package> and the package is not already installed and the package name is ambiguous, a full search with the package name as search term is triggered. Please remove this feature or at least make it triggered with an optional flag. Currently this is coupled to --quiet which is just plain wrong. Quickfix for now: patch /usr/lib64/python<version>/site-packages/_emerge/depgraph.py line 9035 from if "--quiet" in myopts: if 1: Reproducible: Always Steps to Reproduce: 1. emerge --unmerge mc 2. emerge -av mc Actual Results: a list of 107 packages containing "mc" Expected Results: only the 2 conflicting names should be listed as with emerge -av --quiet mc !!! The short ebuild name "mc" is ambiguous. Please specify !!! one of the following fully-qualified ebuild names instead: app-misc/mc sci-libs/mc Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r2, 3.14.0-gentoo x86_64) stripped other unneeded infos here.
There's a patch in the following branch: https://github.com/zmedico/portage/tree/bug_547736 I've posted it for review here: https://archives.gentoo.org/gentoo-portage-dev/message/ef5dab944516f2b155181f6e1d694407
Hi Zac, I applied the patch and now the behavior is as expected. As soon this is merged, the bug can be closed.
This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=37453ccdfc2dad1bb21d79a596655b614264fee9
Released in portage-2.2.19