Opened 6 years ago

Closed 6 years ago

#57131 closed defect (duplicate)

MacVim @8.1.snapshot151_0 +huge +python36: unknown type name 'NSTouchBarItem'

Reported by: soulne4ny (Alexey Luchko) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc:
Port: MacVim

Description

--->  Building MacVim
Error: Failed to build MacVim: command execution failed
:debug:sysinfo OS X 10.11 (darwin/15.6.0) arch i386
:debug:sysinfo MacPorts 2.5.3
:debug:sysinfo Xcode 7.2
:debug:sysinfo SDK 10.11
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.11
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMTextView.m:26:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.h:22:7: error: cannot find protocol declaration for 'NSTouchBarDelegate'; did you mean 'NSToolbarDelegate'?
:info:build     , NSTouchBarDelegate
:info:build       ^~~~~~~~~~~~~~~~~~
:info:build       NSToolbarDelegate
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMTextView.m:21:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMAppController.h:11:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:154:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTabViewController.h:12:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSToolbar.h:156:11: note: 'NSToolbarDelegate' declared here
:info:build @protocol NSToolbarDelegate <NSObject>
:info:build           ^
:info:build CompileC build/MacVim.build/Release/MacVim.build/Objects-normal/x86_64/MMVimController.o MMVimController.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_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim
: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 -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/build/MacVim.build/Release/MacVim.build/MacVim.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/build/Release/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/build/MacVim.build/Release/MacVim.build/DerivedSources/x86_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/build/MacVim.build/Release/MacVim.build/DerivedSources -F/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/build/Release -F/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim -MMD -MT dependencies -MF /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/build/MacVim.build/Release/MacVim.build/Objects-normal/x86_64/MMVimController.d --serialize-diagnostics /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/build/MacVim.build/Release/MacVim.build/Objects-normal/x86_64/MMVimController.dia -c /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/build/MacVim.build/Release/MacVim.build/Objects-normal/x86_64/MMVimController.o
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:32:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.h:22:7: error: cannot find protocol declaration for 'NSTouchBarDelegate'; did you mean 'NSToolbarDelegate'?
:info:build     , NSTouchBarDelegate
:info:build       ^~~~~~~~~~~~~~~~~~
:info:build       NSToolbarDelegate
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:29:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMAppController.h:11:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:154:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTabViewController.h:12:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSToolbar.h:156:11: note: 'NSToolbarDelegate' declared here
:info:build @protocol NSToolbarDelegate <NSObject>
:info:build           ^
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:32:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.h:37:5: error: unknown type name 'NSTouchBar'; did you mean 'NSTouch'?
:info:build     NSTouchBar          *touchbar;
:info:build     ^~~~~~~~~~
:info:build     NSTouch
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:29:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMAppController.h:11:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:11:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:8:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:8:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:8:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTouch.h:31:12: note: 'NSTouch' declared here
:info:build @interface NSTouch : NSObject <NSCopying> {
:info:build            ^
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:32:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.h:80:4: error: expected a type
:info:build - (NSTouchBar *)makeTouchBar;
:info:build    ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:508:4: error: expected a type
:info:build - (NSTouchBar *)makeTouchBar
:info:build    ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:537:13: error: expected ')'
:info:build - (nullable NSTouchBarItem *)touchBar:(NSTouchBar *)touchBar makeItemForIdentifier:(NSTouchBarItemIdentifier)itemId
:info:build             ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:537:3: note: to match this '('
:info:build - (nullable NSTouchBarItem *)touchBar:(NSTouchBar *)touchBar makeItemForIdentifier:(NSTouchBarItemIdentifier)itemId
:info:build   ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:537:40: error: expected a type
:info:build - (nullable NSTouchBarItem *)touchBar:(NSTouchBar *)touchBar makeItemForIdentifier:(NSTouchBarItemIdentifier)itemId
:info:build                                        ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:537:85: error: expected a type
:info:build - (nullable NSTouchBarItem *)touchBar:(NSTouchBar *)touchBar makeItemForIdentifier:(NSTouchBarItemIdentifier)itemId
:info:build                                                                                     ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:510:18: error: unknown receiver 'NSTouchBar'; did you mean 'NSTouch'?
:info:build     touchbar = [[NSTouchBar alloc] init];
:info:build                  ^~~~~~~~~~
:info:build                  NSTouch
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:29:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMAppController.h:11:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:11:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:8:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:8:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:8:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTouch.h:31:12: note: 'NSTouch' declared here
:info:build @interface NSTouch : NSObject <NSCopying> {
:info:build            ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:511:14: error: property 'delegate' not found on object of type 'NSTouch *'
:info:build     touchbar.delegate = self;
:info:build              ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:520:29: error: use of undeclared identifier 'NSTouchBarItemIdentifierFixedSpaceSmall'
:info:build                     label = NSTouchBarItemIdentifierFixedSpaceSmall;
:info:build                             ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:522:29: error: use of undeclared identifier 'NSTouchBarItemIdentifierFlexibleSpace'
:info:build                     label = NSTouchBarItemIdentifierFlexibleSpace;
:info:build                             ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:524:29: error: use of undeclared identifier 'NSTouchBarItemIdentifierFixedSpaceLarge'
:info:build                     label = NSTouchBarItemIdentifierFixedSpaceLarge;
:info:build                             ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:531:42: error: use of undeclared identifier 'NSTouchBarItemIdentifierOtherItemsProxy'
:info:build     [filteredTouchbarItemOrder addObject:NSTouchBarItemIdentifierOtherItemsProxy];
:info:build                                          ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:533:14: error: property 'defaultItemIdentifiers' not found on object of type 'NSTouch *'
:info:build     touchbar.defaultItemIdentifiers = filteredTouchbarItemOrder;
:info:build              ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:539:5: error: unknown type name 'NSTouchBarItem'; did you mean 'NSToolbarItem'?
:info:build     NSTouchBarItem *item = [touchbarItemDict objectForKey:itemId];
:info:build     ^~~~~~~~~~~~~~
:info:build     NSToolbarItem
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMVimController.m:29:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_editors_MacVim/MacVim/work/macvim-151/src/MacVim/MMAppController.h:11:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
:info:build In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:178:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSToolbarItem.h:17:12: note: 'NSToolbarItem' declared here
:info:build @interface NSToolbarItem : NSObject <NSCopying, NSValidatedUserInterfaceItem> {
:info:build            ^
:info:build ** BUILD FAILED **

Attachments (1)

main.log (584.7 KB) - added by soulne4ny (Alexey Luchko) 6 years ago.
build log

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by soulne4ny (Alexey Luchko)

Attachment: main.log added

build log

comment:1 Changed 6 years ago by raimue (Rainer Müller)

Cc: raimue@… removed
Owner: set to raimue
Status: newassigned

comment:2 Changed 6 years ago by raimue (Rainer Müller)

Resolution: duplicate
Status: assignedclosed

Duplicate of #57091.

Note: See TracTickets for help on using tickets.