When merging pitivi, the merge is successful. That imply that all the files in /var/tmp/portage/media-video/pitivi* must be removed as well than the pitivi directory. But the locale files are left behind at /var/tmp/portage/media-video/pitivi*/locale/* with pitivi-0.14.1 & 0.14.0 Reproducible: Always Steps to Reproduce: 1. emerge pitivi 2. 3. Actual Results: Merge OK, but files are left behind by portage in /var/tmp/portage/media-video/pitivi* Expected Results: No file must be left behind
Created attachment 286197 [details] emerge --info =media-video/pitivi-0.14.1
The src_install output shows it installing a bunch of files like this via make: installing ar.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/ar/LC_MESSAGES/pitivi.mo installing ast.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/ast/LC_MESSAGES/pitivi.mo installing bg.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/bg/LC_MESSAGES/pitivi.mo installing ca.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/ca/LC_MESSAGES/pitivi.mo It should be fixed so that it doesn't install above ${D} (the image directory).
I don't know if this should be a separate bug (found this bug when searching), but pitivi is not respecting LINGUAS (it is installing messages for all locales). I found this in the build log: make[2]: Entering directory `/var/tmp/portage/media-video/pitivi-0.14.1/work/pitivi-0.14.1/po' /bin/sh /var/tmp/portage/media-video/pitivi-0.14.1/work/pitivi-0.14.1/install-sh -d /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale if test -n "ar ast bg ca ca@valencia cs da de dz el en_GB eo es et fi fr gl gu he hu it ja ko ku lv mr nb nds nl oc pa pl pt pt_BR ro ru sk sl sr sr@latin sv tr uk vi zh_CN zh_HK z h_TW"; then \ linguas="ar ast bg ca ca@valencia cs da de dz el en_GB eo es et fi fr gl gu he hu it ja ko ku lv mr nb nds nl oc pa pl pt pt_BR ro ru sk sl sr sr@latin sv tr uk vi zh_CN zh_HK zh _TW"; \ else \ linguas=""; \ fi; \ for lang in $linguas; do \ dir=/var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/$lang/LC_MESSAGES; \ /bin/sh /var/tmp/portage/media-video/pitivi-0.14.1/work/pitivi-0.14.1/install-sh -d $dir; \ if test -r $lang.gmo; then \ /usr/bin/install -c -m 644 $lang.gmo $dir/pitivi.mo; \ echo "installing $lang.gmo as $dir/pitivi.mo"; \ else \ /usr/bin/install -c -m 644 ./$lang.gmo $dir/pitivi.mo; \ echo "installing ./$lang.gmo as" \ "$dir/pitivi.mo"; \ fi; \ if test -r $lang.gmo.m; then \ /usr/bin/install -c -m 644 $lang.gmo.m $dir/pitivi.mo.m; \ echo "installing $lang.gmo.m as $dir/pitivi.mo.m"; \ else \ if test -r ./$lang.gmo.m ; then \ /usr/bin/install -c -m 644 ./$lang.gmo.m \ $dir/pitivi.mo.m; \ echo "installing ./$lang.gmo.m as" \ "$dir/pitivi.mo.m"; \ else \ true; \ fi; \ fi; \ done installing ar.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/ar/LC_MESSAGES/pitivi.mo installing ast.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/ast/LC_MESSAGES/pitivi.mo installing bg.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/bg/LC_MESSAGES/pitivi.mo installing ca.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/ca/LC_MESSAGES/pitivi.mo [...] installing zh_HK.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/zh_HK/LC_MESSAGES/pitivi.mo installing zh_TW.gmo as /var/tmp/portage/media-video/pitivi-0.14.1/image/.././locale/zh_TW/LC_MESSAGES/pitivi.mo make[2]: Leaving directory `/var/tmp/portage/media-video/pitivi-0.14.1/work/pitivi-0.14.1/po' make[2]: Entering directory `/var/tmp/portage/media-video/pitivi-0.14.1/work/pitivi-0.14.1' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man1" || /bin/mkdir -p "/var/tmp/portage/media-video/pitivi-0.14.1/image//usr/share/man/man1" test -z "/usr/share/mime/packages" || /bin/mkdir -p "/var/tmp/portage/media-video/pitivi-0.14.1/image//usr/share/mime/packages" /usr/bin/install -c -m 644 pitivi.xml '/var/tmp/portage/media-video/pitivi-0.14.1/image//usr/share/mime/packages' /usr/bin/install -c -m 644 docs/pitivi.1 '/var/tmp/portage/media-video/pitivi-0.14.1/image//usr/share/man/man1' make[2]: Leaving directory `/var/tmp/portage/media-video/pitivi-0.14.1/work/pitivi-0.14.1' make[1]: Leaving directory `/var/tmp/portage/media-video/pitivi-0.14.1/work/pitivi-0.14.1' * Converting shebang in '/var/tmp/portage/media-video/pitivi-0.14.1/image/usr/bin/pitivi' >>> Completed installing pitivi-0.14.1 into /var/tmp/portage/media-video/pitivi-0.14.1/image/
Both problems (leaving files behind and not respecting LINGUAS) still exist in pitivi-0.15.2.
Please check with 0.93 and 0.14 and 0.15 where removed a while ago.