It happen to me quite often during few years of usage I was forced to rebuild the package dependency tree. While emerge supports switch -e, this is sometimes overkill, as this trigger recompile of dozen of packages. In case of vmware-workstation for example 294, but in case of Kde env it is much more. So how about let portage set to emerge only certain depth of dependencies to be recompiled? We can achieve such behaviour in not easy to use way as below: PACKAGES=$(equery -C -q depgraph --depth=1 sci-mathematics/gismo | tail --lines=+2 | head --lines=-1 | cut -d\ -f6 | sed 's/.*/=\0/' | tr '\n' ' ') emerge -pv1 ${PACKAGES} or emerge -1a $(equery -C g --depth=2 =category/package-version | awk '/^[[:blank:]]\[/ {sub(/^[\]\[0-9[:blank:]]+/,"="); print $0}' | xargs emerge --color n -qp 2> /dev/null | awk '/^\[ebuild...R/ {sub(/^\[ebuild.+] /,"="); print $0}') Is it something to be considered as new feature into portage?
I mean something like: emerge -e --depth={number} packagename
I very much support this proposal. The recompilation triggered by the - e option is not much different from the recompilation of the entire Gentoo. It's really not necessary.