Barrie, The error in your log says:
> :error:install Failed to install bash: no destroot found at: > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_shells_bash/bash/work/destroot The solution is here: https://trac.macports.org/wiki/ProblemHotlist#nodestrootfound The fact that the log also says: > :debug:main OS darwin/16.6.0 (Mac OS X 10.12) arch i386 is normal and not a cause for concern. 16.6.0 is the Darwin version corresponding to macOS 10.12.5. And "arch i386", in this context, means any Intel computer, such as your iMac, as opposed to the older PowerPC computers made last decade.