<?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>892</bug_id>
          
          <creation_ts>2011-03-17 02:57:41 +0000</creation_ts>
          <short_desc>site-config files from meta-toolchain tarball and the relevant meta-environment-xxx ipk file differs</short_desc>
          <delta_ts>2011-08-26 03:16:24 +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>OE-Core</product>
          <component>core</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Lianhao Lu">lianhao.lu</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</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>12753</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-03-17 02:57:41 +0000</bug_when>
    <thetext>for CVS project, it use CPPFLAGS instead of CXXFLAGS, so it will fails to compile for the toolchain instead of ADT-INSTALLER. (untar toolchain style can compile, I have not validate whether it has contamination issue).


Thanks&amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12803</commentid>
    <comment_count>1</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-03-17 23:42:06 +0000</bug_when>
    <thetext>The site-config file included in the meta-toolchain differs from the file in the corresponding meta-environment-xxx, because the siteinfo_get_files() function in class/siteinfo.bbclass returns different values.

This is because the siteinfo_get_files() tries to get the site config files from SITECONFIG_SYSROOTCACHE. When meta-environmet-XXX is being build, there is nothing in SITECONFIG_SYSROOTCACHE. The meta-environment-XXX should be built after all the the packages included in the target rootfs have populated their site config files into SITECONFIG_SYSROOTCACHE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12821</commentid>
    <comment_count>2</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-03-18 01:46:38 +0000</bug_when>
    <thetext>It is confirmed that the CVS project problem has nothing to do with site config files, but only because of the CPPFLAGS. I&apos;ll open a new bug about the CVS problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13003</commentid>
    <comment_count>3</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-03-27 23:27:04 +0000</bug_when>
    <thetext>CCed dongxiao.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13443</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-04-27 09:31:41 +0000</bug_when>
    <thetext>The CVS issue is fixed in bug 908</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13463</commentid>
    <comment_count>5</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-04-28 01:38:06 +0000</bug_when>
    <thetext>The site config files are produced by the function siteinfo_get_files() from SITECONFIG_SYSROOTCACHE. This would result the mismatch between the target rootfs and the siteconfig files, because we can&apos;t guarantee that all the site config files are populated into the SITECONFIG_SYSROOTCACHE when building the meta-toolchain.

Instead of generating the site config file in meta-toolchain, it should be generated during the rootfs generation so each rootfs will have its own site config file that matches the content in rootfs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15439</commentid>
    <comment_count>6</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-08-12 06:14:07 +0000</bug_when>
    <thetext>Patch sent out for review &amp; merge
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/bug892</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15806</commentid>
    <comment_count>7</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-08-26 03:16:24 +0000</bug_when>
    <thetext>Fixed by the following commits:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c6b808413d5ff1dbfdc4d615917345503029a282

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=64c1f93828402ffb5c0fada527724598bc300973</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>