$ sudo port install carthage ---> Computing dependencies for carthage ---> Fetching archive for carthage ---> Attempting to fetch carthage-0.33.0_0.darwin_17.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/carthage ---> Attempting to fetch carthage-0.33.0_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/carthage ---> Attempting to fetch carthage-0.33.0_0.darwin_17.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/carthage ---> Fetching distfiles for carthage ---> Verifying checksums for carthage ---> Extracting carthage ---> Configuring carthage ---> Building carthage ---> Staging carthage into destroot Error: Failed to destroot carthage: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port carthage failed $ sudo port -d install carthage DEBUG: Copying /Users/Username/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/devel/carthage DEBUG: OS darwin/17.7.0 (Mac OS X 10.13) arch i386 DEBUG: Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl DEBUG: Re-registering default for livecheck.regex DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal_variant is false, so not adding the default universal variant 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: dropping privileges: euid changed to 502, egid changed to 501. DEBUG: Starting logging for carthage DEBUG: macOS 10.13 (darwin/17.7.0) arch i386 DEBUG: MacPorts 2.5.4 DEBUG: Xcode 10.1 DEBUG: SDK 10.13 DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.13 DEBUG: Found Dependency: path: /usr/bin filename: git regex: ^git$ ---> Computing dependencies for carthage DEBUG: carthage has no conflicts DEBUG: Found Dependency: path: /usr/bin filename: git regex: ^git$ DEBUG: Searching for dependency: git DEBUG: Didn't find receipt, going to depspec regex for: git DEBUG: Found Dependency: path: /usr/bin filename: git regex: ^git$ DEBUG: Executing org.macports.main (carthage) DEBUG: dropping privileges: euid changed to 502, egid changed to 501. DEBUG: Skipping completed org.macports.archivefetch (carthage) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.fetch (carthage) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.checksum (carthage) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.extract (carthage) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.patch (carthage) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.configure (carthage) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.build (carthage) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: destroot phase started at Sun Jul 21 11:52:17 MST 2019 ---> Staging carthage into destroot DEBUG: Can't run destroot under sudo without elevated privileges (due to mtree). DEBUG: Run destroot without sudo to avoid root privileges. DEBUG: Going to escalate privileges back to root. DEBUG: euid changed to: 0. egid changed to: 0. DEBUG: system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/destroot: /usr/sbin/mtree -e -U -f /opt/local/share/macports/install/macosx.mtree . missing (directory not created: File exists) ./Applications missing (directory not created: File exists) ./Developer missing (directory not created: File exists) ./Library missing (directory not created: File exists) DEBUG: system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/destroot/opt/local: /usr/sbin/mtree -e -U -f /opt/local/share/macports/install/prefix.mtree DEBUG: Executing org.macports.destroot (carthage) DEBUG: system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: /usr/bin/make prefix_install PREFIX=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/destroot/opt/local CARTHAGE_TEMPORARY_FOLDER=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/destroot SWIFTPM_DISABLE_SANDBOX_SHOULD_BE_FLAGGED=should_be_flagged swift build --configuration release --disable-sandbox -Xswiftc -static-stdlib Updating https://github.com/Carthage/ReactiveTask.git Updating https://github.com/Quick/Nimble.git Updating https://github.com/Carthage/Commandant.git Updating https://github.com/mdiep/Tentacle.git Updating https://github.com/Quick/Quick.git Updating https://github.com/thoughtbot/Curry.git Updating https://github.com/jdhealy/PrettyColors.git Updating https://github.com/antitypical/Result.git Updating https://github.com/apple/swift-package-manager.git Updating https://github.com/ReactiveCocoa/ReactiveSwift.git Updating https://github.com/apple/swift-llbuild.git https://github.com/apple/swift-llbuild.git @ master: error: manifest parse error(s): /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/.tmp/TemporaryFile.KVCq2e.swift:55:16: error: incorrect argument label in call (have 'name:dependencies:path:linkerSettings:', expected 'name:dependencies:path:exclude:') .target( ^ 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Quick' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Nimble' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Tentacle' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Curry' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'SwiftPM-auto' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Result' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'ReactiveSwift' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'ReactiveTask' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Quick' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Nimble' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Commandant' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Curry' not found 'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'PrettyColors' not found make: *** [installables] Error 1 Command failed: /usr/bin/make prefix_install PREFIX=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/destroot/opt/local CARTHAGE_TEMPORARY_FOLDER=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/work/destroot SWIFTPM_DISABLE_SANDBOX_SHOULD_BE_FLAGGED=should_be_flagged Exit code: 2 Error: Failed to destroot carthage: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: command execution failed while executing "$procedure $targetname" Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_carthage/carthage/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port carthage failed