Bug 153349

Summary: "FC: cache for ~/.fonts is outdated" warning never goes away
Product: [openSUSE] SUSE Linux 10.1 Reporter: Mike Fabian <mfabian>
Component: BasesystemAssignee: Mike Fabian <mfabian>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: coolo, dmueller
Version: Beta 5   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mike Fabian 2006-02-24 11:23:17 UTC
mfabian@magellan:~/.fonts$ ll fonts.cache-2 --full
-rw-r--r-- 1 mfabian suse 245760 2006-02-24 12:20:33.000000000 +0100 fonts.cache-2
mfabian@magellan:~/.fonts$ fc-cache -v .
fc-cache: "/home/mfabian/.fonts": FC: cache for /home/mfabian/.fonts is outdated,
    consider running "fc-cache" as root!
FC: cache for /home/mfabian/.fonts is outdated,
    consider running "fc-cache" as root!
caching, 66 fonts, 1 dirs
FC: cache for /home/mfabian/.fonts is outdated,
    consider running "fc-cache" as root!
fc-cache: "/home/mfabian/.fonts/kde-override": skipping, 0 fonts, 0 dirs
fc-cache: failed
mfabian@magellan:~/.fonts$ fc-cache -v .
fc-cache: "/home/mfabian/.fonts": FC: cache for /home/mfabian/.fonts is outdated,
    consider running "fc-cache" as root!
FC: cache for /home/mfabian/.fonts is outdated,
    consider running "fc-cache" as root!
caching, 66 fonts, 1 dirs
FC: cache for /home/mfabian/.fonts is outdated,
    consider running "fc-cache" as root!
fc-cache: "/home/mfabian/.fonts/kde-override": skipping, 0 fonts, 0 dirs
fc-cache: failed
mfabian@magellan:~/.fonts$ ll fonts.cache-2 --full
-rw-r--r-- 1 mfabian suse 245760 2006-02-24 12:22:46.000000000 +0100 fonts.cache-2
mfabian@magellan:~/.fonts$
Comment 1 Dirk Mueller 2006-02-25 18:29:33 UTC
I can not reproduce this anymore. can you?
Comment 2 Mike Fabian 2006-02-27 11:16:38 UTC
Yes, I can still reproduce it.

Comment 3 Mike Fabian 2006-02-27 11:21:47 UTC
I guess the reason why you cannot reproduce it is that you have a
cache file for ~/.fonts in /var/cache/fontconfig.  Such a cache file
for ~mfabian/.fonts is generated when user mfabian calls "fc-cache -v"
via sudo.

When the cache file in /var/cache/fontconfig is there, the messages
disappear.

You can make them appear again by touching ~/.fonts.

After touching ~/.fonts, the first "fc-cache -v ~/.fonts" should
make the messages disappear. But the messages stay, no matter
how often you call "fc-cache -v ~/.fonts" as user.

Only calling "sudo fc-cache -v ~/.fonts" makes the message go away.

You have to use sudo instead of really becoming root because
if you are really root, $HOME is set to /root.
Comment 4 Mike Fabian 2006-03-17 11:44:58 UTC
We have disabled this warning for the release, i.e. this
bug is not important anymore → FIXED.