<div dir="ltr"><div><div><div><div>Hi Ryan, thanks for the reply. <br></div>I can rebuild it, if needed, but since it took about 48 hours. I&#39;d prefer to avoid it if possible,<br><br></div>If this was built on my local system, do you know where the staging directory possibly might be?<br></div>I was just going to see if I can construct that archive manually.<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 23, 2015 at 2:10 PM, Ryan Schmidt <span dir="ltr">&lt;<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On Dec 22, 2015, at 8:21 PM, John T. Chung wrote:<br>
<br>
&gt; Hey guys, I&#39;m a PPC G4 trying to install clang.<br>
&gt; Everything is fine, until I get to this step:<br>
&gt;<br>
&gt; clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2<br>
&gt; ---&gt;  Attempting to fetch clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2 from <a href="http://jog.id.packages.macports.org/macports/packages/clang-3.4" rel="noreferrer" target="_blank">http://jog.id.packages.macports.org/macports/packages/clang-3.4</a><br>
&gt; ---&gt;  Attempting to fetch clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2 from <a href="http://packages.macports.org/clang-3.4" rel="noreferrer" target="_blank">http://packages.macports.org/clang-3.4</a><br>
&gt; ---&gt;  Attempting to fetch clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2 from <a href="http://lil.fr.packages.macports.org/clang-3.4" rel="noreferrer" target="_blank">http://lil.fr.packages.macports.org/clang-3.4</a><br>
&gt; ---&gt;  Attempting to fetch clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2 from <a href="http://mse.uk.packages.macports.org/sites/packages.macports.org/clang-3.4" rel="noreferrer" target="_blank">http://mse.uk.packages.macports.org/sites/packages.macports.org/clang-3.4</a><br>
&gt;       [                                        ]   0.0 %        speed: 0 B/s        ---&gt;  Attempting to fetch clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2 from <a href="http://nue.de.packages.macports.org/macports/packages/clang-3.4" rel="noreferrer" target="_blank">http://nue.de.packages.macports.org/macports/packages/clang-3.4</a><br>
&gt;<br>
&gt; It downloads clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2, but this archive is defective:<br>
&gt;<br>
&gt; sh-3.2# bzip2 -dc /opt/local/var/macports/software/clang-3.4/clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2 | tar -tvf -<br>
&gt;<br>
&gt; -rwxr-xr-x root/wheel    4142072 2015-12-23 03:43:02 ./opt/local/libexec/llvm-3.4/lib/libclangFormat.a<br>
&gt; -rwxr-xr-x root/wheel   38938928 2015-12-23 03:42:59 ./opt/local/libexec/llvm-3.4/lib/libclangFrontend.a<br>
&gt;<br>
&gt; bzip2: I/O or other error, bailing out.  Possible reason follows.<br>
&gt; bzip2: Input/output error<br>
&gt;     Input file = /opt/local/var/macports/software/clang-3.4/clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2, output file = (stdout)<br>
&gt; tar: Read 6160 bytes from -<br>
&gt; tar: Unexpected EOF in archive<br>
&gt; tar: Error is not recoverable: exiting now<br>
&gt;<br>
&gt;<br>
</span><span class="">&gt; After which when it tries to activate this, it errs out:<br>
&gt;<br>
&gt; --&gt;  Staging clang-3.4 into destroot<br>
&gt; ---&gt;  Installing clang-3.4 @3.4.2_9+analyzer<br>
&gt; ---&gt;  Activating clang-3.4 @3.4.2_9+analyzer<br>
&gt; Error: org.macports.activate for port clang-3.4 returned: command execution failed<br>
&gt; Please see the log file for port clang-3.4 for details:<br>
&gt;     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.4/clang-3.4/main.log<br>
&gt; To report a bug, follow the instructions in the guide:<br>
&gt;     <a href="http://guide.macports.org/#project.tickets" rel="noreferrer" target="_blank">http://guide.macports.org/#project.tickets</a><br>
&gt; Error: Processing of port clang-3.4 failed<br>
&gt;<br>
&gt;<br>
&gt; any idea where I can download a working copy of clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2<br>
<br>
</span>The MacPorts project has never had any PowerPC build machines, so we have never offered any binary packages for PowerPC. If you have &quot;clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2&quot; on your system, it&#39;s likely it was build on your own system.<br>
<br>
&quot;I/O error&quot; often means you have a problem with your disk. You should verify your disk with Disk Utility.<br>
<br>
It sounds like the clang-3.4-3.4.2_9+analyzer.darwin_9.ppc.tbz2 file you have is corrupt, possibly because it is truncated, or possibly because it cannot be read due to the I/O error. Once you&#39;ve verified your disk is ok and has enough space, run &quot;sudo port clean --all clang-3.4 &amp;&amp; sudo port uninstall clang-3.4&quot;. Then build it again on your own system using &quot;sudo port install clang-3.4&quot;.<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><font size="2"><i><b><span style="font-family:times new roman,serif">John Chung</span><br style="font-family:times new roman,serif"><span style="font-family:times new roman,serif">Technology Architect</span><br style="font-family:times new roman,serif"><span style="font-family:times new roman,serif">Nyquest Consulting</span><br style="font-family:times new roman,serif"><span style="font-family:times new roman,serif"><a href="http://www.nyquest.com" target="_blank">http://www.nyquest.com</a></span><br style="font-family:times new roman,serif"><span style="font-family:times new roman,serif">Mobi<font size="2">le 419.464.9637 Office: </font>419.973.9072</span></b></i></font><br></div>
</div>