I see this error when installing >=2.11.1: >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. * Cleaning broken symlinks in /etc/fonts/conf.d/ * abi_x86_64.amd64: running multilib_pkg_postinst * Creating global font cache for amd64 ... /usr/share/fonts: error scanning /usr/share/fonts/encodings: error scanning [ !! ] >>> media-libs/fontconfig-2.11.1-r1 merged. >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. Manually running the command with verbose option I get: # /usr/bin/x86_64-pc-linux-gnu-fc-cache -srfv /usr/share/fonts: caching, new cache contents: 0 fonts, 16 dirs /usr/share/fonts/100dpi: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/75dpi: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cantarell: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/corefonts: caching, new cache contents: 30 fonts, 0 dirs /usr/share/fonts/croscorefonts: caching, new cache contents: 13 fonts, 0 dirs /usr/share/fonts/cyrillic: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/dejavu: caching, new cache contents: 21 fonts, 0 dirs /usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/liberation-fonts: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/libertine-ttf: caching, new cache contents: 32 fonts, 0 dirs /usr/share/fonts/lyx: caching, new cache contents: 11 fonts, 0 dirs /usr/share/fonts/misc: caching, new cache contents: 48 fonts, 0 dirs /usr/share/fonts/terminus: caching, new cache contents: 36 fonts, 0 dirs /usr/share/fonts/ttf-bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs /usr/share/fonts/urw-fonts: caching, new cache contents: 35 fonts, 0 dirs /usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs /usr/local/share/fonts: skipping, no such directory /.local/share/fonts: skipping, no such directory Re-scanning /usr/share/fonts: /usr/share/fonts: error scanning Re-scanning /usr/share/fonts/encodings: /usr/share/fonts/encodings: error scanning /var/cache/fontconfig: cleaning cache directory /.cache/fontconfig: not cleaning non-existent cache directory /usr/bin/x86_64-pc-linux-gnu-fc-cache: failed But I don't see any clue about why it fails :|
This is: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=77252 And fixed with: http://cgit.freedesktop.org/fontconfig/commit/?id=f44157c809d280e2a0ce87fb078fc4b278d24a67 Do you let me commit the fix? :)
Will commit in some days if nobody disagree Thanks
+*fontconfig-2.11.1-r2 (23 Dec 2014) + + 23 Dec 2014; Pacho Ramos <pacho@gentoo.org> + +files/fontconfig-2.11.1-fc-cache-r.patch, +fontconfig-2.11.1-r2.ebuild: + Fix fc-cache -r (#531748) +