<div dir="ltr">Can you explain more what you mean by this?<div><br></div><div>1) The lack of a gfortran meant that install errors were found using the restore_ports.tcl script. <br></div><div><br></div><div>I don't think there should be any port which tries to build using an executable called "gfortran". A port such as gcc49 installs gfortran-mp-4.9.</div><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 12, 2017 at 6:03 PM, Ryan Schmidt <span dir="ltr"><<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>></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 Mar 12, 2017, at 13:05, Mannucci, Anthony J (335G) wrote:<br>
><br>
> I want to report an apparently smooth upgrade of macports when I upgraded my OS to Sierra from Mavericks.<br>
<br>
</span>Glad to hear it!<br>
<span class=""><br>
<br>
> I tried to follow the instructions exactly, and found some minor issues:<br>
> 1) The lack of a gfortran meant that install errors were found using the restore_ports.tcl script.<br>
> 2) I manually installed gcc49 which created gfortran (almost).<br>
<br>
</span>That's a very old version of gcc. The latest stable version is gcc6; I recommend using that instead.<br>
<span class=""><br>
> 3) I had to manually softlink the commands “gcc” and “gfortran” to the versions found in /opt/local/bin. Then “gcc" and “gfortran" were on my path.<br>
<br>
</span>Ok, but you're not meant to have to do that manually. Use "sudo port select gcc" to do it for you.<br>
<span class=""><br>
> 3) I tested it by installing Atlas first, which worked.<br>
> 4) The restore_ports.tcl reported the error below. It does not seem to have propagated to anything else. Further testing of the ports will reveal if there are any issues.<br>
><br>
</span>> Instructions for installing command line tools of Xcode can be found here: [snipped non-official URL]<br>
<br>
They can also be found in MacPorts documentation, and probably on Apple's web site somewhere.<br>
<span class=""><br>
> Just issue the command<br>
> xcode-select —install.<br>
><br>
> Part of the install output:<br>
> ---> Cleaning bzip2<br>
> ---> Fetching distfiles for cctools-headers<br>
> ---> Verifying checksums for cctools-headers<br>
> ---> Extracting cctools-headers<br>
> ---> Configuring cctools-headers<br>
> Error: cctools-headers has been replaced by libmacho-headers; please install that instead.<br>
> Error: Failed to configure cctools-headers: obsolete port<br>
> Error: See /opt/local/var/macports/logs/_<wbr>opt_local_var_macports_<wbr>sources_rsync.macports.org_<wbr>release_tarballs_ports_devel_<wbr>cctools-headers/cctools-<wbr>headers/main.log for details.<br>
> ---> Cleaning cmsvlib<br>
> Etc.<br>
<br>
</span>cctools-headers is obsolete. Uninstall it / remove it from the list of ports that you're instructing MacPorts to reinstall.<br>
<br>
</blockquote></div><br></div>