In my opinion, the --emptytree description in emerge(1) is very misleading-- details below. Reproducible: Always Steps to Reproduce: 1. man emerge Actual Results: --emptytree (-e) Reinstalls all world packages and their dependencies to the cur- rent USE specifications while differing from the installed set of packages as little as possible. You should run with --pre- tend first to make sure the result is what you expect. Expected Results: First, --emptytree doesn't imply world. It rebuilds the target and its entire dep tree, the way I understand it. Current USE specifications? Does that really need stated? Differing from the installed set as little as possible? Does this actually happen, or does it just emerge the target with all of the latest unmasked deps that satisfy it? I could be off-base on this one. Something like this seems more appropriate: --emptytree Rebuilds target and its entire dependency tree, as though no packages are currently installed. You should run with --pretend first to make sure the result is what you expect. This is from the current emerge(1) manpage from sys-apps/portage-2.1.8.3
Thanks, this is fixed in svn r15831.
The fix hasn't been released yet.
This is in 2.2_rc68, but I'll leave this bug open until it's in an unmasked version.
This is fixed in 2.1.9.