Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#53130 closed defect (duplicate)

iTerm2 3.0.13 build failure

Reported by: EJFielding (Eric Fielding) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: yosemite Cc: markemer (Mark Anderson)
Port: iTerm2

Description

I was doing a "port upgrade outdated" and the build of iTerm2-3.0.13_0 failed on my OS X 10.10.5 system.

This looks like the relevant part of the "main.log" file:

:info:build CompileC build/iTerm2.build/Deployment/iTerm2Shared.build/Objects-normal/x86_64/PTYWindow.o sources/PTYWindow.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
:info:build     cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13
:info:build     export LANG=en_US.US-ASCII
:info:build     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/km/0cb0wxfj7pj82g5swgrp0mhw0000gq/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/iTerm2.build/Deployment/iTerm2Shared.build/iTerm2Shared-generated-files.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/iTerm2.build/Deployment/iTerm2Shared.build/iTerm2Shared-own-target-headers.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/iTerm2.build/Deployment/iTerm2Shared.build/iTerm2Shared-all-target-headers.hmap -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/iTerm2.build/Deployment/iTerm2Shared.build/iTerm2Shared-project-headers.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/iTerm2.build/Deployment/iTerm2Shared.build/DerivedSources/x86_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/iTerm2.build/Deployment/iTerm2Shared.build/DerivedSources -Wall -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/Deployment -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/ColorPicker -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/ThirdParty -include /var/folders/km/0cb0wxfj7pj82g5swgrp0mhw0000gq/C/com.apple.DeveloperTools/7.0-7A220/Xcode/SharedPrecompiledHeaders/iTerm2-axpumeaplfewijcmsdufnqkbhjtm/iTerm2.pch -MMD -MT dependencies -MF /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/iTerm2.build/Deployment/iTerm2Shared.build/Objects-normal/x86_64/PTYWindow.d --serialize-diagnostics /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/iTerm2.build/Deployment/iTerm2Shared.build/Objects-normal/x86_64/PTYWindow.dia -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/PTYWindow.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/build/iTerm2.build/Deployment/iTerm2Shared.build/Objects-normal/x86_64/PTYWindow.o
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/PTYWindow.m:65:68: error: expected a type
:info:build - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag {
:info:build                                                                    ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/PTYWindow.m:74:38: error: expected a type
:info:build                           styleMask:(NSWindowStyleMask)aStyle
:info:build                                      ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/PTYWindow.m:66:61: warning: incompatible pointer to integer conversion sending 'id' to parameter of type 'NSUInteger' (aka 'unsigned long') [-Wint-conversion]
:info:build     self = [super initWithContentRect:contentRect styleMask:aStyle backing:bufferingType defer:flag];
:info:build                                                             ^~~~~~
:info:build In module 'AppKit' imported from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/ProfileTableView.h:8:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:279:79: note: passing argument to parameter 'aStyle' here
:info:build - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag;
:info:build                                                                               ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/PTYWindow.m:79:39: warning: incompatible pointer to integer conversion sending 'id' to parameter of type 'NSUInteger' (aka 'unsigned long') [-Wint-conversion]
:info:build                             styleMask:aStyle
:info:build                                       ^~~~~~
:info:build In module 'AppKit' imported from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/ProfileTableView.h:8:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:280:79: note: passing argument to parameter 'aStyle' here
:info:build - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
:info:build                                                                               ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/PTYWindow.m:65:86: warning: conflicting parameter types in implementation of 'initWithContentRect:styleMask:backing:defer:': 'NSUInteger' (aka 'unsigned long') vs 'id' [-Wmismatched-parameter-types]
:info:build - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag {
:info:build                                                                                      ^
:info:build In module 'AppKit' imported from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/ProfileTableView.h:8:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:279:79: note: previous definition is here
:info:build - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag;
:info:build                                                                    ~~~~~~~~~~ ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/PTYWindow.m:74:56: warning: conflicting parameter types in implementation of 'initWithContentRect:styleMask:backing:defer:screen:': 'NSUInteger' (aka 'unsigned long') vs 'id' [-Wmismatched-parameter-types]
:info:build                           styleMask:(NSWindowStyleMask)aStyle
:info:build                                                        ^
:info:build In module 'AppKit' imported from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.0.13/sources/ProfileTableView.h:8:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:280:79: note: previous definition is here
:info:build - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
:info:build                                                                    ~~~~~~~~~~ ^
:info:build 4 warnings and 2 errors generated.

I also attach the full log file.

Attachments (1)

main.log (462.4 KB) - added by EJFielding (Eric Fielding) 8 years ago.
main.log file

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by EJFielding (Eric Fielding)

Attachment: main.log added

main.log file

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

Cc: markemer added
Keywords: yosemite added
Port: iTerm2 added
Resolution: duplicate
Status: newclosed

Duplicate of #51983. The current version of iTerm2 requires OS X 10.11 or later to build.

comment:2 Changed 8 years ago by EJFielding (Eric Fielding)

Thanks for the fast response. Sorry I did not find the other ticket when I searched on iTerm2.

Maybe the iTerm2 port could check the OS X version before attempting the build?

Note: See TracTickets for help on using tickets.