Hi Angus,
we're currently facing some issues with the fontconfig defoma script,
which is displaying "error scanning" messages. As neither Keith nor I do
really understand how defoma is working, I was wondering whether you
could have a look at what's going wrong.
Hrm. All fontconfig.defoma does is create a symlink farm in /var/lib/defoma/fontconfig.d/, write a suitable fonts.conf (also in that directory) and then run fc-cache over that directory.
grep says the string 'error scanning' exists in fc-cache, so I'm guessing its some problem with that binary. Perhaps you can run 'fc-cache /var/lib/defoma/fontconfig.d' manually (as root), which should hopefully reproduce the message. Don't know after that, --verbose or strace perhaps? The cause is most likely a dangling font symlink (in which case let me know and I'll investigate further), a bad/corrupt font (let the font maintainer know) or some new fc-cache bug (thats your problem ;)
If it happens only in the 'cleaning up ...' stage, then it sounds like a package is removing its files before unregistering itself. Let me know the destination of the dangling symlink and I'll investigate the font package in question.
--
- Gus