[Bug 214885] New: /var/cache/fontconfig: invalid cache file: cec4476c594e85eb0db2072a0b2657ff.cache-2
https://bugzilla.novell.com/show_bug.cgi?id=214885 Summary: /var/cache/fontconfig: invalid cache file: cec4476c594e85eb0db2072a0b2657ff.cache-2 Product: openSUSE 10.2 Version: Beta 1 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: sndirsch@novell.com ReportedBy: olh@novell.com QAContact: sndirsch@novell.com date.suse.de was upgraded from 10.2a5+ to current stable with rpm -Fvh */*. each font related SuSEconfig run prints alot of messages like Reading /etc/sysconfig and updating the system... Executing /sbin/conf.d/SuSEconfig.fonts... Creating fonts.{scale,dir} files ................ /etc/fonts/suse-font-dirs.conf unchanged /etc/fonts/suse-hinting.conf unchanged /etc/fonts/suse-bitmaps.conf unchanged Creating cache files for fontconfig /var/cache/fontconfig: invalid cache file: eb501faf537583023c814803f479cc52.cache-2 /var/cache/fontconfig: invalid cache file: 79f71d477687accaebe6b31b80202f6b.cache-2 .. I have not checked if that is a temporary bug or if an upgrade from a clean 10.1 gives the same 'invalid cache file' warnings. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214885 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sndirsch@novell.com |mfabian@novell.com Component|X.Org |X11 Applications -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214885 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com ------- Comment #1 from mfabian@novell.com 2006-10-25 08:52 MST ------- I've fixed this already in STABLE. An upgrade will give the same warnings. The cache files have names containing the architectures now. E.g. 79f71d477687accaebe6b31b80202f6b-x86-64.cache-2. Fontconfig running on architecture "foo" should not complain about invalid cache files from architecture "bar", i.e. it should only read the cache files for the current architecture. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214885 ------- Comment #2 from mfabian@novell.com 2006-10-25 08:53 MST ------- See http://lists.freedesktop.org/archives/fontconfig/2006-October/002515.html and followups. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214885 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from mfabian@novell.com 2006-10-25 08:54 MST ------- Closing as FIXED. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214885 ------- Comment #4 from mfabian@novell.com 2006-10-25 08:57 MST ------- The question remains what should happen with the old cache files from 10.1, i.e. files of the form 79f71d477687accaebe6b31b80202f6b.cache-2 which do not have an architecture name in front of .cache-2. And with the ~/.fonts.cache-2 files in the home directories of the users. Currently both the 79f71d477687accaebe6b31b80202f6b.cache-2 files and the ~/.fonts.cache-2 files just stay there and waste some disk space. Should I clean up the global cache files of the type 79f71d477687accaebe6b31b80202f6b.cache-2 in fonts-config? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214885 ------- Comment #5 from mfabian@novell.com 2006-10-27 06:20 MST ------- Created an attachment (id=102812) --> (https://bugzilla.novell.com/attachment.cgi?id=102812&action=view) do-not-clean-cache-files-for-different-architectures.patch The patch which I used first to fix the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214885 ------- Comment #6 from mfabian@novell.com 2006-10-27 06:23 MST ------- Keith replied: From: Keith Packard <keithp@keithp.com> Subject: Re: Patch (was: fc-cache for x86 deletes caches for x86_64) To: mfabian@suse.de Cc: keithp@keithp.com, fontconfig@lists.freedesktop.org Date: Tue, 24 Oct 2006 10:07:02 -0700 On Tue, 2006-10-24 at 17:36 +0200, Mike FABIAN wrote:
I tried to fix the problem with the attached patch which seems to work for me.
Yes, that's obviously the right plan; ignore files which aren't of the right form. Instead of using strstr, it would be better to just compare the end of the filename against the provided pattern. -- keith.packard@intel.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214885 ------- Comment #7 from mfabian@novell.com 2006-10-27 06:38 MST ------- Created an attachment (id=102815) --> (https://bugzilla.novell.com/attachment.cgi?id=102815&action=view) do-not-clean-cache-files-for-different-architectures.patch improved patch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=214885 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com