#1525 BLOC Update.: fontconfig cache is invalidated too easily on mtime check
Zarro Boogs per Child
bugtracker at laptop.org
Sat Dec 1 14:33:13 EST 2007
#1525: fontconfig cache is invalidated too easily on mtime check
----------------------+-----------------------------------------------------
Reporter: jg | Owner: sayamindu
Type: defect | Status: new
Priority: blocker | Milestone: Update.1
Component: distro | Version:
Resolution: | Keywords: upstream
Verified: 0 |
----------------------+-----------------------------------------------------
Comment(by sayamindu):
This is very strange. If the build system sets the time, it should not
affect the workings of fontconfig.
I have added a slightly modified fontconfig.spec file which takes care of
%post issue that I mentioned in the earlier comment, and also makes the
fc-cache call verbose (so that I can be sure that it actually gets
executed during the build).
The only interesting thing that I could find in the build log is
{{{
Installing: nafees-web-naskh-fonts #####################
[262/358]/var/cache/fontconfig: invalid cache file:
3830d5c3ddfd5cd38a049b759396e72e-x86.cache-2
}}}
Correctly removing older caches ''should'' take care of this hopefully.
I also did a small test where I flashed to joyride build 327 (with the
date set correctly), installed the RPM (built with the new spec file) by
hand (rpm -Uvh), and set the time to 1999 and rebooted. On the reboot, I
ran Browse, and it worked perfectly. Manual invocation of fc-cache was
never done at any stage.
Could you possibly do a build with an RPM generated from the spec file
that I have attached? (you'll also need the mtime_fix.patch file)
--
Ticket URL: <http://dev.laptop.org/ticket/1525#comment:20>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list