[Bug 480512] New: fontconfig - fc-cache refuses to write caches
bugzilla at redhat.com
bugzilla at redhat.com
Sun Jan 18 00:37:34 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: fontconfig - fc-cache refuses to write caches
https://bugzilla.redhat.com/show_bug.cgi?id=480512
Summary: fontconfig - fc-cache refuses to write caches
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: fontconfig
AssignedTo: besfahbo at redhat.com
ReportedBy: michal at harddata.com
QAContact: extras-qa at fedoraproject.org
CC: besfahbo at redhat.com, fedora-fonts-bugs-list at redhat.com
Classification: Fedora
Description of problem:
The latest rawhide updates on my system brought the following fonts:
bitstream-vera-sans-fonts
bitstream-vera-sans-mono-fonts
bitstream-vera-serif-fonts
dejavu-lgc-sans-fonts
dejavu-lgc-sans-mono-fonts
dejavu-lgc-serif-fonts
dejavu-sans-fonts
dejavu-sans-mono-fonts
dejavu-serif-fonts
With every of those packages I got a message like this:
/usr/share/fonts/dejavu: failed to write cache
It turns out that messages are coming from /usr/bin/fc-cache and running
'/usr/bin/fc-cache -v /usr/share/fonts/dejavu' produces the following:
/usr/share/fonts/dejavu: caching, new cache contents: 42 fonts, 0 dirs
/usr/share/fonts/dejavu: failed to write cache
/var/cache/fontconfig: cleaning cache directory
/root/.fontconfig: not cleaning non-existent cache directory
/usr/bin/fc-cache: failed
Check with strace reveals what follows:
open("/var/cache/fontconfig/12b26b760a24f8b4feb03ad48a333a72-x86-64.cache-2",
O_
RDONLY) = -1 ENOENT (No such file or directory)
open("/root/.fontconfig/12b26b760a24f8b4feb03ad48a333a72-x86-64.cache-2",
O_RDON
LY) = -1 ENOENT (No such file or directory)
write(2, "/usr/share/fonts/dejavu: failed t"..., 47) = 47
unlink("/var/cache/fontconfig/12b26b760a24f8b4feb03ad48a333a72-x86-64.cache-2")
= -1 ENOENT (No such file or directory)
unlink("/root/.fontconfig/12b26b760a24f8b4feb03ad48a333a72-x86-64.cache-2") =
-1
ENOENT (No such file or directory)
Attempts to open new files with O_RDONLY? I do not think that this is going to
work.
Version-Release number of selected component (if applicable):
fontconfig-2.6.90-3.git.63.g6bb4b9a.fc11.x86_64
How reproducible:
On every try.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Fedora-fonts-bugs-list
mailing list