<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 5, 2017 at 1:41 PM, Jacob Saina <span dir="ltr"><<a href="mailto:jsaina@terpmail.umd.edu" target="_blank">jsaina@terpmail.umd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Chris,<div><br></div><div>I checked out "4.11" from the git repository, and did the following with Internet:</div><div><br></div><div><font face="monospace, monospace">~/workspace/rsb/rtems$ ../source-builder/sb-set-<wbr>builder --dry-run --with-download --without-error-report --without-release-url --prefix=/home/jsaina/rtems/4.<wbr>11 4.11/rtems-arm</font></div><div><br></div><div>Then I disconnected my network cable and did:</div><div><br></div><div><font face="monospace, monospace">~/workspace/rsb/rtems$ ../source-builder/sb-set-<wbr>builder --prefix=/home/jsaina/rtems/4.<wbr>11 4.11/rtems-arm</font><br></div><div><br></div><div>This fails as follows: </div><div><span style="color:black;font-family:monospace,monospace">...</span><br></div><div>
<p class="MsoNormal" style="margin-bottom:12pt"><font face="monospace, monospace"><span style="color:black">reporting:
tools/rtems-gdb-7.9-1.cfg -> arm-rtems4.11-gdb-7.9-x86_64-<wbr>linux-gnu-1.xml</span><span style="color:black"><br>
</span><span style="color:black">config: tools/rtems-tools-4.11-1.cfg</span><span style="color:black"><br>
</span><span style="color:black">package: rtems-tools-4.11-1</span><span style="color:black"><br>
</span><span style="color:black">git: reset: git://<a href="http://git.rtems.org/rtems-tools.git" target="_blank">git.rtems.org/rtems-<wbr>tools.git</a></span><span style="color:black"><br>
</span><span style="color:black">git: fetch: git://<a href="http://git.rtems.org/rtems-tools.git" target="_blank">git.rtems.org/rtems-<wbr>tools.git</a> ->
sources/git/rtems-tools.git</span><span style="color:black"><br>
</span><span style="color:black">error: git command failed (/usr/bin/git): 128</span><span style="color:black"><br>
</span><span style="color:black">Build FAILED</span><span style="color:black"><br>
</span><span style="color:black"> See error report: rsb-report-rtems-tools-4.11-1.<wbr>txt</span><span style="color:black"><br>
</span><span style="color:black">error: git command failed (/usr/bin/git): 128</span><span style="color:black"><br>
</span><span style="color:black">Build Set: Time 1:10:37.113829</span><span style="color:black"><br>
</span><span style="color:black">Build FAILED</span></font><span style="font-family:Calibri,sans-serif;color:black"><span></span></span></p><p class="MsoNormal" style="margin-bottom:12pt">What am I misunderstanding?</p></div></div></blockquote><div>Looks like things that are fetched from git have an issue with the predownload.</div><div><br></div><div>Chris.. is there a way to check that the existing git checkout is in the right state</div><div>before operating on it?</div><div><br></div><div>If we still need to support cvs or svn, they might have the same issue. </div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><p class="MsoNormal" style="margin-bottom:12pt">Thanks for your help,</p><p class="MsoNormal" style="margin-bottom:12pt">Jacob</p></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 1, 2017 at 6:49 PM, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 2/9/17 3:38 am, Jacob Saina wrote:<br>
><br>
> I'm going to be building rsb, rtems, and applications with an intermittent<br>
> Internet connection, so I'd like to have all the pieces in place on disk<br>
> beforehand. How can I pull down all the necessary files and avoid failing<br>
> because of network access?<br>
<br>
</span>To fetch the packages use:<br>
<br>
../source-builder/sb-set-build<wbr>er \<br>
--dry-run --with-download \<br>
--without-error-report \<br>
--without-release-url \<br>
4.12/rtems-arm<br>
<br>
Replace '4.12/rtems-arm' with the build set you want to build. This command<br>
comes from the release scripts [1].<br>
<br>
You should be able to move the 'source' and 'patch' contents to another location<br>
on you disk and then use the '--url' option with 'file://path'.<br>
<br>
Chris<br>
<br>
[1] <a href="https://git.rtems.org/rtems-release/tree/rtems-release-sources#n112" rel="noreferrer" target="_blank">https://git.rtems.org/rtems-re<wbr>lease/tree/rtems-release-sourc<wbr>es#n112</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a><br></blockquote></div><br></div></div>