Upgrade to Sierra from Mavericks

Ryan Schmidt ryandesign at macports.org
Mon Mar 13 01:03:43 UTC 2017


> On Mar 12, 2017, at 13:05, Mannucci, Anthony J (335G) wrote:
> 
> I want to report an apparently smooth upgrade of macports when I upgraded my OS to Sierra from Mavericks.

Glad to hear it!


> I tried to follow the instructions exactly, and found some minor issues:
> 1) The lack of a gfortran meant that install errors were found using the restore_ports.tcl script. 
> 2) I manually installed gcc49 which created gfortran (almost).

That's a very old version of gcc. The latest stable version is gcc6; I recommend using that instead.

> 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. 

Ok, but you're not meant to have to do that manually. Use "sudo port select gcc" to do it for you.

> 3) I tested it by installing Atlas first, which worked.
> 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. 
> 
> Instructions for installing command line tools of Xcode can be found here: [snipped non-official URL]

They can also be found in MacPorts documentation, and probably on Apple's web site somewhere.

> Just issue the command 
> xcode-select —install.
> 
> Part of the install output:
> --->  Cleaning bzip2
> --->  Fetching distfiles for cctools-headers
> --->  Verifying checksums for cctools-headers
> --->  Extracting cctools-headers
> --->  Configuring cctools-headers
> Error: cctools-headers has been replaced by libmacho-headers; please install that instead.
> Error: Failed to configure cctools-headers: obsolete port
> Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools-headers/cctools-headers/main.log for details.
> --->  Cleaning cmsvlib
> Etc.

cctools-headers is obsolete. Uninstall it / remove it from the list of ports that you're instructing MacPorts to reinstall.



More information about the macports-users mailing list