lately i saw quite a lot of packages installing files to /var/tmp/portage/${P}/usr/lib/... instead of just /usr/lib. This completely breaks most (all?) packages and should of course get fixed as soon as possible. I suggest to add a small patch which enables checking for ${D}/${D} and dies if files are found. This would make catching these cases much easier for the ebuild devs and hopefully increase QA a lot. Sample output: [...] QA Notice: /var/tmp/portage/grub-0.96-r2/image//usr/share/man/man8/grub-install.8 installed to ${D}/${D} QA Notice: /var/tmp/portage/grub-0.96-r2/image//usr/share/man/man8/grub-md5-crypt.8 installed to ${D}/${D} QA Notice: /var/tmp/portage/grub-0.96-r2/image//usr/share/man/man8/grub-terminfo.8 installed to ${D}/${D} !!! ERROR: sys-boot/grub-0.96-r2 failed. !!! Function dyn_install, Line 1025, Exitcode 0 !!! Aborting due to QA concerns: 39 files installed to /var/tmp/portage/grub-0.96-r2/image///var/tmp/portage/grub-0.96-r2/image/ !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 78501 [details, diff] patch to enable checking for files installed to ${D}/${D}
I like this patch
InSVN -r2620
Released in 2.1_pre5.