<?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>3475</bug_id>
          
          <creation_ts>2012-11-21 20:50:54 +0000</creation_ts>
          <short_desc>sstate-cache-management.sh doesn&apos;t work with new stamps layout</short_desc>
          <delta_ts>2012-11-27 13:33:39 +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>configuration</component>
          <version>1.4</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>[patch out for review]</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Jansa">Martin.Jansa</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>--</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27610</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2012-11-21 20:50:54 +0000</bug_when>
    <thetext>http://git.openembedded.org/openembedded-core/commit/?id=05075cf3138d1c61f5cf4fe0e1a4587acc00c692
changed layout of stamps directory and now sstate-cache-management.sh is trying to remove all sstate-cache entries when --cache-dir argument is used:

$ du -hs sstate-cache/; openembedded-core/scripts/sstate-cache-management.sh -L  --cache-dir=sstate-cache --stamps-dir=tmp-eglibc/stamps/ --debug | tee -a sstate-cache-management.log
96G     sstate-cache/
Debug level 1
Figuring out all the md5sums in stamps dir ... Done
Figuring out the files which will be removed ... Done
ERROR: All files in cache dir will be removed! Abort!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27665</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-11-25 20:08:39 +0000</bug_when>
    <thetext>Fixed in master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=56e3fcc387512ae0225c359b86b9025ae945b3c9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27727</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2012-11-27 13:33:39 +0000</bug_when>
    <thetext>Thanks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>