<?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>1938</bug_id>
          
          <creation_ts>2012-01-27 02:25:59 +0000</creation_ts>
          <short_desc>Detect Host system changes when using sstate</short_desc>
          <delta_ts>2012-10-05 11:04:23 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P1)(Scheduled) Patches out for review</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>18394</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-01-27 02:25:59 +0000</bug_when>
    <thetext>If sstate packages are build on a system with a specific glibc version, there should be some way to detect when they&apos;re installed on an older system and at least flag the packages as invalid.

Running against newer glibc shouldn&apos;t be an issues, its just a question on detecting and invalidating running on older glibc than the package was built for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23523</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-07-26 13:20:56 +0000</bug_when>
    <thetext>For now, the best approach is going to be to mark sstate packages as being built against a given lsb_release name/version.

There are patches our for review which do this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23578</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-07-29 09:33:57 +0000</bug_when>
    <thetext>Fixed in master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=72ab2866e1727c373c3c651f98b1e5b5f3d47e8f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26276</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-10-05 11:04:23 +0000</bug_when>
    <thetext>Verified in master, commit: ef5dcad3e3e3c004112cfc00843727a7fda75cd2

Changing distros will cause bitbake to make a new directory in sstate-chache with distro name and version in which to store its native and cross packages.

Example: 
/build/sstate-cache/Ubuntu-12.04/*/sstate-*-native-*.tgz
/build/sstate-cache/Ubuntu-12.04/*/sstate-*-cross-*.tgz</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>