<?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>1578</bug_id>
          
          <creation_ts>2011-10-03 13:25:10 +0000</creation_ts>
          <short_desc>SSTATE_MIRROR needs a trailing &apos;/&apos; character to work</short_desc>
          <delta_ts>2011-11-24 14:16:36 +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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Final patch out for review on bitbake-devel</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthew McClintock">msm-oss</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>msm-oss</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>16630</commentid>
    <comment_count>0</comment_count>
    <who name="Matthew McClintock">msm-oss</who>
    <bug_when>2011-10-03 13:25:10 +0000</bug_when>
    <thetext>If I set 

SSTATE_MIRROR = &quot;http://linux.freescale.net/yocto/sstate-cache&quot;

the sstate mirror will not be used, however if I simply change this too:


SSTATE_MIRROR = &quot;http://linux.freescale.net/yocto/sstate-cache/&quot;

it works again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17112</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-11-04 10:22:03 +0000</bug_when>
    <thetext>I&apos;m a bit confused by this report - there is not a SSTATE_MIRROR variable and SSTATE_MIRRORS doesn&apos;t use that syntax? Do you mean:

file://.* http://linux.freescale.net/yocto/sstate-cache

doesn&apos;t work but:

file://.* http://linux.freescale.net/yocto/sstate-cache/

does? That is a natural part of the mirror mapping code unfortunately...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17115</commentid>
    <comment_count>2</comment_count>
    <who name="Matthew McClintock">msm-oss</who>
    <bug_when>2011-11-04 12:06:01 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I&apos;m a bit confused by this report - there is not a SSTATE_MIRROR variable and
&gt; SSTATE_MIRRORS doesn&apos;t use that syntax? Do you mean:
&gt; 
&gt; file://.* http://linux.freescale.net/yocto/sstate-cache
&gt; 
&gt; doesn&apos;t work but:
&gt; 
&gt; file://.* http://linux.freescale.net/yocto/sstate-cache/
&gt; 
&gt; does? That is a natural part of the mirror mapping code unfortunately...

Correct. 

But its extremely non-obvious when you miss this. As we are just looking for cached stuff and not finding the cache is not a fatal result. Therefore it&apos;s easy to just assume something else is broken with the caching system.

Maybe we can add a QA on this variable to check the a trailing &apos;/&apos;? Or maybe it&apos;s better to leave it alone. Not sure what the best approach is...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17386</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-11-24 14:16:36 +0000</bug_when>
    <thetext>Fixed in master in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=437928dfa4fdcf6abe4b4eb9ca03fd7db31404a0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>