[MacPorts] #69674: error: unknown type name 'NSUInteger' :info:build FOUNDATION_EXPORT const char *NSGetSizeAndAlignment(const char *typePtr, NSUInteger * _Nullable sizep, NSUInteger * _Nullable alignp);

MacPorts noreply at macports.org
Fri Apr 5 02:03:06 UTC 2024


#69674: error: unknown type name 'NSUInteger' :info:build FOUNDATION_EXPORT const
char *NSGetSizeAndAlignment(const char *typePtr, NSUInteger * _Nullable
sizep, NSUInteger * _Nullable alignp);
--------------------+--------------------
 Reporter:  dbl001  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.9.3
 Keywords:          |       Port:  R
--------------------+--------------------
 Errors build 'R' on MacOS Sonoma 14.4.1
 {{{
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:408:13:
 note: 'CFURLCreateStringByAddingPercentEscapes' has been explicitly marked
 deprecated here
 :info:build CFStringRef
 CFURLCreateStringByAddingPercentEscapes(CFAllocatorRef allocator,
 CFStringRef originalString, CFStringRef charactersToLeaveUnescaped,
 CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding)
 API_DEPRECATED("Use [NSString
 stringByAddingPercentEncodingWithAllowedCharacters:] instead, which always
 uses the recommended UTF-8 encoding, and which encodes for a specific URL
 component or subcomponent (since each URL component or subcomponent has
 different rules for what characters are valid).", macos(10.0,10.11),
 ios(2.0,9.0), watchos(2.0,2.0), tvos(9.0,9.0));
 :info:build             ^
 :info:build make[5]: *** [qdPDF.o] Error 1
 :info:build make[5]: *** Waiting for unfinished jobs....
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:649:17:
 error: unknown type name 'NSInteger'
 :info:build typedef NS_ENUM(NSInteger, NSQualityOfService) {
 :info:build                 ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:649:17:
 error: unknown type name 'NSInteger'
 :info:build devQuartz.c:2020:5: warning: 'CGContextShowGlyphsWithAdvances'
 is deprecated: first deprecated in macOS 10.9 - No longer supported
 [-Wdeprecated-declarations]
 :info:build     CGContextShowGlyphsWithAdvances(ctx,glyphs, g_adv, len);
 :info:build     ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:1083:16:
 note: 'CGContextShowGlyphsWithAdvances' has been explicitly marked
 deprecated here
 :info:build CG_EXTERN void CGContextShowGlyphsWithAdvances(CGContextRef
 cg_nullable c,
 :info:build                ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:657:14:
 error: unknown type name 'NSInteger'
 :info:build static const NSInteger NSNotFound = NSIntegerMax;
 :info:build              ^
 :info:build qdBitmap.c:91:13: error: use of undeclared identifier
 'PasteboardRef'
 :info:build             PasteboardRef pb = NULL;
 :info:build             ^
 :info:build qdBitmap.c:92:16: warning: call to undeclared function
 'PasteboardCreate'; ISO C99 and later do not support implicit function
 declarations [-Wimplicit-function-declaration]
 :info:build             if(PasteboardCreate(kPasteboardClipboard, &pb) ==
 noErr) {
 :info:build                ^
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 :info:build qdBitmap.c:92:33: error: use of undeclared identifier
 'kPasteboardClipboard'
 :info:build             if(PasteboardCreate(kPasteboardClipboard, &pb) ==
 noErr) {
 :info:build                                 ^
 :info:build qdBitmap.c:92:56: error: use of undeclared identifier 'pb'
 :info:build             if(PasteboardCreate(kPasteboardClipboard, &pb) ==
 noErr) {
 :info:build                                                        ^
 :info:build qdBitmap.c:93:17: warning: call to undeclared function
 'PasteboardClear'; ISO C99 and later do not support implicit function
 declarations [-Wimplicit-function-declaration]
 :info:build                 PasteboardClear(pb);
 :info:build                 ^
 :info:build qdBitmap.c:93:33: error: use of undeclared identifier 'pb'
 :info:build                 PasteboardClear(pb);
 :info:build                                 ^
 :info:build qdBitmap.c:94:17: warning: call to undeclared function
 'PasteboardSynchronize'; ISO C99 and later do not support implicit
 function declarations [-Wimplicit-function-declaration]
 :info:build                 PasteboardSynchronize(pb);
 :info:build                 ^
 :info:build qdBitmap.c:94:39: error: use of undeclared identifier 'pb'
 :info:build                 PasteboardSynchronize(pb);
 :info:build                                       ^
 :info:build qdBitmap.c:95:17: warning: call to undeclared function
 'PasteboardPutItemFlavor'; ISO C99 and later do not support implicit
 function declarations [-Wimplicit-function-declaration]
 :info:build                 PasteboardPutItemFlavor(pb, (PasteboardItemID)
 1, type, data, 0);
 :info:build                 ^
 :info:build qdBitmap.c:95:46: error: use of undeclared identifier
 'PasteboardItemID'
 :info:build                 PasteboardPutItemFlavor(pb, (PasteboardItemID)
 1, type, data, 0);
 :info:build                                              ^
 :info:build qdBitmap.c:95:41: error: use of undeclared identifier 'pb'
 :info:build                 PasteboardPutItemFlavor(pb, (PasteboardItemID)
 1, type, data, 0);
 :info:build                                         ^
 :info:build 5 warnings and 11 errors generated.
 :info:build make[5]: *** [qdBitmap.o] Error 1
 :info:build 1 warning and 4 errors generated.
 :info:build make[5]: *** [devQuartz.o] Error 1
 :info:build 20 errors generated.
 :info:build make[5]: *** [qdCocoa.o] Error 1
 :info:build make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.3.3/src/library/grDevices/src'
 :info:build make[4]: *** [mksrc] Error 1
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.3.3/src/library/grDevices'
 :info:build make[3]: *** [all] Error 2
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.3.3/src/library/grDevices'
 :info:build make[2]: *** [R] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.3.3/src/library'
 :info:build make[1]: *** [R] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.3.3/src'
 :info:build make: *** [R] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.3.3'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.3.3"
 && /usr/bin/make -j16 -w all
 :info:build Exit code: 2
 :error:build Failed to build R: command execution failed
 }}}

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


More information about the macports-tickets mailing list