<div dir="ltr">Takeshi,<div><br></div><div>I saw there was a new cdo port today, but when I try to upgrade it I get (discounting the ever present DNS warning):</div><div><br></div><div>---&gt;  Computing dependencies for cdo<br>

</div><div><div>---&gt;  Fetching archive for cdo</div><div>Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: &lt;<a href="https://trac.macports.org/wiki/MisbehavingServers">https://trac.macports.org/wiki/MisbehavingServers</a>&gt;</div>

<div>---&gt;  Attempting to fetch cdo-1.6.4_0+grib_api+openmpi+szip.darwin_13.x86_64.tbz2 from <a href="http://packages.macports.org/cdo">http://packages.macports.org/cdo</a></div><div>---&gt;  Attempting to fetch cdo-1.6.4_0+grib_api+openmpi+szip.darwin_13.x86_64.tbz2 from <a href="http://lil.fr.packages.macports.org/cdo">http://lil.fr.packages.macports.org/cdo</a></div>

<div>---&gt;  Attempting to fetch cdo-1.6.4_0+grib_api+openmpi+szip.darwin_13.x86_64.tbz2 from <a href="http://nue.de.packages.macports.org/macports/packages/cdo">http://nue.de.packages.macports.org/macports/packages/cdo</a></div>

<div>---&gt;  Fetching distfiles for cdo</div><div>---&gt;  Attempting to fetch cdo-1.6.4.tar.gz from <a href="http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/cdo">http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/cdo</a></div>

<div>---&gt;  Attempting to fetch cdo-1.6.4.tar.gz from <a href="http://distfiles.macports.org/cdo">http://distfiles.macports.org/cdo</a></div><div>---&gt;  Verifying checksums for cdo                                                    </div>

<div>---&gt;  Extracting cdo</div><div>---&gt;  Configuring cdo</div><div>Error: /opt/local/bin/h5pcc not found. Install hdf5 with an mpi variant</div><div>Error: org.macports.configure for port cdo returned: </div><div>
Please see the log file for port cdo for details:</div>
<div>    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_cdo/cdo/main.log</div><div>Error: Unable to upgrade port: 1</div><div>To report a bug, follow the instructions in the guide:</div>

<div>    <a href="http://guide.macports.org/#project.tickets">http://guide.macports.org/#project.tickets</a></div></div><div><br></div><div>How will I know when your patch is has been applied? Or, do I need to run some port command to &quot;clean out&quot; something?</div>

<div><br></div><div>Thanks,</div><div>Matt</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 15, 2014 at 8:39 PM, Takeshi Enomoto <span dir="ltr">&lt;<a href="mailto:takeshi@macports.org" target="_blank">takeshi@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">Dear Ryan and Matt,<br>
<br>
Thanks for the message.<br>
I wrapped if with pre-configure.<br>
Done in r123910.<br>
<br>
Thanks<br>
<br>
Takeshi<br>
-----<br>
Takeshi Enomoto<br>
<a href="mailto:takeshi@macports.org">takeshi@macports.org</a><br>
<br>
2014/08/16 9:10、Ryan Schmidt &lt;<a href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>&gt;:<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; On Aug 15, 2014, at 5:58 PM, Matt Thompson wrote:<br>
&gt;<br>
&gt;&gt; I&#39;m hoping you can help me with an issue. I have a script I run every so often that does a selfupdate, upgrade outdated, clean --all installed, and uninstall inactive as sort of a &quot;combo&quot; when I&#39;m feeling lazy and all seems to be working well. However, I seem to be having an issue with the cleaning:<br>


&gt;&gt;<br>
&gt;&gt; $ sudo port clean --all installed<br>
&gt;&gt; ---&gt;  Cleaning antlr<br>
&gt;&gt; ---&gt;  Cleaning apr<br>
&gt;&gt; ---&gt;  Cleaning apr-util<br>
&gt;&gt; ---&gt;  Cleaning aquaterm<br>
&gt;&gt; ---&gt;  Cleaning autoconf<br>
&gt;&gt; ---&gt;  Cleaning automake<br>
&gt;&gt; ---&gt;  Cleaning bash<br>
&gt;&gt; ---&gt;  Cleaning bash-completion<br>
&gt;&gt; ---&gt;  Cleaning bdftopcf<br>
&gt;&gt; ---&gt;  Cleaning bison<br>
&gt;&gt; ---&gt;  Cleaning bzip2<br>
&gt;&gt; ---&gt;  Cleaning cairo<br>
&gt;&gt; ---&gt;  Cleaning cctools<br>
&gt;&gt; ---&gt;  Cleaning cctools-headers<br>
&gt;&gt; Error: /opt/local/bin/h5pcc not found. Install hdf5 with an mpi variant<br>
&gt;&gt; Error: Unable to open port:<br>
&gt;&gt;<br>
&gt;&gt; Now...I&#39;m a bit confused as to what is causing the error. According to what I have installed, the next package is cdo:<br>
&gt;&gt;<br>
&gt;&gt; $ sudo port installed<br>
&gt;&gt; The following ports are currently installed:<br>
&gt;&gt;  antlr @2.7.7_1 (active)<br>
&gt;&gt;  apr @1.5.1_0 (active)<br>
&gt;&gt;  apr-util @1.5.3_0 (active)<br>
&gt;&gt;  aquaterm @1.1.1_0 (active)<br>
&gt;&gt;  autoconf @2.69_2 (active)<br>
&gt;&gt;  automake @1.14.1_2 (active)<br>
&gt;&gt;  bash @4.3.18_0 (active)<br>
&gt;&gt;  bash-completion @2.1_8 (active)<br>
&gt;&gt;  bdftopcf @1.0.4_0 (active)<br>
&gt;&gt;  bison @2.7.1_0 (active)<br>
&gt;&gt;  bzip2 @1.0.6_0 (active)<br>
&gt;&gt;  cairo @1.12.16_2+x11 (active)<br>
&gt;&gt;  cctools @855_1+llvm33 (active)<br>
&gt;&gt;  cctools-headers @855_0 (active)<br>
&gt;&gt;  cdo @1.6.3_1+grib_api+openmpi+szip (active)<br>
&gt;&gt;  cloog @0.18.2_0 (active)<br>
&gt;&gt; ...<br>
&gt;&gt;<br>
&gt;&gt; Okay, so let&#39;s try just cleaning that:<br>
&gt;&gt;<br>
&gt;&gt; $ sudo port clean --all cdo<br>
&gt;&gt; ---&gt;  Cleaning cdo<br>
&gt;&gt;<br>
&gt;&gt; Maybe cloog:<br>
&gt;&gt;<br>
&gt;&gt; $ sudo port clean --all cloog<br>
&gt;&gt; ---&gt;  Cleaning cloog<br>
&gt;&gt;<br>
&gt;&gt; So I&#39;m just stumped. Why can&#39;t a &quot;port clean --all installed&quot; work, but the individual clean *can* work?<br>
&gt;<br>
&gt; The &quot;installed&quot; pseudoport expands to the list of ports you have installed. That includes the specific variants you&#39;ve selected.<br>
&gt;<br>
&gt; $ sudo port clean cdo<br>
&gt; ---&gt;  Cleaning cdo<br>
&gt; $ sudo port clean cdo +grib_api +openmpi +szip<br>
&gt; Error: /opt/local/bin/h5pcc not found. Install hdf5 with an mpi variant<br>
&gt; Error: Unable to open port:<br>
&gt;<br>
&gt; Certainly, ports should not print errors when cleaning. This is a bug in the cdo port.<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>&quot;And, isn&#39;t sanity really just a one-trick pony anyway? I mean all you</div><div> get is one trick: rational thinking. But when you&#39;re good and crazy, </div>

<div> oooh, oooh, oooh, the sky is the limit!&quot; -- The Tick</div><div><br></div></div>
</div>