<?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>6600</bug_id>
          
          <creation_ts>2014-07-31 06:47:46 +0000</creation_ts>
          <short_desc>[Hob] Redundant characters &quot;\1&quot; in SSTATE_MIRRORS setting</short_desc>
          <delta_ts>2014-10-22 02:06:27 +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>Hob</product>
          <component>hob</component>
          <version>1.7</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></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>ke.zou</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>valentin.popa</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Lucian Musat">georgex.l.musat</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44843</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-07-31 06:47:46 +0000</bug_when>
    <thetext>Git rev: master/8b7116d25ed6255a03895d835e5a0560858ab496

Steps:
1. Start HOB.
2. Click Settings -&gt; Shared state
3. Add a URL in default shared state mirrors. For example: http://128.224.162.103/sstate/PATH;downloadfilename=PATH
4. Click Save button
 
Check the conf/local.conf, the following lines are added:
#added by hob
SSTATE_MIRRORS = &quot;file://(.*) http://128.224.162.103/sstate/PATH;downloadfilename=PATH\1 \n   &quot;

There are extra &quot;\1&quot; characters in the line. It makes the sstate mirror doesn&apos;t work. When building the image, I got the following errors:

#################
NOTE: Running setscene task 2 of 721 (/home/builder/poky/meta/recipes-core/busybox/busybox_1.22.1.bb, do_populate_sysroot_setscene)
NOTE: Running setscene task 3 of 721 (/home/builder/poky/meta/recipes-core/busybox/busybox_1.22.1.bb, do_populate_lic_setscene)
WARNING: Failed to fetch URL file://67/sstate:busybox:i586-poky-linux:1.22.1:r32:i586:3:6744276ed9429961db547686916c7eb5_populate_sysroot.tgz, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file file://67/sstate:busybox:i586-poky-linux:1.22.1:r32:i586:3:6744276ed9429961db547686916c7eb5_populate_sysroot.tgz anywhere. The paths that were searched were:
    /home/builder/poky/build/sstate-cache
NOTE: recipe busybox-1.22.1-r32: task do_populate_sysroot_setscene: Failed
WARNING: Setscene task 0 (/home/builder/poky/meta/recipes-core/busybox/busybox_1.22.1.bb, do_populate_sysroot_setscene) failed with exit code &apos;1&apos; - real task will be run instead
NOTE: Running setscene task 4 of 721 (/home/builder/poky/meta/recipes-core/busybox/busybox_1.22.1.bb, do_package_qa_setscene)
WARNING: Failed to fetch URL file://38/sstate:busybox::1.22.1:r32::3:389e157cbe015359c5fe1b19836982ba_populate_lic.tgz, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file file://38/sstate:busybox::1.22.1:r32::3:389e157cbe015359c5fe1b19836982ba_populate_lic.tgz anywhere. The paths that were searched were:
    /home/builder/poky/build/sstate-cache
NOTE: recipe busybox-1.22.1-r32: task do_populate_lic_setscene: Failed
######################

When I remove the &quot;\1&quot; manually. The sstate mirror works fine:
#####################
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Running setscene task 2 of 721 (/home/builder/poky/meta/recipes-core/busybox/busybox_1.22.1.bb, do_populate_sysroot_setscene)
NOTE: Running setscene task 3 of 721 (/home/builder/poky/meta/recipes-core/busybox/busybox_1.22.1.bb, do_populate_lic_setscene)
NOTE: recipe busybox-1.22.1-r32: task do_populate_lic_setscene: Succeeded
NOTE: Running setscene task 4 of 721 (/home/builder/poky/meta/recipes-core/busybox/busybox_1.22.1.bb, do_package_qa_setscene)
NOTE: recipe busybox-1.22.1-r32: task do_populate_sysroot_setscene: Succeeded
NOTE: Running setscene task 5 of 721 (/home/builder/poky/meta/recipes-core/busybox/busybox_1.22.1.bb, do_package_write_ipk_setscene)
NOTE: recipe busybox-1.22.1-r32: task do_package_qa_setscene: Succeeded
NOTE: Running setscene task 6 of 721 (/home/builder/poky/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb, do_populate_sysroot_setscene)
NOTE: recipe sysvinit-2.88dsf-r14: task do_populate_sysroot_setscene: Succeeded
NOTE: Running setscene task 7 of 721 (/home/builder/poky/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb, do_populate_lic_setscene)
NOTE: recipe busybox-1.22.1-r32: task do_package_write_ipk_setscene: Succeeded
########################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45941</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-09-29 13:17:46 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=438a50844285238934f9d49e72362e19281e95c8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46487</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-10-22 02:06:27 +0000</bug_when>
    <thetext>Verified with 1.7 RC5.
git rev: dizzy/924da20c6f2f183fa7e930e4c3c6b14c090acbe5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>