Subject: reachover X11 -- fonts.cache-1 problem
To: None <>
From: Juergen Hannken-Illjes <>
List: current-users
Date: 02/29/2004 17:31:30
Using -x to build X11 there is a problem regarding font caches.

The install is done by pax which doesn't preserve the directory modification
times. This leaves the fonts.cache-1 files with older modification times
than the corresponding directories.

From xsrc/xfree/xc/lib/fontconfig/src/fccache.c:

	FcDirCacheValid (const FcChar8 *dir)
	 * If the directory has been modified more recently than
	 * the cache file, the cache is not valid

So after a fresh install the font caches are invalid and fc-list returns
no fonts. Applications using pango->fontconfig now die with 

	No fonts found; this probably means that the fontconfig
	library is not correctly configured. You may need to
	edit the fonts.conf configuration file. More information
	about fontconfig can be found in the fontconfig(3) manual
	page and on

Touching all fonts.cache-1 files after install works. What could be the
real solution?
Juergen Hannken-Illjes - - TU Braunschweig (Germany)