<?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>5405</bug_id>
          
          <creation_ts>2013-10-29 08:35:00 +0000</creation_ts>
          <short_desc>SSTATE_MIRRORS search path differs from sstate-cache layout</short_desc>
          <delta_ts>2013-11-08 11:25:00 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.5</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Björn Stenberg">bjst</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38240</commentid>
    <comment_count>0</comment_count>
    <who name="Björn Stenberg">bjst</who>
    <bug_when>2013-10-29 08:35:00 +0000</bug_when>
    <thetext>The page https://wiki.yoctoproject.org/wiki/Enable_sstate_cache says that you can create an sstate-cache mirror by exporting the generated sstate-cache directory over nfs, http och ftp.

This appears broken since the sstate-cache layout was modified. The sstate-cache directory is created with a number of XX subdirs where the actual files are, but the mirror fetcher only searches the root dir of the mirror for files.

Example debug output:

DEBUG: Mirror fetch failure for url http://linux.enea.com/test/sstate-cache/sstate-gcc-runtime-i586-enea-linux-4.8.1-r0-i586-3-911fb1d91e28a204c0c2038a30d82b2a_deploy-ipk.tgz (original url: file://91/sstate-gcc-runtime-i586-enea-linux-4.8.1-r0-i586-3-911fb1d91e28a204c0c2038a30d82b2a_deploy-ipk.tgz)

The original url has a &quot;91&quot; subdir prefix which is missing when trying the mirror.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38347</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-10-31 14:49:59 +0000</bug_when>
    <thetext>Wiki page might need to be fixed, this is working with the correct incantation of SSTATE_MIRROR, Paul will address this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38682</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-11-08 11:25:00 +0000</bug_when>
    <thetext>You need to add &quot;/PATH&quot; to the URL in SSTATE_MIRRORS. I&apos;ve updated the wiki page, and the manuals already cover this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>