[MacPorts] #69437: R @4.3.3 is broken on < 10.10: error: property 'CGContext' not found on object of type 'NSGraphicsContext *'

MacPorts noreply at macports.org
Sun Mar 3 05:57:06 UTC 2024


#69437: R @4.3.3 is broken on < 10.10: error: property 'CGContext' not found on
object of type 'NSGraphicsContext *'
-------------------------------------------------+-------------------------
 Reporter:  barracuda156                         |      Owner:  (none)
     Type:  defect                               |     Status:  new
 Priority:  Normal                               |  Milestone:
Component:  ports                                |    Version:  2.9.1
 Keywords:  mavericks, mountainlion, lion,       |       Port:  R
  snowleopard                                    |
-------------------------------------------------+-------------------------
 {{{
 qdCocoa.m:102:23: warning: sending 'QuartzCocoaView *' to parameter of
 incompatible type 'id<NSWindowDelegate>'
         [window setDelegate: view];
                              ^~~~
 /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:284:44:
 note: passing argument to parameter 'anObject' here
 - (void)setDelegate:(id <NSWindowDelegate>)anObject;
                                            ^
 qdCocoa.m:339:59: error: property 'CGContext' not found on object of type
 'NSGraphicsContext *'
     CGContextRef ctx = [NSGraphicsContext currentContext].CGContext;
                                                           ^
 qdCocoa.m:349:2: error: use of undeclared identifier
 'NSOperatingSystemVersion'; did you mean 'kNSLMinSystemVersion'?
         NSOperatingSystemVersion osver = [[NSProcessInfo processInfo]
 operatingSystemVersion];
         ^~~~~~~~~~~~~~~~~~~~~~~~
         kNSLMinSystemVersion
 /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/NSLCore.h:38:3:
 note: 'kNSLMinSystemVersion' declared here
   kNSLMinSystemVersion          = 0x0900, /* equivalent to 9.0*/
   ^
 qdCocoa.m:349:26: error: expected ';' after expression
         NSOperatingSystemVersion osver = [[NSProcessInfo processInfo]
 operatingSystemVersion];
                                 ^
                                 ;
 qdCocoa.m:349:2: warning: expression result unused [-Wunused-value]
         NSOperatingSystemVersion osver = [[NSProcessInfo processInfo]
 operatingSystemVersion];
         ^~~~~~~~~~~~~~~~~~~~~~~~
 qdCocoa.m:349:27: error: use of undeclared identifier 'osver'
         NSOperatingSystemVersion osver = [[NSProcessInfo processInfo]
 operatingSystemVersion];
                                  ^
 qdCocoa.m:349:64: warning: instance method '-operatingSystemVersion' not
 found (return type defaults to 'id') [-Wobjc-method-access]
         NSOperatingSystemVersion osver = [[NSProcessInfo processInfo]
 operatingSystemVersion];
 ^~~~~~~~~~~~~~~~~~~~~~
 /System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:20:12:
 note: receiver is instance of class declared here
 @interface NSProcessInfo : NSObject {
            ^
 qdCocoa.m:350:16: error: use of undeclared identifier 'osver'
         sonoma_bug = (osver.majorVersion == 14 && osver.minorVersion > 1)
 ? 1 : 0;
                       ^
 qdCocoa.m:350:44: error: use of undeclared identifier 'osver'
         sonoma_bug = (osver.majorVersion == 14 && osver.minorVersion > 1)
 ? 1 : 0;
                                                   ^
 3 warnings and 6 errors generated.
 make[5]: *** [qdCocoa.o] Error 1
 }}}

 https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/191710/steps
 /install-port/logs/stdio

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


More information about the macports-tickets mailing list