[Bug 485569] New: x86 fontcache can't be rebuilt on x86_64 systems

bugzilla at redhat.com bugzilla at redhat.com
Sat Feb 14 16:45:23 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: x86 fontcache can't be rebuilt on x86_64 systems

https://bugzilla.redhat.com/show_bug.cgi?id=485569

           Summary: x86 fontcache can't be rebuilt on x86_64 systems
           Product: Fedora
           Version: rawhide
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: low
         Component: fontconfig
        AssignedTo: besfahbo at redhat.com
        ReportedBy: john.ellson at comcast.net
         QAContact: extras-qa at fedoraproject.org
                CC: besfahbo at redhat.com, fedora-fonts-bugs-list at redhat.com
    Classification: Fedora


Description of problem:
After various font rpm churn on rawhide my 32 bit application would crash with
a malloc failure because of a messed up font cache.

One could wonder:
   a) why is the 32 bit cache different from the 64 bit?
   b) why isn't fontconfig keeping them both uptodate?
but I have a simpler request:

"man fc-cache" states:
   Note that fc-cache must be executed once per architecture  to  generate
   font information customized for that architecture.

but it isn't possible to do this on x86_64 because only the 64 bit version of
/usr/bin/fc-cache is installed, even if both i386 and x86_64 fontconfig rpms
are installed.  

** Request that /usr/bin/fc-cache-64 and /usr/bin/fc-cache-32 both be
installed, and that a new /usr/bin/fc-cache shell script be created that runs
them both.

The man page also says:
   On a subsequent run, fc-cache will augment the cache information
   files with the  information for the new architecture.
but apparently this didn't work through some series of font rpm upgrades.



Version-Release number of selected component (if applicable):
fontconfig-2.6.95-1.git.66.gb162bfb.fc11

How reproducible:
100%

Steps to Reproduce:
1. cd /var/cache/fontconfig
2. rm *
3. fc-cache

Actual results:
Only *x86-64.cache-2 files created

Expected results:
Both *x86.cache-2 and *x86-64.cache-2 files created

Additional info:
Any ugly workaround to the current situation is:
    rpm -e --nodeps --allmatches fontconfig fontconfig-devel
    yum install fontconfig.i386
    fc-cache
    yum install fontconfig.x86_64 fontconfig-devel.x86_64
    fc-cache

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-fonts-bugs-list mailing list