--- /usr/lib64/portage/python3.4/phase-functions.sh.orig 2016-05-11 08:11:09.512896879 +0200 +++ /usr/lib64/portage/python3.4/phase-functions.sh 2016-05-11 08:13:50.905804449 +0200 @@ -593,15 +593,6 @@ __vecho __ebuild_phase post_src_install - # record build & installed size in build log - if type -P du &>/dev/null; then - local sz=( $(du -ks "${WORKDIR}") ) - einfo "Final size of build directory: ${sz[0]} KiB" - sz=( $(du -ks "${D}") ) - einfo "Final size of installed tree: ${sz[0]} KiB" - __vecho - fi - cd "${PORTAGE_BUILDDIR}"/build-info set -f local f x --- /usr/lib64/portage/python3.4/misc-functions.sh.orig 2016-05-11 08:14:14.300110291 +0200 +++ /usr/lib64/portage/python3.4/misc-functions.sh 2016-05-11 08:14:23.124980108 +0200 @@ -224,6 +224,15 @@ ecompressdir --dequeue ecompress --dequeue + # record build & installed size in build log + if type -P du &>/dev/null; then + local sz=( $(du -ks "${WORKDIR}") ) + einfo "Final size of build directory: ${sz[0]} KiB" + sz=( $(du -ks "${D}") ) + einfo "Final size of installed tree: ${sz[0]} KiB" + __vecho + fi + # Create NEEDED.ELF.2 regardless of RESTRICT=binchecks, since this info is # too useful not to have (it's required for things like preserve-libs), and # it's tempting for ebuild authors to set RESTRICT=binchecks for packages