[MacPorts] #53130: iTerm2 3.0.13 build failure

MacPorts noreply at macports.org
Wed Dec 21 17:21:19 CET 2016


#53130: iTerm2 3.0.13 build failure
------------------------+-----------------
 Reporter:  EJFielding  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:
------------------------+-----------------
 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.

--
Ticket URL: <https://trac.macports.org/ticket/53130>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list