<div dir="ltr"><div>Os: High Sierra - 10.13.6</div><div>Xcode - 9.4.1</div><div>Macports - 2.5.3<br></div><div><br></div><div>I'm unable to install any ports. I've verified the port tree exists
 and the files are readable by root. I've deleted /opt/local and 
reinstalled from binary.  I've deleted /opt/local and reinstalled from 
source. I get the same error no matter what.  Here's the tail end of the
 sudo port -dv selfupdate and an attempt to install coreutils.</div><div>DEBUG: system: chmod -R a+r /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs" target="_blank">rsync.macports.org/macports/release/tarballs</a><br>DEBUG: system: /opt/local/bin/portindex /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports" target="_blank">rsync.macports.org/macports/release/tarballs/ports</a><br>Creating port index in /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports" target="_blank">rsync.macports.org/macports/release/tarballs/ports</a><br><br>Total number of ports parsed:    0 <br>Ports successfully parsed:    0 <br>Ports failed:            0 <br>Up-to-date ports skipped:    20365<br><br>--->  MacPorts base is already the latest version<br>DEBUG: Setting MacPorts sources ownership to root<br><br>The ports tree has been updated. To upgrade your installed ports, you should run<br>  port upgrade outdated<br>jjohnston@sd-jjohnston-03 /opt/local/var $ sudo port -dv install coreutils<br>DEBUG: Copying /Users/jjohnston/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences<br>DEBUG: Changing to port directory: /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils" target="_blank">rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils</a><br>DEBUG: OS darwin/17.7.0 (Mac OS X 10.13) arch i386<br>DEBUG: adding the default universal variant<br>DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf" target="_blank">rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf</a><br>DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies<br>DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies<br>DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies<br>DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies<br>DEBUG: Running callback portstartupitem::add_notes<br>DEBUG: Finished running callback portstartupitem::add_notes<br>DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/work /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/work" target="_blank">rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/work</a><br>DEBUG: dropping privileges: euid changed to 503, egid changed to 501.<br>DEBUG: Could not open file: /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile" target="_blank">rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile</a><br>    while executing<br>"sha256 file ${portpath}/Portfile"<br>    (procedure "open_statefile" line 30)<br>    invoked from within<br>"open_statefile"<br>    (procedure "check_variants" line 28)<br>    invoked from within<br>"check_variants activate"<br>    invoked from within<br>"$workername eval "check_variants $target""<br>    (procedure "mportexec" line 7)<br>    invoked from within<br>"mportexec $workername $target"<br>Error: Unable to execute port: Could not open file: /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile" target="_blank">rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile</a><br>jjohnston@sd-jjohnston-03 /opt/local/var $ ls -lha /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile" target="_blank">rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile</a><br>-rw-r--r--  1 root  505   3.7K Jul 19 19:19 /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile" target="_blank">rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile</a><br></div><div><br></div><div>Thanks, <br></div><div>Joel</div><br></div>