pkg_prerm() of dev-util/ccache-3.1.9-r3 deletes all regular files in /usr/$(get_libdir)/ccache/bin, but leaves /usr/$(get_libdir)/ccache and /usr/$(get_libdir)/ccache/bin directories. Output of pkg_prerm(): * Removing /usr/lib64/ccache/bin/gcc ... [ ok ] * Removing /usr/lib64/ccache/bin/cc ... [ ok ] * Removing /usr/lib64/ccache/bin/c++ ... [ ok ] * Removing /usr/lib64/ccache/bin/g++ ... [ ok ] * Removing /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc ... [ ok ] * Removing /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-c++ ... [ ok ] * Removing /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ ... [ ok ] $ ls -a /usr/lib64/ccache . .. bin $ ls -a /usr/lib64/ccache/bin . .. $
should be all set now in the tree; thanks for the report! Commit message: Trim empty ccache dirs automatically http://sources.gentoo.org/dev-util/ccache/files/ccache-config?r1=1.4&r2=1.5
Problem still present in dev-util/ccache-3.1.10-r1. You changed ${FILESDIR}/ccache-config, but >=dev-util/ccache-3.1.9-r1 use ${FILESDIR}/ccache-config-2.
should be all set now in the tree; thanks for the report! Commit message: Trim empty ccache dirs automatically http://sources.gentoo.org/dev-util/ccache/files/ccache-config-2?r1=1.3&r2=1.4