<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>61</bug_id>
          
          <creation_ts>2008-05-06 12:06:48 +0000</creation_ts>
          <short_desc>[Performance] Generate fontconfig cache when building image</short_desc>
          <delta_ts>2012-08-13 21:13:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P1)(Scheduled)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton - Disabled">ross</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>matthijs.van.de.water</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3517</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton - Disabled">ross</who>
    <bug_when>2008-05-06 12:06:48 +0000</bug_when>
    <thetext>We should generate a fontconfig cache in the rootfs when the image is generated, to avoid it happening randomly on first boot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11855</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-02-17 23:26:11 +0000</bug_when>
    <thetext>postponed to 1.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23742</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-08-02 14:23:23 +0000</bug_when>
    <thetext>As discussed on a call, the cache is architecture-dependent so it has to be run on the target, or in a qemu.

I&apos;m not convinced that the cache generation is sufficiently slow to make the overhead of qemu worth it.  I suspect consolidating the multiple cache generation operations into a single operation would be a better win.

(that&apos;s entirely without data, just a hunch)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23909</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-08-09 09:21:34 +0000</bug_when>
    <thetext>So as the fontconfig cache is architecture dependent, so either
  - build it on the target
  - build it on the host in qemu

I&apos;m not convinced that the overhead of qemu is worth the effort.  We used to build the locales this way because low-memory devices didn&apos;t have enough memory to the work.

I&apos;ll close this as WONTFIX, and open another bug about moving the font cache generation to a trigger.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23991</commentid>
    <comment_count>4</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-13 21:13:02 +0000</bug_when>
    <thetext>Setting this to verified due to Ross latest comment</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>