Just managed to debug this. TMP is a dir inside the ${D} , exported by portage. This means that the temp dir inside the "clamassassin" ebuild is a path inside /var/tmp/portage/clamassassin-${VER}/temp , Which doesn't always exist as writable by anyone, and therefore causes dataloss. Reproducible: Always Steps to Reproduce: 1. 2. 3. marked as critical due to 67 mails lost.
Created attachment 38380 [details, diff] Diff file for clamassassin-1.2.0.ebuild This diff introduces a sed tweak to fix this bug.
In CVS now. Thanks for debugging spider, and thanks Andrej.