I have unmerge xorg-x11 and it left files back in /usr/share/fonts/* having collision-protect in USE flags, on the next merge of xorg-x11 it failed, because these files where present * = local/encodings/misc/CID in my case also fonts-cache.1 is there maybe this should be handled in pkg_prerm, so that the directory cleanup work too Reproducible: Always Steps to Reproduce: 1. 2. 3.
Yeah, that happens because those files are generated in pkg_postinst(). If we remove them in pkg_*rm(), won't that remove them in the upgrade case too, when they need to stay? Since package removal takes place after installation, that's what I would think.
This is a problem because they're often regenerated later. Not much we can do. I've removed all force-regeneration I can find.