<div>Hi,&nbsp;<span style="font-family: Arial; line-height: 1.5;">Vinícius,</span></div><div><br></div><div><font face="Arial">I still have problem to fetch needed external projects.</font></div><div><font face="Arial"><br></font></div><div><font face="Arial">When I ran <b>$&nbsp;</b></font><span style="line-height: 1.5;"><b>make CONFIG=config.mk sync-all</b>, first following was shown to the terminal,</span></div><div><span style="line-height: 1.5;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I: Forcing LLVMLinux commit specified at config.mk</span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Current HEAD does not match with checkpoint config.mk. Please run:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp;git checkout 6f941c4a48a958417c0dae1e7a92131bc7bee34f</div><div><span class="Apple-tab-span" style="white-space:pre">        </span><font color="#ff0000">make[1]: *** [llvm-sync] Error 1</font></div><div><font color="#ff0000"><span class="Apple-tab-span" style="white-space:pre">        </span>make: *** [sync-all] Error 2</font><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><br></div><div>Then I did as told:<span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>$ git checkout 6f941c4a48a958417c0dae1e7a92131bc7bee34f</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Note: checking out '6f941c4a48a958417c0dae1e7a92131bc7bee34f'.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>You are in 'detached HEAD' state. You can look around, make experimental</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>changes and commit them, and you can discard any commits you make in this</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>state without impacting any branches by performing another checkout.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>If you want to create a new branch to retain commits you create, you may</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>do so (now or later) by using -b with the checkout command again. Example:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp;git checkout -b new_branch_name</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>HEAD is now at 6f941c4... Add initial support for Nexus 7</div><div><br></div><div>And then ran<b>&nbsp;</b><font face="Arial" style="line-height: 21px;"><b>$&nbsp;</b></font><span style="line-height: 1.5;"><b>make CONFIG=config.mk sync-all</b> again: then it stays in following like forever,&nbsp;</span></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Cloning kernel...</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;---------------------------------------------------------------------</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;---------------------------------------------------------------------</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Checking out kernel branch...</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ---------------------------------------------------------------------</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[ -d /Volumes/macdat/scratch/LLVMLinux/llvmlinux/targets/nexus7/src/android_kernel_nexus7/.git ] || (rm -rf &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /Volumes/macdat/scratch/LLVMLinux/llvmlinux/targets/nexus7/src/android_kernel_nexus7 &amp;&amp; git clone --reference /Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git &nbsp; git://github.com/CyanogenMod/android_kernel_asus_grouper -b cm-10.1 /Volumes/macdat/scratch/LLVMLinux/llvmlinux/targets/nexus7/src/android_kernel_nexus7 )</div><div>Cloning into '/Volumes/macdat/scratch/LLVMLinux/llvmlinux/targets/nexus7/src/android_kernel_nexus7'…</div></div><div><br></div><div>The Internet was fine and I have run the command(<font face="Arial" style="line-height: 21px;"><b>$&nbsp;</b></font><span style="line-height: 1.5;"><b>make CONFIG=config.mk sync-all</b></span><span style="line-height: 1.5;">) repeatedly but it still stayed there and if I ran following command</span></div><div><br></div><div>[ -d /Volumes/macdat/scratch/LLVMLinux/llvmlinux/targets/nexus7/src/android_kernel_nexus7/.git ] || (rm -rf &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div><span style="line-height: 1.5;">/Volumes/macdat/scratch/LLVMLinux/llvmlinux/targets/nexus7/src/android_kernel_nexus7 &amp;&amp; git clone --reference /Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git &nbsp; git://github.com/CyanogenMod/android_kernel_asus_grouper -b cm-10.1 /Volumes/macdat/scratch/LLVMLinux/llvmlinux/targets/nexus7/src/android_kernel_nexus7 )</span></div><div><span style="line-height: 1.5;"><br></span></div><div><span style="line-height: 1.5;">it still showed following and stayed there.</span></div><div>Cloning into '/Volumes/macdat/scratch/LLVMLinux/llvmlinux/targets/nexus7/src/android_kernel_nexus7'…</div><div><br></div><div>What problem do you think it is and what else should I do to overcome it? Thank you very much!</div><div><br></div><div><br></div><div><sign signid="0"><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size: 14px; color: rgb(0, 0, 0);"><div><font face="Arial"><span style="line-height: normal;">Best regards,</span></font></div><div style="font-family: Verdana;"><span lang="EN-US" style="font-family: Arial; line-height: normal;"><span class="apple-style-span">Lifang Zhang</span><br><span class="apple-style-span">E: zhanglf<a href="mailto:wuqw@morningtec.cn" target="_blank" style="outline: none; color: rgb(42, 88, 111);">@morning<wbr>tec.cn</a></span>&nbsp;<br><span class="apple-style-span">W</span></span><span class="apple-style-span" style="font-family: Arial; line-height: normal;">:&nbsp;<span lang="EN-US">www.morningtec.cn</span></span><span lang="EN-US" style="font-family: Arial; line-height: normal;">&nbsp;<br><span class="apple-style-span">A:</span><span class="MsoHyperlink">&nbsp;O</span><span class="apple-style-span">ffice 915, Hongyi Building, 2158 Wanyuan Road Minhang Direction, Shanghai, China</span></span></div>
</div></sign></div><div><qzone></qzone></div><div>&nbsp;</div><div><includetail><div>&nbsp;</div><div>&nbsp;</div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------&nbsp;Original&nbsp;------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b>&nbsp;"Tinti"&lt;viniciustinti@gmail.com&gt;;</div><div><b>Date: </b>&nbsp;Fri, Jun 13, 2014 09:41 PM</div><div><b>To: </b>&nbsp;"zhanglf"&lt;zhanglf@morningtec.cn&gt;; <wbr></div><div><b>Cc: </b>&nbsp;"llvmlinux"&lt;llvmlinux@lists.linuxfoundation.org&gt;; "岑鹏浩"&lt;cenph@morningtec.cn&gt;; "陈文琦"&lt;chenwq@morningtec.cn&gt;; <wbr></div><div><b>Subject: </b>&nbsp;Re: [llvmlinux] Problem in Sync and fetch needed external projects</div></div><div>&nbsp;</div><div dir="ltr">Hi&nbsp;<span style="color:rgb(0,0,0);font-family:Arial;font-size:14px">Lifang Zhang,</span><div><span style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></span></div><div><font color="#000000" face="Arial"><span style="font-size:14px">The LLVMLinux project is done in Linux. Thus I don't think you will be able to make it build on OS X (without some extra work). I suggest you to either try building it on a supported Linux distro (i.e. Ubuntu 12.04 or 14.04) or install a virtual machine with it.<br>
<br>If you have problems let me know. I can sent you a prebuilt kernel image.</span></font></div><div><font color="#000000" face="Arial"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="Arial"><span style="font-size:14px">Regards,</span></font></div>
<div><font color="#000000" face="Arial"><span style="font-size:14px">Vinícius</span></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 13, 2014 at 10:25 AM, zhanglf <span dir="ltr">&lt;<a href="mailto:zhanglf@morningtec.cn" target="_blank">zhanglf@morningtec.cn</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Dear sir or Madam,</div><div><br></div><div>I am Lifang Zhang from MorningTech. We want to use LLVMLinux to replace the default linux kernel in Nexus 7<font color="#efefef" face="trebuchet ms, arial, helvetica, sans-serif"><span style="font-size:12px;line-height:normal"><b>&nbsp;</b></span></font><span style="line-height:1.5">but we have encountered some problems during building the kernel. We follow the guide from your website&nbsp;<a href="http://llvm.linuxfoundation.org/index.php/Nexus_7" target="_blank">http://llvm.linuxfoundation.org/index.php/Nexus_7</a>. We had problem with the step Sync and fetch the needed external projects. The problems are:</span></div>
<div><br></div><div>First when we ran <font color="#0000ff">$ make CONFIG=<a href="http://config.mk" target="_blank">config.mk</a> sync-all</font> in ../llvmlinux/targets/nexus7 directory,&nbsp;<span style="line-height:1.5">&nbsp;</span><span style="line-height:1.5">we get this error</span></div>
<div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;---------------------------------------------------------------------</div><div><span style="white-space:pre-wrap">                </span>Cloning shared kernel repo...</div><div><span style="white-space:pre-wrap">                </span>---------------------------------------------------------------------</div>
<div><span style="white-space:pre-wrap">                </span>Cloning into bare repository '/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git'...</div><div><span style="white-space:pre-wrap">                </span>remote: Counting objects: 3648768, done.</div>
<div><span style="white-space:pre-wrap">                </span>remote: Compressing objects: 100% (552089/552089), done.</div><div><span style="white-space:pre-wrap">                </span><font color="#ff0000">fatal: read error: Operation timed out8), 175.42 MiB | 114.00 KiB/s &nbsp;&nbsp;</font></div>
<div><font color="#ff0000"><span style="white-space:pre-wrap">                </span>fatal: early EOF</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">                </span>fatal: index-pack failed</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">                </span>make[1]: *** [/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git] Error 128</font></div>
<div><font color="#ff0000"><span style="white-space:pre-wrap">                </span>make: *** [sync-all] Error 2</font></div></div><div><br></div><div><span style="line-height:1.5">then I made a directory&nbsp;</span><span style="line-height:1.5">/Volumes/macdat/scratch/LLVMLinux/llvmlinux/arch/all/kernel.git' and do git init in this directory. Then I went back to the ..</span><span style="line-height:1.5">llvmlinux/targets/nexus7 directory and ran&nbsp;</span><span style="line-height:1.5">make CONFIG=<a href="http://config.mk" target="_blank">config.mk</a> sync-all command, but I got following error:</span></div>
<div><span style="line-height:1.5"><br></span></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Syncing shared <a href="http://kernel.org" target="_blank">kernel.org</a> kernel...</div><div><span style="white-space:pre-wrap">        </span>---------------------------------------------------------------------</div>
<div><span style="white-space:pre-wrap">        </span><font color="#ff0000">fatal: 'origin' does not appear to be a git repository</font></div><div><font color="#ff0000"><span style="white-space:pre-wrap">        </span>fatal: Could not read from remote repository.</font></div>
<div><span style="white-space:pre-wrap">        </span></div><div><span style="white-space:pre-wrap">        </span>Please make sure you have the correct access rights</div><div><span style="white-space:pre-wrap">        </span>and the repository exists.</div>
<div><span style="white-space:pre-wrap">        </span>make[1]: *** [kernel-shared-sync] Error 128</div><div><span style="white-space:pre-wrap">        </span>make: *** [sync-all] Error 2</div></div><div><span style="line-height:1.5"><br>
</span></div><div><span style="line-height:1.5">But I can get the following and can git clone&nbsp;</span><span style="line-height:1.5"><a href="http://git.linuxfoundation.org/llvmlinux.git" target="_blank">http://git.linuxfoundation.org/llvmlinux.git</a> successfully</span><span style="line-height:1.5">:</span></div>
<div><span style="line-height:1.5">&nbsp; &nbsp; &nbsp; &nbsp; $ git remote -v</span></div><div><span style="white-space:pre-wrap">        </span>origin<span style="white-space:pre-wrap">        </span><a href="http://git.linuxfoundation.org/llvmlinux.git" target="_blank">http://git.linuxfoundation.org/llvmlinux.git</a> (fetch)</div>
<div><span style="white-space:pre-wrap">        </span>origin<span style="white-space:pre-wrap">        </span><a href="http://git.linuxfoundation.org/llvmlinux.git" target="_blank">http://git.linuxfoundation.org/llvmlinux.git</a> (push)</div>
<div><span style="line-height:1.5"><br></span></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; $ git clone <a href="http://git.linuxfoundation.org/llvmlinux.git" target="_blank">http://git.linuxfoundation.org/llvmlinux.git</a></div><div><span style="white-space:pre-wrap">        </span>Cloning into 'llvmlinux'...</div>
<div><span style="white-space:pre-wrap">        </span>remote: Counting objects: 11643, done.</div><div><span style="white-space:pre-wrap">        </span>remote: Compressing objects: 100% (8244/8244), done.</div><div><span style="white-space:pre-wrap">        </span>remote: Total 11643 (delta 7516), reused 5269 (delta 3189)</div>
<div><span style="white-space:pre-wrap">        </span>Receiving objects: 100% (11643/11643), 13.08 MiB | 20.00 KiB/s, done.</div><div><span style="white-space:pre-wrap">        </span>Resolving deltas: 100% (7516/7516), done.</div></div>
<div><br></div><div>Then I continued to run `make CONFIG=<a href="http://config.mk" target="_blank">config.mk</a> sync-all`, but get the same errors:</div><div><br></div><div><div style="line-height:21px">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Syncing shared <a href="http://kernel.org" target="_blank">kernel.org</a> kernel...</div>
<div style="line-height:21px"><span style="white-space:pre-wrap">        </span>---------------------------------------------------------------------</div><div style="line-height:21px"><span style="white-space:pre-wrap">        </span><font color="#ff0000">fatal: 'origin' does not appear to be a git repository</font></div>
<div style="line-height:21px"><font color="#ff0000"><span style="white-space:pre-wrap">        </span>fatal: Could not read from remote repository.</font></div><div style="line-height:21px"><span style="white-space:pre-wrap">        </span></div>
<div style="line-height:21px"><span style="white-space:pre-wrap">        </span>Please make sure you have the correct access rights</div><div style="line-height:21px"><span style="white-space:pre-wrap">        </span>and the repository exists.</div>
<div style="line-height:21px"><span style="white-space:pre-wrap">        </span>make[1]: *** [kernel-shared-sync] Error 128</div><div style="line-height:21px"><span style="white-space:pre-wrap">        </span>make: *** [sync-all] Error 2</div>
</div><div><br></div><div>And I can't find solutions from the Internet. Can you help me out with this? And the operation system we use is Mac OS X Version 10.8.5. Thanks a lot!</div><div><br></div><div><span style="">------------------</span></div>
<div>Thanks and best regards,</div><div><u></u><div style="font-size:14px;font-family:Verdana;color:#000"><div><span lang="EN-US" style="font-family:Arial;line-height:normal">Lifang Zhang<br><span>E: zhanglf<a href="mailto:wuqw@morningtec.cn" style="outline:none;color:rgb(42,88,111)" target="_blank">@morning<u></u>tec.cn</a></span>&nbsp;<br>
<span>W</span></span><span style="font-family:Arial;line-height:normal">:&nbsp;<span lang="EN-US"><a href="http://www.morningtec.cn" target="_blank">www.morningtec.cn</a></span></span><span lang="EN-US" style="font-family:Arial;line-height:normal">&nbsp;<br>
<span>A:</span><span>&nbsp;O</span><span>ffice 915, Hongyi Building, 2158 Wanyuan Road Minhang Direction, Shanghai, China</span></span></div>
</div><u></u></div><div><u></u><u></u></div><div>&nbsp;</div><br>_______________________________________________<br>
LLVMLinux mailing list<br>
<a href="mailto:LLVMLinux@lists.linuxfoundation.org">LLVMLinux@lists.linuxfoundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
Simplicity is the ultimate sophistication<br></div>
</div>

</div></includetail></div>