<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="Monaco">Please ignore if you received this twice. My
        email client wasn't giving me confirmation /sent mail. <br>
      </font></p>
    <p><font face="Monaco"><br>
      </font></p>
    <p><font face="Monaco">Problem was solved with <br>
      </font></p>
    <p><font face="Monaco"><br>
      </font></p>
    <p><font face="Monaco">
        <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>
          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>
          "<br>
          <br>
          <br>
          BB_FETCH_PREMIRRORONLY = "1"<br>
          SOURCE_MIRROR_URL ?= <a class="moz-txt-link-rfc2396E" href="file:///media/build/mirror/">"file:///media/build/mirror/"</a></blockquote>
      </font></p>
    <p><br>
    </p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 06/28/2017 12:39 PM, Jimi Damon
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:63d13fc4-c19c-5850-5358-397a61c6673b@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <p><font face="Monaco">Hi,</font></p>
      <p><font face="Monaco"><br>
        </font></p>
      <p><font face="Monaco">I'm trying to save the entire build PLUS
          the tools used to create the build and I'm finding that when I
          initially perform the</font></p>
      <p><font face="Monaco"><br>
        </font></p>
      <p><font face="Monaco">bitbake -c fetchall </font>b2qt-embedded-qt5-image</p>
      <p>followed by a copy of the required downloaded .tar.gz files to
        the mirror directory and then creating a new build directory  (
        with new local.conf and bb.layers ) with the lines</p>
      <p>SOURCE_MIRROR_URL ?= <a class="moz-txt-link-rfc2396E"
          href="file://media/build/mirror/" moz-do-not-send="true">"file://media/build/mirror/"</a><br>
        INHERIT += "own-mirrors" <br>
        BB_GENERATE_MIRROR_TARBALLS = "1" <br>
        BB_NO_NETWORK = "1"<br>
      </p>
      <p>and I try to build , I get errors saying that certain Native
        tools are missing like gcc-source, bison-native,
        flex-native...etc</p>
      <p>Example</p>
      <p> </p>
      <blockquote type="cite"><br>
        Initialising tasks: 100%
|############################################################################################################|
        Time: 0:00:06<br>
        NOTE: Executing SetScene Tasks<br>
        NOTE: Executing RunQueue Tasks<br>
        ERROR: gcc-source-6.2.0-6.2.0-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
        /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp
        --no-check-certificate -P
        /media/build/NewestBuild/build-nitrogen6x/../downloads '<a
          class="moz-txt-link-freetext"
          href="http://ftp.gnu.org/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2"
          moz-do-not-send="true">http://ftp.gnu.org/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2</a>'
        (for url None)<br>
        ERROR: gcc-source-6.2.0-6.2.0-r0 do_fetch: Function failed:
        base_do_fetch<br>
        ERROR: Logfile of failure stored in:
/media/build/NewestBuild/build-nitrogen6x/tmp/work-shared/gcc-6.2.0-r0/temp/log.do_fetch.30899<br>
        ERROR: Task
(/media/build/NewestBuild/sources/poky/meta/recipes-devtools/gcc/gcc-source_6.2.bb:do_fetch)
        failed with exit code '1'<br>
        ERROR: bison-native-3.0.4-r0 do_unpack: Unpack failure for URL:
        '<a class="moz-txt-link-freetext"
          href="http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.xz"
          moz-do-not-send="true">http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.xz</a>'.
        Unpack command
        PATH=<a class="moz-txt-link-rfc2396E"
href="mailto:/media/build/NewestBuild/sources/poky/scripts/native-intercept:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/bin/texinfo-dummy-native:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots-uninative/x86_64-linux/usr/bin:/media/build/NewestBuild/sources/poky/scripts:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/bin:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/sbin:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/bin:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/sbin:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/bin:/media/build/NewestBuild/sources/poky/scripts:/media/build/NewestBuild/sources/poky/bitbake/bin:/media/build/NewBuild:/home/jdamon/.rvm/gems/ruby-2.4.0/bin:/home/jdamon/.rvm/gems/ruby-2.4.0@global/bin:/home/jdamon/.rvm/rubies/ruby-2.4.0/bin:/home/jdamon/.rvm/bin:/usr/bin:/bin:/sbin:/sbin:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/home/jdamon/Scripts:/usr/games:/usr/lib/lapack:/opt/local/bin:/home/jdamon/Tools/bin:/home/jdamon/Scripts/Work:/home/jdamon/Tools/android-sdk-linux/platform-tools:/home/jdamon/Tools/android-ndk-r10e:/Developer/SDKs/android-sdk-mac_86/tools/:/opt/local/lib/mysql5/bin:/usr/share/apache-maven-3.0.5/bin:/home/jdamon/.rvm/bin:/home/jdamon/.rvm/bin:/home/jdamon/.rvm/bin"
          moz-do-not-send="true">"/media/build/NewestBuild/sources/poky/scripts/native-intercept:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/bin/texinfo-dummy-native:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots-uninative/x86_64-linux/usr/bin:/media/build/NewestBuild/sources/poky/scripts:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/bin:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/sbin:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/usr/bin:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/sbin:/media/build/NewestBuild/build-nitrogen6x/tmp/sysroots/x86_64-linux/bin:/media/build/NewestBuild/sources/poky/scripts:/media/build/NewestBuild/sources/poky/bitbake/bin:/media/build/NewBuild:/home/jdamon/.rvm/gems/ruby-2.4.0/bin:/home/jdamon/.rvm/gems/ruby-2.4.0@global/bin:/home/jdamon/.rvm/rubies/ruby-2.4.0/bin:/home/jdamon/.rvm/bin:/usr/bin:/bin:/sbin:/sbin:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/home/jdamon/Scripts:/usr/games:/usr/lib/lapack:/opt/local/bin:/home/jdamon/Tools/bin:/home/jdamon/Scripts/Work:/home/jdamon/Tools/android-sdk-linux/platform-tools:/home/jdamon/Tools/android-ndk-r10e:/Developer/SDKs/android-sdk-mac_86/tools/:/opt/local/lib/mysql5/bin:/usr/share/apache-maven-3.0.5/bin:/home/jdamon/.rvm/bin:/home/jdamon/.rvm/bin:/home/jdamon/.rvm/bin"</a>
        xz -dc
/media/build/NewestBuild/build-nitrogen6x/../downloads/bison-3.0.4.tar.xz
        | tar x --no-same-owner -f - failed with return value 2<br>
        ERROR: bison-native-3.0.4-r0 do_unpack: Function failed:
        base_do_unpack<br>
        ERROR: Logfile of failure stored in:
/media/build/NewestBuild/build-nitrogen6x/tmp/work/x86_64-linux/bison-native/3.0.4-r0/temp/log.do_unpack.30904<br>
        ERROR: Task
(virtual:native:/media/build/NewestBuild/sources/poky/meta/recipes-devtools/bison/bison_3.0.4.bb:do_unpack)
        failed with exit code '1'<br>
        ERROR: flex-native-2.6.0-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
        /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp
        --no-check-certificate -P
        /media/build/NewestBuild/build-nitrogen6x/../downloads '<a
          class="moz-txt-link-freetext"
          href="http://downloads.sourceforge.net/flex/flex-2.6.0.tar.bz2"
          moz-do-not-send="true">http://downloads.sourceforge.net/flex/flex-2.6.0.tar.bz2</a>'
        (for url None)<br>
        ERROR: flex-native-2.6.0-r0 do_fetch: Function failed:
        base_do_fetch<br>
        ERROR: Logfile of failure stored in:
/media/build/NewestBuild/build-nitrogen6x/tmp/work/x86_64-linux/flex-native/2.6.0-r0/temp/log.do_fetch.30905<br>
        ERROR: Task
(virtual:native:/media/build/NewestBuild/sources/poky/meta/recipes-devtools/flex/flex_2.6.0.bb:do_fetch)
        failed with exit code '1'<br>
        NOTE: Tasks Summary: Attempted 92 tasks of which 83 didn't need
        to be rerun and 3 failed. <br>
      </blockquote>
      <p><br>
      </p>
      <p>Why aren't these being downloaded when I did my initial
        fetchall ? <br>
      </p>
      <p>Also, what is the way to capture all of the required packages
        for an image AND the development tools required to build the
        image ?</p>
      <p><br>
      </p>
      <p>Thanks<br>
      </p>
      <p><br>
      </p>
    </blockquote>
    <br>
  </body>
</html>