Unable to execute port: Could not open file
joel johnston
joeldjohnston at gmail.com
Mon Aug 13 18:23:02 UTC 2018
Os: High Sierra - 10.13.6
Xcode - 9.4.1
Macports - 2.5.3
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.
DEBUG: system: chmod -R a+r /opt/local/var/macports/sources/
rsync.macports.org/macports/release/tarballs
DEBUG: system: /opt/local/bin/portindex /opt/local/var/macports/sources/
rsync.macports.org/macports/release/tarballs/ports
Creating port index in /opt/local/var/macports/sources/
rsync.macports.org/macports/release/tarballs/ports
Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 20365
---> MacPorts base is already the latest version
DEBUG: Setting MacPorts sources ownership to root
The ports tree has been updated. To upgrade your installed ports, you
should run
port upgrade outdated
jjohnston at sd-jjohnston-03 /opt/local/var $ sudo port -dv install coreutils
DEBUG: Copying
/Users/jjohnston/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory: /opt/local/var/macports/sources/
rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils
DEBUG: OS darwin/17.7.0 (Mac OS X 10.13) arch i386
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/
rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
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/
rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/work
DEBUG: dropping privileges: euid changed to 503, egid changed to 501.
DEBUG: Could not open file: /opt/local/var/macports/sources/
rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile
while executing
"sha256 file ${portpath}/Portfile"
(procedure "open_statefile" line 30)
invoked from within
"open_statefile"
(procedure "check_variants" line 28)
invoked from within
"check_variants activate"
invoked from within
"$workername eval "check_variants $target""
(procedure "mportexec" line 7)
invoked from within
"mportexec $workername $target"
Error: Unable to execute port: Could not open file:
/opt/local/var/macports/sources/
rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile
jjohnston at sd-jjohnston-03 /opt/local/var $ ls -lha
/opt/local/var/macports/sources/
rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile
-rw-r--r-- 1 root 505 3.7K Jul 19 19:19 /opt/local/var/macports/sources/
rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile
Thanks,
Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180813/8faf03d1/attachment.html>
More information about the macports-users
mailing list