I'm not sure if this is a bug or if portage is working as designed, so this is either a bug report or a RFE.... I unmerged esound from my system, breaking some dependencies so maybe all bets are off. The trouble I'm having right now is if I try to merge grip (grip-3.0.0-r1.ebuild), the compile phase fails because I'm missing libesd.la. grip does not list esound as a dependency, but it lists gnome-libs, and gnome-libs *does* list esound as a dependency. Ideally, when I try to merge grip, portage would walk the dependency tree and notice that by way of gnome-libs it depends on esound. Since esound isn't installed it should be installed first like any first order dependencies would be. I'm using portage 2.0.4.
Good idea. I'd like to add this to a future version of Portage.
Please reopen this bug if the problem persists.