<?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>529</bug_id>
          
          <creation_ts>2010-11-10 06:28:27 +0000</creation_ts>
          <short_desc>fetcher failback fails if trying to access CVS archive and not able to connect</short_desc>
          <delta_ts>2011-02-27 04:24:57 +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>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kumar Gala">galak</reporter>
          <assigned_to name="Ke Yu">ke.yu</assigned_to>
          <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>10869</commentid>
    <comment_count>0</comment_count>
    <who name="Kumar Gala">galak</who>
    <bug_when>2010-11-10 06:28:27 +0000</bug_when>
    <thetext>See errors like:


NOTE: Fetch cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7
ERROR: Task failed: Fetch failed: Unable to fetch URL cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs;module=apps/update-rc.d;tag=r0_7 from any source.
ERROR: Task 1217 (virtual:native:/local/home/galak/poky-laverne-4.0/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb, do_fetch) failed with 1
ERROR: &apos;virtual:native:/local/home/galak/poky-laverne-4.0/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb&apos; failed


In the environment CVS access is not available so the failback to a non-CVS method is not happening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12144</commentid>
    <comment_count>1</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2011-02-27 04:24:57 +0000</bug_when>
    <thetext>I tried in 1.0 master and 0.9, both works in my box.

In 1.0 1.0 master, with default mirror config, the update-rc.d will be fetched successfully from PREMIRROR http://autobuilder.yoctoproject.org/sources/ as expected. 

if move the  autobuilder mirror from PREMIRROR to MIRROR, as below patches, then the update-rc.d will firstly failed to fetch from main SRC_URI. it then will fall back to MIRROR, i.e. autobuilder, and succeed.
&quot;
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index 71e40de..4d24890 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -152,7 +152,6 @@ require conf/distro/include/world-broken.inc

 PREMIRRORS ?= &quot;\
 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
-cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
@@ -161,6 +160,7 @@ svk://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n&quot;

 MIRRORS =+ &quot;\
+cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
 ftp://.*/.*      http://autobuilder.yoctoproject.org/sources/ \n \
 http://.*/.*     http://autobuilder.yoctoproject.org/sources/ \n \
 https://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n&quot;
&quot;

so change it to WORKFORME</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>