Opened 5 years ago

Closed 5 years ago

#58613 closed defect (fixed)

Carthage @ 0.33.0 - command execution failed

Reported by: master5597 Owned by: saagarjha (Saagar Jha)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: carthage

Description

Carthage won't install:

Error: Failed to destroot carthage: command execution failed

sample of command-line:

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G65
$ port version
Version: 2.5.4
$ xcodebuild -version
Xcode 9.4.1
Build version 9F2000
$ swift --version
Apple Swift version 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
$ sudo port clean carthage
--->  Cleaning carthage
$ sudo port -d install carthage
.....<SNIP>.....
DEBUG: Executing org.macports.destroot (carthage)
DEBUG: system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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_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_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
https://github.com/apple/swift-package-manager.git @ swift-DEVELOPMENT-SNAPSHOT-2019-03-04-a: error: manifest parse error(s):
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/carthage/work/.tmp/TemporaryFile.hybuw4.swift:242:30: error: type 'Int' has no member 'v4_2'
    swiftLanguageVersions: [.v4_2]
                             ^~~~
'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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_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_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'PrettyColors' not found
'Carthage' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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_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_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_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_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_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_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_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_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_release_tarballs_ports_devel_carthage/carthage/work/Carthage-0.33.0: error: product dependency 'Nimble' not found
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/Carthage/ReactiveTask.git
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/mdiep/Tentacle.git
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/apple/swift-llbuild.git
Fetching https://github.com/jdhealy/PrettyColors.git
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_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_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_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

Attachments (3)

main.log (29.1 KB) - added by master5597 5 years ago.
Logfile mentioned in error
stdout-stderr.txt (18.0 KB) - added by master5597 5 years ago.
Full output from port install command
carthage_macports_error.txt (10.2 KB) - added by ParityError 5 years ago.
carthage fails to install

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by master5597

Attachment: main.log added

Logfile mentioned in error

Changed 5 years ago by master5597

Attachment: stdout-stderr.txt added

Full output from port install command

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Keywords: carthage removed
Owner: set to saagarjha
Status: newassigned

Changed 5 years ago by ParityError

Attachment: carthage_macports_error.txt added

carthage fails to install

comment:2 Changed 5 years ago by ParityError

Similar problem here attempting to install carthage (see error log).

comment:3 Changed 5 years ago by i0ntempest

Cc: i0ntempest added

comment:4 Changed 5 years ago by i0ntempest

Cc: i0ntempest removed

comment:5 Changed 5 years ago by saagarjha (Saagar Jha)

Resolution: fixed
Status: assignedclosed

In 23302e21fe02a6ab5a46c075f6f883bc5870a1be/macports-ports (master):

carthage: Update to 0.34.0

Closes: #58613
Closes: #59068

Note: See TracTickets for help on using tickets.