[MacPorts] #62164: qemu @5.2.0: build failure with +cocoa

MacPorts noreply at macports.org
Tue Sep 14 08:06:16 UTC 2021


#62164: qemu @5.2.0: build failure with +cocoa
---------------------+-----------------------
  Reporter:  Ionic   |      Owner:  raimue
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  legacy-os
      Port:  qemu    |
---------------------+-----------------------

Comment (by jmroot):

 Failing with a slightly different error as of 6.1:
 {{{
 ../qemu-6.1.0/ui/cocoa.m:1766:52: error: unknown type name
 'NSPasteboardTypeOwner'; did you mean 'NSPasteboardType'?
 @interface QemuCocoaPasteboardTypeOwner : NSObject<NSPasteboardTypeOwner>
                                                    ^~~~~~~~~~~~~~~~~~~~~
                                                    NSPasteboardType
 /System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:22:20:
 note: 'NSPasteboardType' declared here
 typedef NSString * NSPasteboardType NS_EXTENSIBLE_STRING_ENUM;
                    ^
 ../qemu-6.1.0/ui/cocoa.m:1766:43: error: type arguments cannot be applied
 to non-parameterized class 'NSObject'
 @interface QemuCocoaPasteboardTypeOwner : NSObject<NSPasteboardTypeOwner>
                                           ^       ~~~~~~~~~~~~~~~~~~~~~~~
 2 errors generated.
 }}}
 https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/122976/steps
 /install-port/logs/stdio

 I guess at minimum, +cocoa should not be on by default on <= 10.13, if it
 can't be fixed?

-- 
Ticket URL: <https://trac.macports.org/ticket/62164#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list