Opened 2 years ago

Closed 2 years ago

#63924 closed defect (duplicate)

iTerm2 fails to build due to missing code signature

Reported by: vhalkola Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: ferdy (Giuseppe `ferdy` Miceli), dershow
Port: iTerm2

Description

:info:build warning: iTerm2 isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'iTerm2' from project 'iTerm2')
:info:build warning: iTerm2SandboxedWorker isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'iTerm2SandboxedWorker' from project 'iTerm2')
:info:build ** BUILD FAILED **
:info:build The following build commands failed:
:info:build     CompileC /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/work/gnachman-iTerm2-f213103/DerivedData/Build/Intermediates.noindex/iTerm2.build/Deployment/iTerm2SharedARC.build/Objects-normal-ubsan/x86_64/iTermRootTerminalView.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/work/gnachman-iTerm2-f213103/sources/iTermRootTerminalView.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
:info:build (1 failure)
:info:build make: *** [build/Deployment/iTerm2.app/Contents/MacOS/iTerm2] Error 65
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/work/gnachman-iTerm2-f213103'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.4.12" && /usr/bin/make -j8 -w prod
:info:build Exit code: 2
:error:build Failed to build iTerm2: command execution failed
:debug:build Error code: CHILDSTATUS 97144 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

Attachments (3)

main.log (3.8 MB) - added by texas-swift (Spencer Swift) 2 years ago.
iTerm2 build log
iTerm2-bigsur-main.log.gz (161.9 KB) - added by ferdy (Giuseppe `ferdy` Miceli) 2 years ago.
iTerm2 @3.4.12 failing on Big Sur main.log
iTerm2-monterey-main.log.gz (162.1 KB) - added by ferdy (Giuseppe `ferdy` Miceli) 2 years ago.
iTerm2 @3.4.12 failing on Monterey main.log

Change History (12)

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: iTerm2 code signature entitlement removed
Owner: set to markemer
Status: newassigned

comment:2 Changed 2 years ago by markemer (Mark Anderson)

This is strange, I've never seen this before. Can you tell me your macOS, Xcode, and the version of iTerm you're trying to install. Also if you can attach more of the build log, that would be helpful.

comment:3 Changed 2 years ago by texas-swift (Spencer Swift)

I'm seeing the same problem on my 2018 Mac mini with Mojave 10.14.6. Attaching my full build log.

Changed 2 years ago by texas-swift (Spencer Swift)

Attachment: main.log added

iTerm2 build log

comment:4 Changed 2 years ago by ferdy (Giuseppe `ferdy` Miceli)

Cc: ferdy added

comment:5 Changed 2 years ago by ferdy (Giuseppe `ferdy` Miceli)

i stuble in the same problem on both big sur and monterey.

big sur

admin@anitya iTerm2 % uname -a
Darwin anitya 20.6.0 Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 PDT 2021; root:xnu-7195.141.8~1/RELEASE_X86_64 x86_64
admin@anitya iTerm2 % sw_vers
ProductName:    macOS
ProductVersion: 11.6.1
BuildVersion:   20G224
admin@anitya iTerm2 % xcodebuild -version
Xcode 13.1
Build version 13A1030d
admin@dukkha iTerm2 % port -v
MacPorts 2.7.99

monterey

admin@dukkha iTerm2 % cp main.log /Volumes/SharedFolders/iCloud/tmp/iTerm2-monterey-main.log
admin@dukkha iTerm2 % uname -a
Darwin dukkha 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64 i386 Parallels17,1 Darwin
admin@dukkha iTerm2 % sw_vers
ProductName:    macOS
ProductVersion: 12.0.1
BuildVersion:   21A559
admin@dukkha iTerm2 % xcodebuild -version
Xcode 13.1
Build version 13A1030d
admin@anitya iTerm2 % port -v
MacPorts 2.7.1

both main.log attached. -- ferdy

Changed 2 years ago by ferdy (Giuseppe `ferdy` Miceli)

Attachment: iTerm2-bigsur-main.log.gz added

iTerm2 @3.4.12 failing on Big Sur main.log

Changed 2 years ago by ferdy (Giuseppe `ferdy` Miceli)

Attachment: iTerm2-monterey-main.log.gz added

iTerm2 @3.4.12 failing on Monterey main.log

comment:6 in reply to:  2 Changed 2 years ago by vhalkola

Replying to markemer:

This is strange, I've never seen this before. Can you tell me your macOS, Xcode, and the version of iTerm you're trying to install. Also if you can attach more of the build log, that would be helpful.

iTerm 3.4.13 on macOS 10.14.6 with Xcode 11.3.1. The whole build log is available here: https://users.aalto.fi/~vhalkola/log.txt

Last edited 2 years ago by vhalkola (previous) (diff)

comment:7 Changed 2 years ago by dershow

Cc: dershow added

comment:8 Changed 2 years ago by dershow

I'm seeing the same issue trying to upgrade 3.4.13_0 to 3.4.14_0 (MacOS 11.6.1)

comment:9 in reply to:  8 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

Replying to texas-swift:

I'm seeing the same problem on my 2018 Mac mini with Mojave 10.14.6. Attaching my full build log.

Replying to vhalkola:

Replying to markemer:

This is strange, I've never seen this before. Can you tell me your macOS, Xcode, and the version of iTerm you're trying to install. Also if you can attach more of the build log, that would be helpful.

iTerm 3.4.13 on macOS 10.14.6 with Xcode 11.3.1. The whole build log is available here: https://users.aalto.fi/~vhalkola/log.txt

Replying to dershow:

I'm seeing the same issue trying to upgrade 3.4.13_0 to 3.4.14_0 (MacOS 11.6.1)

error: property 'safeAreaInsets' not found on object of type 'iTermRootTerminalView *'

Duplicate of #63824.

Note: See TracTickets for help on using tickets.