<?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>1140</bug_id>
          
          <creation_ts>2011-06-06 11:42:34 +0000</creation_ts>
          <short_desc>Can&apos;t build update-rc.d if BB_NO_NETWORK=1</short_desc>
          <delta_ts>2011-07-15 13:59:33 +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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</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>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14184</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2011-06-06 11:42:34 +0000</bug_when>
    <thetext>I get this error:

| ERROR: Function &apos;Network access disabled through BB_NO_NETWORK but access rquested with command git ls-remote git://github.com/philb/update-rc.d.git update-rc.d_0.7 (for url None)&apos; failed
NOTE: package update-rc.d-native-0.7-r4: task do_fetch: Failed

but I have a suitable tarball staged for this SRC_URI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14185</commentid>
    <comment_count>1</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2011-06-06 11:43:43 +0000</bug_when>
    <thetext>More data:

$ ls -l /work/misc/Poky/sources/git*update-rc*
-rw-rw-r-- 1 gthomas gthomas 8386 May 24 07:59 /work/misc/Poky/sources/git2_github.com.philb.update-rc.d.git.tar.gz


If I disable BB_NO_NETWORK, the build succeeds but the tarball is unchanged,
so there is no reason it can&apos;t be built with BB_NO_NETWORK=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14188</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-06-06 13:26:42 +0000</bug_when>
    <thetext>This is actually kind of by design in the fetcher. The trouble is that recipe says &quot;tag=&lt;somename&gt;&quot; and that is not a revision. bitbake is being careful and using the remote repository to translate &lt;somename&gt; into a revision. A local repository might not be up to date.

Its certainly a corner case but I can see people reporting a bug if we didn&apos;t do this too so I&apos;m not sure we can win :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14195</commentid>
    <comment_count>3</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2011-06-06 15:03:50 +0000</bug_when>
    <thetext>So how can I ship something to my customers to build that may have
no network connectivity?  To date, I&apos;ve been able to cache/stage
all the relevant source files and provide those, but this seems
to break that :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14746</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-07-15 13:59:33 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=84d4af1f411742d321311066067e1384779fa700</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>