<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="Monaco">Hi,</font></p>
    <p><font face="Monaco"><br>
      </font></p>
    <p><font face="Monaco">I've gotten almost all of my files downloaded
        using a local mirror for a new build. I'm having trouble
        debugging one specific case where it appears my mirror rules
        can't find the package that it should be finding in the local
        mirror directory. This is my hypothesis  as I've worked through
        other issues by adding more rules to the MIRRORS variable in
        local.conf</font></p>
    <p><font face="Monaco"><br>
      </font></p>
    <p><font face="Monaco">So far I have</font></p>
    <blockquote type="cite"><br>
      MIRRORS ?= "\<br>
      git://.*/.*         <a class="moz-txt-link-freetext" href="file://media/build/mirror/">file://media/build/mirror/</a> \n \ <br>
      git://.*/.*/.*      <a class="moz-txt-link-freetext" href="file://media/build/mirror/">file://media/build/mirror/</a> \n \ <br>
      git://.*/.*/.*/.*   <a class="moz-txt-link-freetext" href="file://media/build/mirror/">file://media/build/mirror/</a> \n \ <br>
      ftp://.*/.*         <a class="moz-txt-link-freetext" href="file://media/build/mirror/">file://media/build/mirror/</a> \n \<br>
      http://.*/.*        <a class="moz-txt-link-freetext" href="file://media/build/mirror/">file://media/build/mirror/</a> \n \<br>
      svn://.*/.*         <a class="moz-txt-link-freetext" href="file://media/build/mirror/">file://media/build/mirror/</a> \n \<br>
      https://.*/.*       <a class="moz-txt-link-freetext" href="file://media/build/mirror/">file://media/build/mirror/</a> \n \<br>
      https://.*/.*/.*    <a class="moz-txt-link-freetext" href="file://media/build/mirror/">file://media/build/mirror/</a> \n \<br>
      https://.*/.*/.*/.* <a class="moz-txt-link-freetext" href="file://media/build/mirror/">file://media/build/mirror/</a> \n \<br>
      "</blockquote>
    <br>
    I'm running into a problem debugging while this one final package
    isn't being found from my local mirror. The package is adbd  and the
    error I'm seeing is <br>
    <br>
    <br>
    <blockquote type="cite">ERROR: adbd-android-5.0.1_r1-r0 do_fetch:
      Network access disabled through BB_NO_NETWORK (or set indirectly
      due to use of BB_FETCH_PREMIRRORONLY) but access requested with
      command git -c core.fsyncobjectfiles=0 ls-remote
      <a class="moz-txt-link-freetext" href="https://android.googlesource.com/platform/system/core">https://android.googlesource.com/platform/system/core</a>  (for url
      None)<br>
      ERROR: adbd-android-5.0.1_r1-r0 do_fetch: Function failed:
      base_do_fetch<br>
      ERROR: Logfile of failure stored in:
/media/build/NewestBuild/build-nitrogen6x/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/adbd/android-5.0.1_r1-r0/temp/log.do_fetch.25649<br>
      ERROR: Task
(/media/build/NewestBuild/sources/meta-boot2qt/recipes/adbd/adbd.bb:do_fetch)
      failed with exit code '1'<br>
      DEBUG: Teardown for bitbake-worker<br>
      NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to
      be rerun and 1 failed.<br>
    </blockquote>
    <br>
    I've inspected the mirror file,  /media/build/mirror and there is
    the package<br>
    git2_android.googlesource.com.platform.system.core.tar.gz<br>
    <br>
    <br>
    If I untar it to another location, I find it is a git repo that does
    in fact have adbd<br>
    <br>
    <blockquote type="cite">mkdir tmpdir<br>
      cp git2_android.googlesource.com.platform.system.core.tar.gz
      tmpdir<br>
      cd tmpdir<br>
      tar -xvf git2_android.googlesource.com.platform.system.core.tar.gz<br>
      mkdir ../testdir<br>
      cd ../testdir<br>
      git clone ../tmpdir<br>
      cd tmpdir</blockquote>
    <br>
    <br>
    and adb exists<br>
    <br>
    <br>
    What is the recommended way to debug this more ? <br>
    <br>
    I've seen on yocto the -nv switch, but this doesn't seem to produce
    any useful information for a local mirror Git clone.<br>
    <br>
    <br>
    Thanks,<br>
    <br>
    <br>
  </body>
</html>