Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531748 - >=media-libs/fontconfig-2.11.1: /usr/share/fonts*: error scanning when updating
Summary: >=media-libs/fontconfig-2.11.1: /usr/share/fonts*: error scanning when updating
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben de Groot (RETIRED)
URL: https://www.libreoffice.org/bugzilla/...
Whiteboard:
Keywords:
Depends on:
Blocks: 520010
  Show dependency tree
 
Reported: 2014-12-05 13:18 UTC by Pacho Ramos
Modified: 2014-12-23 16:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2014-12-05 13:18:15 UTC
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 :|
Comment 2 Pacho Ramos gentoo-dev 2014-12-08 12:35:58 UTC
Will commit in some days if nobody disagree

Thanks
Comment 3 Pacho Ramos gentoo-dev 2014-12-23 16:33:15 UTC
+*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)
+