Opened 4 years ago

Closed 4 years ago

#52035 closed defect (fixed)

carthage @0.17.2 Failing to codesign Tentacle.framework

Reported by: nevil (Anders Hasselqvist) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: carthage

Description

Installing carthage fails because of a failure to codesign the Tentacle.framework dependency

OS darwin/15.6.0 (Mac OS X 10.11) arch i386

xcodebuild -version Xcode 7.3.1 Build version 7D1014

xcode-select -p /Applications/Xcode.app/Contents/Developer

:info:destroot CodeSign /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/work/Carthage-0.17.2/custombuild/Carthage-eojxepnzwimenvakhljxtakwzitp/Build/Intermediates/ArchiveIntermediates/carthage/IntermediateBuildFilesPath/UninstalledProducts/macosx/Tentacle.framework/Versions/A
:info:destroot     cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/work/Carthage-0.17.2/Carthage/Checkouts/Tentacle
:info:destroot     export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
:info:destroot     
:info:destroot Signing Identity:     "-"
:info:destroot 
:info:destroot     /usr/bin/codesign --force --sign - --timestamp=none /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/work/Carthage-0.17.2/custombuild/Carthage-eojxepnzwimenvakhljxtakwzitp/Build/Intermediates/ArchiveIntermediates/carthage/IntermediateBuildFilesPath/UninstalledProducts/macosx/Tentacle.framework/Versions/A
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/work/Carthage-0.17.2/custombuild/Carthage-eojxepnzwimenvakhljxtakwzitp/Build/Intermediates/ArchiveIntermediates/carthage/IntermediateBuildFilesPath/UninstalledProducts/macosx/Tentacle.framework/Versions/A: replacing existing signature
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/work/Carthage-0.17.2/custombuild/Carthage-eojxepnzwimenvakhljxtakwzitp/Build/Intermediates/ArchiveIntermediates/carthage/IntermediateBuildFilesPath/UninstalledProducts/macosx/Tentacle.framework/Versions/A: CSSMERR_CSP_INVALID_CONTEXT_HANDLE
:info:destroot In architecture: x86_64
:info:destroot Command /usr/bin/codesign failed with exit code 1
:info:destroot 
:info:destroot ** INSTALL FAILED **
:info:destroot 
:info:destroot 
:info:destroot The following build commands failed:
:info:destroot 	CodeSign /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/work/Carthage-0.17.2/custombuild/Carthage-eojxepnzwimenvakhljxtakwzitp/Build/Intermediates/ArchiveIntermediates/carthage/IntermediateBuildFilesPath/UninstalledProducts/macosx/Tentacle.framework/Versions/A
:info:destroot (1 failure)
:info:destroot make: *** [installables] Error 65
:info:destroot 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 TEMPORARY_FOLDER=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/work/destroot XCODEFLAGS="-workspace 'Carthage.xcworkspace' -scheme 'carthage' DSTROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/work/destroot -IDECustomDerivedDataLocation=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/work/Carthage-0.17.2/custombuild"
:info:destroot Exit code: 2
:error:destroot org.macports.destroot for port Carthage returned: command execution failed
:debug:destroot Error code: NONE
:debug:destroot Backtrace: command execution failed
    while executing
"proc-org.macports.destroot-destroot-0 org.macports.destroot"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:destroot Warning: targets not executed for Carthage: org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Please see the log file for port Carthage for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_carthage/Carthage/main.log

Attachments (2)

Portfile (1.4 KB) - added by nevil (Anders Hasselqvist) 4 years ago.
Portfile for Carthage 0.18 and fixes the reported issue by disabling code signing
Portfile-carthage.diff (972 bytes) - added by nevil (Anders Hasselqvist) 4 years ago.
Portfile diff

Download all attachments as: .zip

Change History (7)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to sean@…

In the future, please Cc the port maintainers (port info --maintainers carthage), if any.

Changed 4 years ago by nevil (Anders Hasselqvist)

Attachment: Portfile added

Portfile for Carthage 0.18 and fixes the reported issue by disabling code signing

comment:2 Changed 4 years ago by nevil (Anders Hasselqvist)

The attached Portfile updates to the macOS Sierra compatible version 0.18. It also fixes the reported issue by disabling code signing.

comment:3 Changed 4 years ago by mf2k (Frank Schima)

Thanks. Per the guidelines, please instead attach a unified diff of the Portfile so we can easily see what changes you are proposing.

Changed 4 years ago by nevil (Anders Hasselqvist)

Attachment: Portfile-carthage.diff added

Portfile diff

comment:4 Changed 4 years ago by nevil (Anders Hasselqvist)

Sorry for that. Attached the diff according to the guidelines.

comment:5 Changed 4 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Thanks for the patch! Fixed in r153381!

Note: See TracTickets for help on using tickets.