1) Get a stage3. It will contain net-misc/openssh due to virtual/ssh in @system. 2) Install `emerge -a1 net-misc/dropbear` (note: I don't add net-misc/dropbear to my world file!) 3) Run `emerge -p --depclean` You will notice that emerge wants to depclean net-misc/openssh. My expectation: From reading current virtual/ssh ebuild, https://gitweb.gentoo.org/repo/gentoo.git/tree/virtual/ssh/ssh-0.ebuild?id=b4459aa17d4d7b5bf9150a31f4b409733ca5cbb6, I would assume that emerge would pick net-misc/openssh or we don't need the USE=minimal handling at all...
That just controls the default order, if you explicitly pick dropbear (by adding it to world), it will be preferred. There's no portage bug here.. Same thing happens when you emerge vim and nano is depcleanable.
Agreed, Portage is operating as-designed here.