Since 3.1.10, ccache installs its symlink tree in /usr/lib/ccache rather than /usr/$(get_libdir). I guess Portage needs to be updated.
duplicate of fixed https://bugs.gentoo.org/594982
*** This bug has been marked as a duplicate of bug 594982 ***