Is fc-cache broken on -current?

Bill Hacker wbh at conducive.org
Wed Sep 27 09:43:37 PDT 2006


walt wrote:

Joerg Sonnenberger wrote:

On Sun, Sep 24, 2006 at 03:05:44PM -0700, walt wrote:

Can anyone confirm this error with the latest fontconfig
from pkgsrc?
# fc-cache -v /usr/pkg/xorg/lib/X11/fonts/TTF
/usr/pkg/xorg/lib/X11/fonts/TTF: caching, 22 fonts, 0 dirs
/usr/pkg/xorg/lib/X11/fonts/TTF: failed to write cache
fc-cache: failed
Works fine here. Can you delete all old font caches just to make sure
that it doesn't try to reuse those?


Bah.  The problem was the old fontconfig config-files in
/usr/pkg/etc.  I noticed that the update announced that
there were existing config files so they were not touched.
The problem was that those config files should have been
replaced during the update!
Ordinarily NOT by the 'update'.

But by the 'updater',

. .. with care to preserve whatever customization is still appropriate, if any.

That's why the general rule is to produce a message and NOT over-write.

Easy to get the new set that had been skipped spit-out again.

Much harder to recover lost ones automatically, and silently, over-written.

Bill





More information about the Users mailing list